This module is a wrapper around secedit.exe which provides the ability to configure user rights assignments

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name SecurityPolicyDsc -RequiredVersion

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Corporation


(c) 2016 Microsoft. All rights reserved.



DesiredStateConfiguration DSC DSCResourceKit DSCResource Secedit SecurityPolicyDsc


AccountPolicy SecurityOption SecurityTemplate UserRightsAssignment


This module has no dependencies.

Release Notes

* Added handler for null value in SecurityOption
* Moved the helper module out from DSCResource folder to the Modules folder.
* Fixed SecurityPolicyResourceHelper.Tests.ps1 so it possible to run the tests
* Fixed minor typos.

Version History

Version Downloads Last updated 39,826 4/3/2019 37,213 1/10/2019 1,636 11/29/2018 (current version) 4,412 9/5/2018 19,906 7/25/2018 9,481 6/13/2018 5,839 12/20/2017 3,363 11/15/2017 931 10/5/2017 1,334 8/23/2017 742 7/12/2017 1,111 6/1/2017 11,806 3/8/2017 162 2/17/2017 241 2/3/2017