Solved

Move files first and permissions later (NTFS)

Posted on 2012-03-09
5
456 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
Comment Utility
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 21

Expert Comment

by:yo_bee
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

772 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

9 Experts available now in Live!

Get 1:1 Help Now