Bitsadmin /setaclflag

 

Updated: April 17, 2012

Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Sets the access control list propagations flags.

bitsadmin /SetAclFlags <Job> <Flags>

Parameter

Description

Job

The job's display name or GUID

Flags

Specify one or more of the following flag values:

  • O: Copy owner information with file.

  • G: Copy group information with file.

  • D: Copy DACL information with file.

  • S :Copy SACL information with file.

The SetAclFlags command is used to maintain Owner and access control list information when a job is downloading data from a Windows (SMB) share.

The following example sets the access control list propagation flags for the job named myDownloadJob to maintain the owner and group information with the downloaded files.

C:\>bitsadmin /setaclflags myDownloadJob OG
Show: