< Back

Set-NTDSFilePermissions

Fri Jan 10, 2020 6:58 pm

NAME Set-NTDSFilePermissions



SYNOPSIS

Active Directory data files must have proper access control permissions.





SYNTAX

Set-NTDSFilePermissions [[-Credential] <PSCredential>] [<CommonParameters>]





DESCRIPTION

The Set-NTDSFilePermissions cmdlet sets the required security permissions for the database files and log files.

The command must be run with Enterprise Admin credentials.





PARAMETERS

-Credential <PSCredential>

The credentials to use to make the change. The command must be run with Enterprise Admin credentials.



Required? false

Position? 1

Default value [System.Management.Automation.PSCredential]::Empty

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.Management.Automation.PSCredential





OUTPUTS

None





NOTES





AUTHOR: Michael Haken

LAST UPDATE: 2/27/2016



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-NTDSFilePermissions



Configures the required permissions for the NTDS database and logs











RELATED LINKS