Bitsadmin /setaclflag

 

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

Sets the access control list propagations flags.

Syntax

bitsadmin /SetAclFlags <Job> <Flags>

Parameters

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.

Remarks

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

Examples

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

Additional references

Command-Line Syntax Key