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.
Helder_HipolitoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kiitiiCommented:
In fact, a better approach is to set this in AD's Group Policy.

Look under "User configuration"



0
shankshankCommented:
Check this out, will do exactly what you need.

I used it many times


http://www.microsoft.com/windowsxp/using/networking/learnmore/honeycutt.mspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
shankshankCommented:
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.
0
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
thaclone
0
Justin OwensITIL Problem ManagerCommented:
We are all assuming you have access to GPO.  Is this the case?  Else, what script language are you using?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.