Jan 202008
This tutorial is step by step instructions on how to redirect a user’s “Favorites” folder to a location on the network by using logon script.
Open notepad and copy the following code Click File>Save As and change the filename to SetFavorites.vbs
You may change the “t:\Favorites” to what you like.Now you have to configure this Logon Script in Group Policy to do the job.
—code start—
Option Explicit
Dim RegLocate, objShell
Set objShell = WScript.CreateObject(“WScript.Shell”)
RegLocate = “HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites”
objShell.RegWrite RegLocate,”t:\Favorites”,”REG_SZ”
RegLocate = “HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Favorites”
objShell.RegWrite RegLocate,”t:\Favorites”,”REG_SZ”
—code end —
Incoming search terms:
- favorites redirection 2003 (2)
- vbscript folder redirection (2)
- how to redirect favorites in windows 7 (2)
- apply favorites with logonscript (1)
- redirect favorites windows xp windows server 2003 (1)
- replare favorites at logon (1)
- script for favorites redirection (1)
- script to copy user favorites (1)
- script to redirect favorites (1)
- redirect favorites server 2003 (1)