sábado, 10 de abril de 2021

WINDOWS. Import and Export GPOs

 Purpose

Restore one GPO from a GPO Backup of other Domain and howto exports

Steps

Go to Menu "Group Policy Management" and "Open Migration Table Editor"


Go to "Populate from Backup"



Change some data if it is necessary



Save


Import in to GPO AD data storage for the management. Choose the new name for the GPO to import.


Check "Import Setting" 

Choose the GPO to import



Export GPOS

[*] All in one document:

Get-GPOReport -All -ReportType HTML -Path " C:\Backups\GPO\HTML\20250903BackupGPOS.html"

 [*] One GPO per document 

 Get-GPO -All | ForEach-Object { $n=($_.DisplayName -replace '[\\/:*?"<>|]', '_'); Get-GPOReport -Guid $_.Id -ReportType Html -Path " C:\Backups\GPO\HTML\$n.html" }

 

Check Windows 2019
by GoN | Published: Apr 10, 2020 | Last Updated: Oct 2025

No hay comentarios: