Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 396
  • Last Modified:

Trying to Move Terminal Server Profiles

I am trying to move my roaming terminal server profiles to a new file server.
I want to change the folder structure on the new file server.
I cannot find a way to copy the profile folders only.
I have tried Backup Exec and Microsoft Backup.  It seems that these programs require the entire path to be replaced.
I tried to then move the files using RoboCopy, Xcopy and Rich Copy.
These don't work either because I don't have security rights to the folder.
I receive access errors and the files are not copied.
The User is the owner and has exclusive access.  If I take ownership the user looses access.
Any other Ideas.

  • 2
  • 2
1 Solution
Henrik JohanssonSystems engineerCommented:
Use robocopy with /B or /ZB parameters to copy the files in backup mode and bypass the security issue.
SCMHCAuthor Commented:
I've already tried RoboCopy with /B and seperately /ZB.
I originally thought it worked but when I looked closer it did not.
If I don't have access to the files RoboCopy continues and gives me an error
but the data is not copied.

Thank for your help
Henrik JohanssonSystems engineerCommented:
Are you logged on as user with administrators access on the old file server?

What syntax of robocopy did you use?
If using /COPYALL (/COPY:DATSOU), try to skip some of the copyflags by using for example /COPY:DATO to only keep Data, Attributes, Timestamps and Owner info (S=Security, U=aUditing)

The S-flag should be able to be skipped if configuring permissions for parent folder on new file server share correctly as described in technet-article and let the individual folders inheritate their permissions from the parent folder.
SCMHCAuthor Commented:
I used the following steps to move the profiles.
I used Microsoft Backup to backup the profiles folder (Could have used backup exec)
I restored to a different folder on the new file server.  
The entire tree structure was maintained under the new folder on the new server.
I then took ownership with administrators which removed the users rights.
On some folders I had to copy down security since only SYSTEM and the USER had rights.
I then used cacls scripts (addperm and addperm2) to apply the security to all the user folders.
This was done on a Windows XP system, I couldn't get it to work on a Win 2008R2 system
Administrator and user has to have full control, the owner was administrators.
Then I user RoboCopy  to copy the files to the directory I wanted the profiles to reside.
Process took 6 Hours with 250 profiles.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now