Folder Redirection Question

So I have the robocopy script working, however I have an issue.

Currently users My Docs are already being redirected to \\server\user\docs.

I want to add desktop redirection to that.  I would like to redirect the desktops to \\server\user\desktop, in the same user directory that their My Docs are currently in.

So what enviroment variable can I use to have the desktops redirected to \\server\existing user folder\desktop?

I don't know the environement variable to use for the existing user folder?

Thank you!!
cas_threeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Why are you using a script?  Why aren't you using a group policy?
0
cas_threeAuthor Commented:
I don't need to copy the desktops over first then turn on folder redirection?
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
No - the setting should automatically copy the desktops over (though depending on how much a user has on their desktop, the initial copy could slow logon, so you probably want to do this in stages, a few users at a time.  As always, use a test account first to understand what you're doing and how it's working.
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
cas_threeAuthor Commented:
Just so I am clear, the desktops in the roamprof directory will be copied to the new location that folder redirection will be going too, correct?
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
As I said:
As always, use a test account first to understand what you're doing and how it's working.

I avoid roaming profiles - they can be a nightmare.  I ONLY use folder redirection.  And when implemented, Folder Redirection copies the data from the source location to the new location by default.  

But again, you should ALWAYS test first since there could be a complication with your network I'm not aware of.
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
Active Directory

From novice to tech pro — start learning today.