We help IT Professionals succeed at work.
Get Started

Powershell script to copy 2 folders into a user's roaming profile

5,277 Views
Last Modified: 2014-07-15
Hiya,

Our users are running an application called TM1 which on opening is meant to put 2 folders in their profile under the AppData folder. Due to an application bug of seeming to not put the 2 folders in if users are running roaming profiles, we just need a script or process that copies 2 folders from a location into their profile into the AppData . If at all possible to check if the folders are there first and if they are do nothing and if they aren't there, to copy them in.

Is there an easy way of doing this with batch or PowerShell scripts?

Thanks v much
Comment
Watch Question
Senior Systems Engineer
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 17 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE