Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Robocopy failing to copy ACLs on top level folder ...

Posted on 2012-03-13
2
Medium Priority
?
1,266 Views
Last Modified: 2012-08-14
On a Windows Server 2008 Standard R2 server (x64 obviously since it is R2) - Trying to use Robocopy to copy all files, folders and ACLs from C:\folder1 to C:\folder2 and using the /copyall switch. Everything seems to copy fine will all files, folder, etc... Except for the top level folder permissions on C:\folder2 which appear to inherit the permissions from the root of C: or something.  I requested the Microsoft Hotfix 979808, but when I try to install that x64 based Hotfix it says something like 'This hotfix does not apply to your system.'   Just for kicks I tried the x86 version of the hotfix and it gave the same error.

Any help on how I could either get Robocopy to work or how I could make an indentical backup of a folder to includes all files, subfolders, and ACLs and share permissions would be greatly appreciated.

TIA ...
0
Comment
Question by:LGroup1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
greedj earned 500 total points
ID: 37714970
Use the /MIR (Mirror) switch in robocopy if you can.
Note: /MIR will delete files on the destination that do not exist on the source.
0
 

Author Closing Comment

by:LGroup1
ID: 37715087
Yes, this worked - thanks !!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

722 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