Reset Local Policies

PowerShell script to clear all local group policies.


Note: This script only resets local group policies (LGPO). It does not affect group policies applied from a Domain Controller.
Prerequisites: This script requires no additional setup. Simply deploy it via your RMM.


Warnings: Running this script will result in the loss of existing local policies. Using the -Reboot switch may result in the loss of unsaved user files.

Learn More

Want to learn more about how this script works? Included below are official documentation links for all cmdlets used in this script, as well as other useful documentation where applicable.
Cmdlet Documentation: