Robocopy on Windows Server 2008 SP2 does not copy folder permissions

Advertisement
November 30

When using Robocopy to copy folders and files from one local hard disk to another, using /COPYALL /E /TEE options, the target folder does not contain the source folder's ACL. I've tried other options such as: /COPY:DATSOU or /SECFIX, it made no difference.
Test scenario: Create a folder on C:, Test1. Add to Test1's permissions a local group with Read, e.g. Backup Operators. The ACL list should have permissions inherited from C:\ plus Backup Operators that's not inherited. Use Robocopy to copy Test1 to C:\Test2, check the ACL on Test2. Backup Operators is missing.
It looks like Robocopy cannot override the target folder's permissions inheritance, the folder  retains the parent folder's ACL.
I've also disabled User Access Control in troubleshooting this problem.
To add to this issue, there's a workaround can be used to ensure the target folder's ACL is the same as the source folder's ACL. It's a two step process.
1) Use XCOPY source_folder target_folder /I /E /X /T  -  This lays down the directory structure including the ACLs
2) Use ROBOCOPY source_folder target_folder /COPYALL /SECFIX /E  - This will copy over the directories and files, enforcing the files to receive the parent folder's ACL. The target_folder's ACL remain intact, unaltered from XCOPY command.
The end result: the target_folder ACL is identical to the source_folder ACL, the files copied to the target_folder will inherit ACL from their parent folder. Both source and target folders and files ACLs are identical.
ROBOCOPY should do both steps, but doesn't. I've tested this scenario on bare-bones Windows Server 2008, physical and virtual machines.
Darryl Miller

Advertisement

Replay

To Wendy23,
Just for clarity, the Windows Server 2008 OS that I ran ROBOCOPY and XCOPY on was the non-R2 version. Microsoft might have fixed this issue in R2.
You'll probably need to logon as local Administrator or use an account belonging to the local Administrators group.
Also, open the Command Prompt using "Run as Administrator" (right-click on Command Prompt), then run the XCOPY and ROBOCOPY commands from within this prompt.
To answer G.Write, the storage is local hard disks.
Thanks, was a long time ago, I was having a problem with robocopy not copying permissions on a SAN, and was wondering if the SAN was the problem, but your method worked fine for me, thanks.

View 9 Replies

Server 2008 SP2 will not install Windows Updates

November 30

I receive this error: Installation Failure: Windows failed to install the following update with error 0x8000ffff: Security Update for Windows Server 2008 (KB2653956). Installation Failure: Windows failed to install the following update with error 0x8

View All Replies

Script stops automatically on windows server 2008, IE8 is not launched or it doesn't navigate

November 30

QTP 11.0 - Script stops automatically on windows server 2008, IE8 and works fine on other standalone machines having Windows 7. Pls advise. It is very weird, it suddenly stops launching IE8. Sometimes it launches IE8 but des not navigate from one ste

View All Replies

Server 2008 R2 does not show Internet Explorer 10/11 Group Policy options

November 30

Hello, I have a Windows Server 2008 R2 server that has IE11 installed. I am attempting to create a GPO to control Proxy settings for IE10/11 clients, however, when I go to User Config>Preferences> Control Panel Settings> Internet Settings and Rig

View All Replies

Windows Server 2008 xml sync not working

November 30

Windows Server 2008  message -  xml sync has stopped working.  this is preventing me from having my documents automatically upload to a client website for their viewing.   these file are uploaded with FTP automatically when printed form the computer.

View All Replies

Windows Server 2008 R2 Performance Monitor information / thresholds

November 30

Dear Users, I have been in search for information about the Performance Monitor for Windows Server 2008 R2. Unfortunately not with exactly what I wanted to, so I have some information but still not complete. What I'm trying to find is a sort of table

View All Replies

Sharepoint 2007 and SQL 2008 SP3 on Windows Server 2008 Enterprise SP2 (64-bit)

November 30

Is there any documentation we can check if SQL 2008 SP3 is compatible with Sharepoint 2007 SP2 or SP3? Both Sharepoint and SQL servers are running on separate Virtual machines (Windows Server 2008 Enterprise SP2(64-bit)). Currently DB is running on S

View All Replies

Compatibility Exchange Server 2003 SP2 and Domain controllers Windows Server 2008 R2

November 30

Hi all, I have this scenario: - Two Domain Controllers Windows Server 2003 R2 SP2 - Two mail servers Exchange Server 2003 with the following version:   6.5 (Build 7638.2 Service Pack 2) I want to upgrade my domain controllers to Windows Server 2008 R

