Share via


LGPO.exe – Local Group Policy Object Utility

Question

Thursday, August 1, 2019 2:42 AM

Dear Team,
Currently I am using LGPO tool for Group Policy Backup and Restore.

I need help on Registry Settings Backup Parameters list.
I need a complete list of Registry Settings and Group Policy settings which are getting Backed up during Group Policy Backup through LGPO tool. I am creating Registry Dictionary which contains Registry Key and it's description. I want this list for the same. 

May I request you to please do the needful.
Awaiting for your valuable response.
Thank you in Advance.

Best Regards,

Shantaram Gawade

All replies (4)

Thursday, August 1, 2019 6:53 AM ✅Answered

Hi,

Thanks for your question.

To export the current local GPO settings to the specified directory, run the following command:

LGPO.exe /b c:\tools\GPO

The utility will export all current local policy settings to the folder with the group policy GUID.
To present the current GPO settings in the backup file from the registry.pol file in a text-friendly format, run the command:

lgpo.exe /parse /m "C:\tools\GPO\{6DFFB293-675f-4c32-4AB-FD1234567CE}\DomainSysvol\GPO\Machine\registry.pol">>c:\tools\gpo\lgpo.txt

Open the lgpo.txt text file. As you can see, it contains all registry settings that are applied by this policy.

More information, please refer the link below:

http://woshub.com/backupimport-local-group-policy-settings/

Also, about LGPO.exe syntax:

https://blogs.technet.microsoft.com/secguide/2016/01/21/lgpo-exe-local-group-policy-object-utility-v1-0/

Also, you can try to use PolicyFileEditor module by Dave Wyatt to gpo settings list:


http://brandonpadgett.com/powershell/Local-gpo-powershell/

https://github.com/dlwyatt/PolicyFileEditor

Best regards,

Lee

Just do it.


Monday, August 5, 2019 9:53 AM

Hi,

Was your issue resolved?

If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

If no, please reply and tell us the current situation in order to provide further help.

Best Regards,

Lee

Just do it.


Friday, August 9, 2019 7:13 AM

Dear Lee,

Thank you so much for your reply.

I have used same approach for Registry Setting list.

Best Regards,

Shantaram


Friday, August 9, 2019 7:32 AM

Dear Lee,

Can you please update me LGPO tool exactly which Group Policy Settings taking Backup from Local Group Policy.

Request you to please provide me reference sheet for Windows7 and Windows10.

Thanks in Advance.