Avatar of csimmons1324
csimmons1324Flag for United States of America asked on

How to Transfer User Files to Another User on Server 2008

I currently have folder redirection setup on my Windows Server 2008 box so all of the users Documents, Pictures, Videos, etc. are stored on the server and not the users personal PC.  I need to transfer all of the files for a specific user over to a newly created user account.  What is the best way to do this so that the new user has the proper permissions on the folders / files that I am moving to them?
Windows Server 2008

Avatar of undefined
Last Comment

8/22/2022 - Mon
Rob Wesley

Copy not Move the files over to the other directory so the permission of the copied files and folder inherit permissions, this of course if in the same NTFS partition.


Use Robocopy:

robocopy sourcepath destinationpath /E /COPYALL /LOG:logfilename

/E is to copy all sub-folders, /COPYALL will ensure all security attributes etc are copied, and /LOG is to save the results to a logfile of your choice.  You can add /MOV for moving the files or leave it out to doublecheck that the folder size is identical.

If the folder is large and you want to allow access while you do a first copy just add /R:5 as robocopy will by default try 1 million times to copy files, so if one is in use it will sit there forever to try and copy the file.  Once the first copy has completed then ask the user to close their documents, unshare the folder, run the same command again, verify the folder sizes are identical, and share the new folder.

Let us know if you need anything else

On the Server 2008 box, I copied all of the My Documents files and folders out of the User1's folder and pasted them into the My Documents folder for User2.  User 2 is unable to see the copied documents in their My Documents folder.  Any idea why this is happening?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

I have done some more digging.  When I go into another users My Documents folder and go into the properties of a file, under the security tab the following groups / users have permissions "System," "Domain Admins," and "Administrators."  Obviously, this user is able open and view their files.  

The files that I have copied from User1 to User2 have the same security permissions.  User2 is unable to even see these files in their My Documents folder.  If I go into the properties of the My Documents for User2 and go into the Advanced Security settings and check "Enable all child object permissiosn with inheritable permissions from this object" and hit OK then User2 is now able to see and access all files copied over from User1.  However, if I go into the properties of one of the files and go to the Security tab then User2 is now listed as one of the Group or User Names.  

I am not sure if I should be pushing down the security settings from the My Documents to all of the child objects since no other user has their name listed within the Security settings for thier files.


Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Everything is working great!
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

Great, thanks for the points!