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

Minimum PowerShell version


There is a newer prerelease version of this module available.
See the version list below for details.

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
3.0.0-previe... 5 5/17/2020
3.0.0-previe... 5 5/13/2020 76,806 9/19/2019 18,414 8/8/2019 55,171 4/3/2019 37,884 1/10/2019 1,647 11/29/2018 (current version) 4,998 9/5/2018 37,637 7/25/2018 10,556 6/13/2018 6,132 12/20/2017 3,724 11/15/2017 934 10/5/2017 1,552 8/23/2017 745 7/12/2017 1,113 6/1/2017 11,808 3/8/2017 164 2/17/2017 258 2/3/2017
Show less