View All Replies

Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?

October 11

Hi Does anyone know How to run twin monitors on a MacBook Pro operating on a Windows Server 2008 R2 ?I know this doesn't help you much, but, I think you have to see if your Mac pro does audio out via HDMI. I don't even know if mine does via DVI. I th

View All Replies

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine (Windows Server 2008 R2 (64) vs MS Office 2007)

October 11

We just have switched our local server from 32-bit to 64-bit machine and now we have Windows Server 2008 R2 Service Pack 1 with MS Office 2007. On server we are running an application in ASP.Net 3.5 using visual studio 2008. All users have 32-bit win

View All Replies

Could not able to execute FTP commands in windows server machines 2012/ windows server 2008.

November 30

Could not able to execute FTP commands in windows server machines 2012/ windows server 2008. From windows server 2012 and windows server 2008, Opened port 20,21,22 in firewall bidirectionally. After Establishing connection by passing credentials  230

View All Replies

Macs will not show up on DNS Windows Server 2008 R2

October 11

In our office, we have a Windows Server Infrastructure with several Macs (Imacs, mac pros, macbook airs etc). Active Directory and DNS is running off a Windows Server 2008 R2 Server, with DHCP on a Cisco Router. DHCP is configured to direct all DNS e

View All Replies

Some Hostname is not seen in DNS Manager ( Windows Server 2008 )

November 30

Hi All, DC Server OS - Windows Server 2008 R2 ( Active Directory Integrated DNS Zone ) Client OS - Windows 7 I am unable to understand, why some hostname are not dynamically registered in DNS Manager. For example -My windows7 which is added to corp.a

View All Replies

Dymo Labelwriter printers not working via Mac Remote Desktop connection into Windows Server 2008

November 30

I'm having a really hard time getting Dymo labelwriters (models 335 turbo and 450 turbo) to work over a remote desktop connection and I'd appreciate any help you can offer. To briefly describe the situation, I'm working for a Doctor's office, moving

View All Replies

Error Exporting Printer's Queue Windows Server 2008 ENTERPRISE SP2

November 30

When I try to make a Backup the printers on Windows Server 2008 with Printer Migration I get the following error:          Windows Encountered errors during the migration process.     please anyone can help me.Most likely someone performed some regis

View All Replies

Does installing Desktop Experience on Windows Server 2008 R2 SP1 slow down the server / increase processor usage?

November 30

Hello. I'm running a tekkit classic (Minecraft) Server on a dedicated server I got from OVH, Im just wondering - Im currently using ClamAV for an antivirus, But I would like windows defender. Im wondering if installing Desktop Experience on my dedi w

View All Replies

Error 0x80070643 when installing DHCP Windows Server 2008 ENTERPRISE SP2 64bit

November 30

        When I try to install role DHCP on Windows Server 2008  I get the following error:        Attemp to install DHCP Server failed with error code 0x80070643. Fatal error during installation.               Please somebody help me!....            

View All Replies

Can CSM be installed on Windows Server 2008??

November 30

Can CSM be run on Windows Server 2008 and on 32 or 64-bit? Can CSM be deployed as a virtual Server? Thanks in AdvanceHello, My client currently has CSM 3.3.1 SP2. Does this support Hyper-V? And if not will Hyper-V be supported on CSM 4.0? Thank you,

View All Replies

JDK issues with Windows Server 2003 SP2

November 30

Hi, We are running an ETL (Extracts-Transform-Load) Jar file which reads data from MS Commerce Server 2002, AS400 and SQL Server 2000 database and populates a SQL Server 2000 database. The jar was running fine on Windows Server 2000 but started to st

View All Replies

Problems installing Crystal Reports 2008 Server on Windows Server 2008 serv

October 11

I attempted to install the Crystal Reports 2008 product on one of our Windows Server 2008 servers. After installing disk 1 Crystal Reports 2008 Server attempts to open up in IE...... but opens up to a blank page http://bmlfileserver:8080/CmcApp/ anyo

View All Replies

Tags:

  1. Bbm channels how to add on 9300
  2. software to stop pops safari 5.1.10
  3. ifroget my icloud id n pasword
  4. itunes error code 13014 mac os 10.5.8
  5. lenovo a6000 upgrade ing problem
  6. hp g60 diskpart uefi
  7. Using the load TXT
  8. using outline load utility
  9. 3D8Y
  10. A1NN
Copyrights 2019 Fcffair BigData Resource, All rights reserved