Solved

Script to copy roaming profile desktop to a server folder

Posted on 2012-03-15
1
513 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
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now