Solved

Move files first and permissions later (NTFS)

Posted on 2012-03-09
5
458 Views
Last Modified: 2012-03-11
Hi

I am about to migrate a Windows Server 2003 fileserver to a Windows Server 2008 fileserver.

I am using Robocopy with theese switches:
robocopy S:\ \\10.10.1.45\S$ /e /sec /copyall /xd S:\Inst /log:c:\RobocopyLogs\S-drev.txt /tee /r:0

On a lot of files and folder I get Access Denied 0x00000005. My guess is that it is because of some write restrictions that has been set on all files and folders.

My question is, can I export all file/folder permissions, then set the appropriate permissions whitch allows me to migrate the files and the at last import the file/folder permissions that I exported earlier?

Or should I go about it completely differently?

Regards
Kasper K
0
Comment
Question by:Kasper Katzmann
5 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 37703400
Usually this points to attributes being copied.

Try using this switch /COPY:DT

Here is something else to take a look at since you are copying to Windows 2008 Server.

http://support.microsoft.com/kb/979808
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 37703562
The files could be open or for some reason the Admin does not have rights to that file.

I know you can use NTBACKUP to backup the 2003 files and copy the 3 files needed to run NTBACKUP on server 2008.

http://technet.microsoft.com/en-us/library/cc770266(v=ws.10).aspx

This will at least get your files over with the proper permissioning and not receive errors.
0
 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 100 total points
ID: 37703579
If you are using Windows 2008 Server you can download the Ntbackup restore utitlity

http://www.microsoft.com/download/en/details.aspx?id=4220

If you are using Windows 2008 Server R2 then you can't use that tool but MS was suppose to create one so, it can be restored.

http://support.microsoft.com/kb/2002414
0
 
LVL 26

Accepted Solution

by:
Leon Fester earned 400 total points
ID: 37706846
It wouldn't be a write permissions issue, most likely a read permissions issue.
Check you log file for the file that was last copied or which contains the error.

You're migrating a fileserver, so I'm guessing somewhere along the line somebody broke inheritance and there are some folder that your account does not have permissions to view.

Even if you are an admin on the box, broken inheritance can lead to you not having permission to read some files/folders.
0
 

Author Closing Comment

by:Kasper Katzmann
ID: 37707087
It was due to broken enharitance. I had to make some adjustments to the permissions and then let them propagate.<br /><br />Thanks for all the suggestions.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RSOP Red "X" 7 30
help with PowerShell script for registry permissions 8 52
Windows IPv6 DHCP server 8 37
How do i move AD Contacts to O365? 2 34
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

867 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

17 Experts available now in Live!

Get 1:1 Help Now