Question Locked

Login Script - Group Policy - Map %USERNAME% to Folder

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a situation I can't figure out the best way to handle. Running WinXP user machines and Linux server. Using NTConfig policy to manage default settings for logging into our domain. Each User has My Documents folder located on Server, and want most of workstations to automatically map the My Docs Folder by default to the Network Location, however I can't use the NTConfig.POL because it doesn't allow you do do this and at the same time allow some users to not automatically map that folder. So Is there anyway I can create a login script on the local machine to Automatically map the %USERNAME%\My Documents folder to my server? And have it work if users sign it at different locations automatically? HELP.
Thanks
Drew

2 replies

by sajchurchey

Since Group Policy is just an easier interface to the registry, it's possible to create your own group policies. You might look into implementing this for the users and groups you need to have set up so that you can redirect "My Documents"

There are two registry keys involved in this particular case:

\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal

and

\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Personal

I've not tried to redirect folders using group policy so I'm not certain that this will behave as expected. The only other thing I know of is editing these keys in the registry hives manually.

Let me know if you cannot find information on creating your own group policies.

This discussion is closed to new replies.