Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to Move My Documents Location 1

Status
Not open for further replies.

markstangroom

Technical User
Apr 25, 2001
96
GB
i have a system set up where the clients have roaming profiles and the default location for the "My Documents" folder is set to their home directory on the server.

the problem i am having is that whenever there is a glitch on the network or server, XP creates a "My Documents" folder in the profile and changes the default location back to the C:\ drive. The users don't notice and start saving documents to this folder instead.

is there a script i could run at logon to make sure when the profile loads it always sets "My Documents" to the H:\ drive?

thanks

Mark
 
Maybe this will help. It shows you how to redirect the path from a registry setting.. To get this to work in a login script , you would need to get the script to edit the registry. I used to use kixtart for doing that (in this case you would use the @userid function from the kxtart language)., but you could probably use any of them (scripting languages).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top