Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: danfulton on November 08, 2007, 01:28:51 PM
-
Hi,
I am trying to map the My Documents folder on XP Pro machines to a users home drive on the network, but am getting very confused looking at the info I've found ...
I've got the smeserver-loginscript-0.2-8.noarch.rpm contrib to change the netlogon.bat script, and map users shares happily, but can not figure out how to map the 'My Documents' folder.
I think I need to apply the following registry patch,
[Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"AppData"="H:\.windows_settings\Application Data"
"Desktop"="H:\.windows_settings\Desktop"
"Programs"="H:\.windows_settings\Start Menu\Programs"
"Recent"="H:\.windows_settings\Recent"
"Start Menu"="H:\.windows_settings\Start Menu"
"Startup"="H:\.windows_settings\Start Menu\Programs\Startup"
"My Pictures"="H:\My Documents\My Pictures"
"Personal"="H:\My Documents"
But I'm not sure how to do it, for safety I think it should be installed everytime a user logs in, but have no idea how to achieve this :(
Any help much appreciated.
Dan
-
danfulton
Assuming you already have mapped users home folders to H: drive.
In Windows, right click My Documents/Properties then
enter H:\ in the Target field, then click Move and then OK.
-
That will work, but I'm after a way of doing it automatically, hopefully via a login script.
Dan
-
You could create a small bat file that runs via the login script - use a call command. The batch file can apply a reg key silently - use the /s switch.
For example:
In login script:
call \\servername\sharename\batchfile.bat
In batch file batchfile.bat:
regedit /s \\servername\sharename\printer.reg
Cheers,
Shelley
-
shell,
That looks like a possible solution, I'll try it out, and let you all know the outcome.
Cheers
Dan
-
You can always use poledit and http://open-sesame.com.au/redirect.zip (http://open-sesame.com.au/redirect.zip).