This is the relevant bit of a login script (using Kixtart). It relies on
robocopy being available on the netlogon share - put it somewhere else
if you prefer - and will copy any existing favourites from C: if they're
there.

Steve

;move favorites to drive n:
$favloc="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Exp
lorer\User Shell Folders"
$x=lcase(readvalue($favloc,"favorites"))
if $x<>"n:\favorites"
  $x=writevalue($favloc,"favorites","N:\favorites","REG_EXPAND_SZ")
  $x=$logonserver + "\netlogon\robocopy " +chr(34) + $userprofile +
"\favorites" +chr(34)+ " n:\favorites /e /move /log:" +chr(34)
+$userprofile + "\local settings\temp\fav.log" +chr(34)
  run $x
endif

-----Original Message-----
From: Holland Matthew BC GB [mailto:[EMAIL PROTECTED] 
Sent: 08 December 2003 14:01
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Favorite Folder Redirection



You could write a script or use a custom unmanaged policy adm to change
the registry setting, you would have to use a script if you wanted to
copy the current folders contents to the new location (basically write
your own folder redirection!).

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders [Favorites]

Cheers, Matty

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 08 December 2003 13:28
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Favorite Folder Redirection

Hi.

Could anyone tell me how to redirect each user to their own favorites.
The favorites is on H:\Favourites.

Can this be done with Group Policy.

Thanks

Ste
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to