Windows Thread, Folder Redirection Favorites Problem Creating %username% Folder in Technical; I have tried pushing the ie favorites through and ADM, and a script. I even manually edited the reg files. ...
10th July 2009, 02:30 PM #1
- Rep Power
Folder Redirection Favorites Problem Creating %username% Folder
I have tried pushing the ie favorites through and ADM, and a script. I even manually edited the reg files. But when the user logs in, it creates a folder called %username% instead of the users Name.
Here is the expample script I am using. That all works and it does set the variables.
Dim RegLocate, objShell
Set objShell = WScript.CreateObject("WScript.Shell")
RegLocate = "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Curre ntVersion\Explorer\Shell Folders\Favorites"
RegLocate = "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Curre ntVersion\Explorer\User Shell Folders\Favorites"
Thanks for any help
10th July 2009, 02:41 PM #2
Here's an ADM file that we use to redirect a users Favorites folder to a new folder under their My Documents Folder.
If works for us....
CATEGORY "Student Modifications"
POLICY "Mandatory Profile Favorites Location"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer \User Shell Folders"
PART "Recommended location is \\server\%username%\My Documents\Favorites" TEXT
PART "Location of Favorites folder?" EDITTEXT REQUIRED EXPANDABLETEXT
Hope this helps
10th July 2009, 03:08 PM #3
If the above doesn't work then try and expand the environment variable using the correction function then concatenate that to your string.
10th July 2009, 03:11 PM #4
- Rep Power
can you elaberate more on the correction function,
I tried that adm as well with the same resultes.
By PEO in forum Windows Server 2008
Last Post: 29th April 2009, 11:53 AM
By imiddleton25 in forum Windows
Last Post: 9th February 2009, 10:09 AM
Last Post: 7th February 2008, 04:51 PM
By FN-GM in forum Windows
Last Post: 14th August 2007, 07:03 PM
By ArchersIT in forum Windows
Last Post: 24th July 2007, 09:02 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)