• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3453
  • Last Modified:

Login Script to Redirect My Documents

Currently i have all my users mapped to U:\ : (\\server\user\%username%) ( in AD )

I was hoping to add to my login script something that would automatically Change My Documents (from local C:) to the user drive which is U:\

Any help would be nice.

Please and Thank You.
1 Solution
In fact, a better approach is to set this in AD's Group Policy.

Look under "User configuration"

Check this out, will do exactly what you need.

I used it many times

So you see that it is per machine the way I did it, depending on how many users you can have them manually run that script after you edit, put it in their logon script once, or just push it out thru AD.

Then done.
thacloneCyber Security consultantCommented:
if you are in an active directory intergrated environment then the it will be fairly simple using group policy. in this case you create a new group policy and browse to the user configuration >windows settings>folder redirection> my documents setting: Advanced (specify locations for various users and groups).
Put all the users in a group and specify the path for it. that should be it. apply the policy to the organisational unit containing the users and that should be it
Justin OwensITIL Problem ManagerCommented:
We are all assuming you have access to GPO.  Is this the case?  Else, what script language are you using?

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now