Search the Community
Showing results for tags 'group policy'.
Below are some functions that I created when I needed to get some Group Policy information via script. The quickest way I found to get this information was using the Group Policy Module for PowerShell. This is not a full UDF for the Group Policy Module. There are a lot more options available with the cmdlets, and this only touches on a few. To use the functions below, for a Windows client, you will need to install Remote Server Administration Tools (RSAT). For Windows Server 2012 or later, you will need to install the Group Policy Management Console. Remote Server Administration To
336 downloadsThis is a tool to back up/export current settings in the group policy, or to import. The export button simply exports the group policies to a folder with a random name. The import prompts for a folder selection, and then tries to import the policy present in that folder. I made this because i found it was the most reliable and simpler way of doing it, now i just saved the exported folder, renamed it, and when i install windows again i just import the folder and all settings are placed.
I needed a tool that would allow me to edit local group policy files. Registry policy files contain registry information used by the local group policy. Editing these files, followed by a `gpupdate /force` command allows you to enforce the modified local group policy. To my surprise, there aren't many editors out there for this type of file. I found a few implementations across the net, but none of them did everything I wanted or they were not free. Mainly I wanted a tool that provided read/write capabilities for the registry policy file format (.pol) via GUI and command line interface. So I