Solved

Script to copy roaming profile desktop to a server folder

Posted on 2012-03-15
1
517 Views
Last Modified: 2012-04-03
I need to implement desktop redirection. I'm familiar with how GP works.

However, I first need to copy the desktops from \\srv1\roamprof\user\desktop to \\srv2\home\users\desktop.

What kind of script can I use for that?

Something for then they log in, or something that I can run manually and the users see nothing?

Thank you
0
Comment
Question by:cas_three
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
Thorrsson earned 500 total points
ID: 37727102
you can create a text file with a list of users and then run something similar to:

get-content c:\users.txt | foreach-object -process {move-item c:\users\$_\ \\srv2\home\users\$_}

You will be copying across the network, so it could be slow and painful...
You can also use something like teracopy
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article outlines the process to identify and resolve account lockout in an Active Directory environment.
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question