<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to redirect users&#8217; favorites folder using VBScript</title>
	<atom:link href="http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php</link>
	<description>I search, I bookmark, I write, You learn.</description>
	<lastBuildDate>Mon, 05 Jul 2010 13:59:51 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PMABKE</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-459</link>
		<dc:creator>PMABKE</dc:creator>
		<pubDate>Thu, 09 Apr 2009 15:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-459</guid>
		<description>What about a laptop user...The redirected folders will not be available when they are off the network.  Is this were Offline files comes in to play?</description>
		<content:encoded><![CDATA[<p>What about a laptop user&#8230;The redirected folders will not be available when they are off the network.  Is this were Offline files comes in to play?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hstagner</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-305</link>
		<dc:creator>hstagner</dc:creator>
		<pubDate>Wed, 02 Jul 2008 18:00:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-305</guid>
		<description>Hello wnaquin,

You did not do anything wrong. I left out an important note. You actually have to manually copy the contents of existing users&#039; Favorites folders into the new location (or you could script it with a simple batch or cmd file at logon). Something like the following would work:

@echo off

REM # The below line creates the directory structure.

xcopy &quot;%userprofile%\favorites&quot; &quot;\\Server\share\%username%\favorites&quot; /i /t /q /y

REM # The below line copies the files.

xcopy &quot;%userprofile%\favorites&quot; &quot;\\Server\share\%username%\favorites&quot; /i /q /y

I hope this helps. Thanks for reading! I will update the post with this information up top. If you would like to stay updated on my blog posts, consider subscribing to my &lt;a href=&quot;http://www.searchmarked.com/feed&quot; rel=&quot;nofollow&quot;&gt;RSS feed&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hello wnaquin,</p>
<p>You did not do anything wrong. I left out an important note. You actually have to manually copy the contents of existing users&#8217; Favorites folders into the new location (or you could script it with a simple batch or cmd file at logon). Something like the following would work:</p>
<p>@echo off</p>
<p>REM # The below line creates the directory structure.</p>
<p>xcopy &#8220;%userprofile%\favorites&#8221; &#8220;\\Server\share\%username%\favorites&#8221; /i /t /q /y</p>
<p>REM # The below line copies the files.</p>
<p>xcopy &#8220;%userprofile%\favorites&#8221; &#8220;\\Server\share\%username%\favorites&#8221; /i /q /y</p>
<p>I hope this helps. Thanks for reading! I will update the post with this information up top. If you would like to stay updated on my blog posts, consider subscribing to my <a href="http://www.searchmarked.com/feed" rel="nofollow" >RSS feed</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wnaquin</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-304</link>
		<dc:creator>wnaquin</dc:creator>
		<pubDate>Wed, 02 Jul 2008 16:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-304</guid>
		<description>Thanks for the help. I have the script up an running. I tested it on a small user group and their favorites are no longer showing up in ie and they did not redirect the their home folfer. Here is what I pasted in the RedirectionLocation:

strFavoriteRedirectLocation = “\\NameofServer\Users\%username%\Favorites”

Did I do something wrong?</description>
		<content:encoded><![CDATA[<p>Thanks for the help. I have the script up an running. I tested it on a small user group and their favorites are no longer showing up in ie and they did not redirect the their home folfer. Here is what I pasted in the RedirectionLocation:</p>
<p>strFavoriteRedirectLocation = “\\NameofServer\Users\%username%\Favorites”</p>
<p>Did I do something wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hstagner</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-296</link>
		<dc:creator>hstagner</dc:creator>
		<pubDate>Wed, 02 Jul 2008 03:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-296</guid>
		<description>Hello wnaquin,

The problem you are experiencing is the copy/paste from the website. Take a look at the apostrophe in the beginning of line 15. It translates as a tick instead of an apostrophe when you do the copy/paste. Just change all those ticks into apostrophe&#039;s and you should be good to go.

Thank you for reading! If you want to stay updated on the posts at this site, consider subscribing to the &lt;a href=&quot;http://www.searchmarked.com/feed&quot; rel=&quot;nofollow&quot;&gt;RSS feed&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Hello wnaquin,</p>
<p>The problem you are experiencing is the copy/paste from the website. Take a look at the apostrophe in the beginning of line 15. It translates as a tick instead of an apostrophe when you do the copy/paste. Just change all those ticks into apostrophe&#8217;s and you should be good to go.</p>
<p>Thank you for reading! If you want to stay updated on the posts at this site, consider subscribing to the <a href="http://www.searchmarked.com/feed" rel="nofollow" >RSS feed</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wnaquin</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-295</link>
		<dc:creator>wnaquin</dc:creator>
		<pubDate>Tue, 01 Jul 2008 22:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-295</guid>
		<description>I keep getting an error (Invalid Character) when I run this script which is coming from line 15, character 1.</description>
		<content:encoded><![CDATA[<p>I keep getting an error (Invalid Character) when I run this script which is coming from line 15, character 1.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hstagner</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-279</link>
		<dc:creator>hstagner</dc:creator>
		<pubDate>Fri, 27 Jun 2008 05:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-279</guid>
		<description>Hello Anil,

Creating the folder ahead of time with the appropriate permissions would be your best bet. Also, if the script is running as a log-on script you should be good to go as the registry change will happen when the user logs on.</description>
		<content:encoded><![CDATA[<p>Hello Anil,</p>
<p>Creating the folder ahead of time with the appropriate permissions would be your best bet. Also, if the script is running as a log-on script you should be good to go as the registry change will happen when the user logs on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anil</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-277</link>
		<dc:creator>anil</dc:creator>
		<pubDate>Wed, 25 Jun 2008 20:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-277</guid>
		<description>Just wonder do you advise me how to configure Folders for New users. I mean if user  folders exists, simply I can make registry changes using those folders. But new users logs in with a default profile , then how should I approach. One way I can think is pre create the folder and do the registry changes, is there any other way?</description>
		<content:encoded><![CDATA[<p>Just wonder do you advise me how to configure Folders for New users. I mean if user  folders exists, simply I can make registry changes using those folders. But new users logs in with a default profile , then how should I approach. One way I can think is pre create the folder and do the registry changes, is there any other way?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anil</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-276</link>
		<dc:creator>anil</dc:creator>
		<pubDate>Wed, 25 Jun 2008 17:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-276</guid>
		<description>Nice script. But just wonder when I create a fresh user with the option of system creates the profile , then profile folder is empty until the user logs off. So in those conditions writing a registry path which is invalid until the user logs off, so this script behaves?</description>
		<content:encoded><![CDATA[<p>Nice script. But just wonder when I create a fresh user with the option of system creates the profile , then profile folder is empty until the user logs off. So in those conditions writing a registry path which is invalid until the user logs off, so this script behaves?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hstagner</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-267</link>
		<dc:creator>hstagner</dc:creator>
		<pubDate>Thu, 05 Jun 2008 13:24:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-267</guid>
		<description>Hello Moses,

First, thank you for reading!

Are you using Active Directory? 

(1) If so then the roaming profile is assigned to the user account by specifying the url (e.g. \\server\share\profiles\%username%). I am not sure why you would want to map a drive for the roaming profile.

(2) You can redirect my documents to the server by Group Policy in active directory- If you are not using group policy then you can use the script above and replace references to &quot;Favorites&quot; with &quot;My Documents&quot;. Again, I am not sure why you need a drive mapping for this (it&#039;s done by URL and the user just accesses My Documents as normal).

(3) Just mapping a drive is easily accomplished in a .bat or .cmd file. The command would be:

net use L: \\server\share

Please let me know if you have any other questions.

Also, If you end up redirecting &quot;My Documents&quot;, &quot;Desktop&quot;, &quot;Application Data&quot; and &quot;Favorites&quot; then there really is no need for a roaming profile other than printer mapping which can be done via scripting.

Regards,

Harley Stagner</description>
		<content:encoded><![CDATA[<p>Hello Moses,</p>
<p>First, thank you for reading!</p>
<p>Are you using Active Directory? </p>
<p>(1) If so then the roaming profile is assigned to the user account by specifying the url (e.g. \\server\share\profiles\%username%). I am not sure why you would want to map a drive for the roaming profile.</p>
<p>(2) You can redirect my documents to the server by Group Policy in active directory- If you are not using group policy then you can use the script above and replace references to &#8220;Favorites&#8221; with &#8220;My Documents&#8221;. Again, I am not sure why you need a drive mapping for this (it&#8217;s done by URL and the user just accesses My Documents as normal).</p>
<p>(3) Just mapping a drive is easily accomplished in a .bat or .cmd file. The command would be:</p>
<p>net use L: \\server\share</p>
<p>Please let me know if you have any other questions.</p>
<p>Also, If you end up redirecting &#8220;My Documents&#8221;, &#8220;Desktop&#8221;, &#8220;Application Data&#8221; and &#8220;Favorites&#8221; then there really is no need for a roaming profile other than printer mapping which can be done via scripting.</p>
<p>Regards,</p>
<p>Harley Stagner</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moses Bwana</title>
		<link>http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php/comment-page-1#comment-266</link>
		<dc:creator>Moses Bwana</dc:creator>
		<pubDate>Thu, 05 Jun 2008 06:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.searchmarked.com/windows/vbscript-for-folder-redirection-on-windows.php#comment-266</guid>
		<description>I am trying to get a script that will enable me ;

1)	Create roaming profile mapped on say H: for all users with their names
2)	Redirecting the my documents folder to (server)H:
3)	Mapping network drivers say L: to a shared folder

Please help.

Thanks

Moses</description>
		<content:encoded><![CDATA[<p>I am trying to get a script that will enable me ;</p>
<p>1)	Create roaming profile mapped on say H: for all users with their names<br />
2)	Redirecting the my documents folder to (server)H:<br />
3)	Mapping network drivers say L: to a shared folder</p>
<p>Please help.</p>
<p>Thanks</p>
<p>Moses</p>
]]></content:encoded>
	</item>
</channel>
</rss>
