Wednesday, 13 July 2016

Import Local GPO to a new PC by registry.pol

This tool is useful for applying local GPO to a new PC. As exporting security setting (.sdb) from a configured PC does not include the setting from Administrative Template. Registry.pol contain both the security setting and Administrative template. In order to import registry.pol into a new PC, we have to use importregpol.exe tool.

http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/

Download the tool - http://supportishere.com/how-to-apply-local-group-policy-settings-silently-using-the-importregpol-exe-and-apply_lgpo_delta-exe-utilities/


*The registry.pol do not need to overwrite the current one(c:\windows\system32\grouppolicy\machine or c:\windows\system32\grouppolicy\user).
*Instead just import your new registry.pol from it current directory. Example: D:\registry.pol. After you have issue the command, it will overwrite the current registry.pol at c:\...

For machines --> ImportRegPol.exe –m path\registry.pol /log macLogFile.txt /error macErrorLogFile.txt

For user --> ImportRegPol.exe –u path\registry.pol /log userLogFile.txt /error userErrorLogFile.txt

Reboot pc after applying the commands.

No comments:

Post a Comment