Default Domain Policy
-
We should also come up with a standard way of exporting the GPO configurations (quit laughing, I've never had to do this before! lol).
-
Import-Module activedirectory Import-Module grouppolicy Add-Type -AssemblyName "System.IO.Compression.FileSystem"; #Variables $Path = "" #Set to where ever you want the GPOs to be stored $gpoarray = Get-GPO -all | select Id, DisplayName #Gets all GPOs and puts their ID and Displayname in an array $Date = Get-Date -Format MM-dd-yy #Backup loop foreach($guid in $gpoarray){ $DisplayName = $guid.DisplayName $BackupPath = $Path + $Date + "\" + $DisplayName if(Test-Path $BackupPath){}else{mkdir "$BackupPath"} Backup-GPO -Guid $guid.Id -Path "$BackupPath" #This will place the GPOs in a specific path for example C:\GPOs\11-2-15\Machine Policy... } #Create individual folders for each GPO #Compression [System.IO.Compression.ZipFile]::CreateFromDirectory("$Path$Date", "$Path$Date.zip"); Remove-Item $Path$Date -Force -Recurse
-
@coliver I like it!
I'll try to get a 2016 Default GPO list up today.
-
Server 2016 Default Policies located here:
https://github.com/dafyre/default_gpo_policies
Link updated to point to the GitHub Repo. No zip file to deal with now.
-
You have a checksum for the zip file?
-
-
@dafyre
Perfect, thanks! -
@dafyre said in Default Domain Policy:
Server 2016 Default Policies located here:
http://france.wellston.biz/DefaultPolicies_Server2016.zip
MD5 Checksum: 708c92da241ae1c7163125d7cdf96299Why not on a github or something?
-
@JaredBusch said in Default Domain Policy:
@dafyre said in Default Domain Policy:
Server 2016 Default Policies located here:
http://france.wellston.biz/DefaultPolicies_Server2016.zip
MD5 Checksum: 708c92da241ae1c7163125d7cdf96299Why not on a github or something?
Hindsight is 20/20, lol.
-
@dafyre said in Default Domain Policy:
@JaredBusch said in Default Domain Policy:
@dafyre said in Default Domain Policy:
Server 2016 Default Policies located here:
http://france.wellston.biz/DefaultPolicies_Server2016.zip
MD5 Checksum: 708c92da241ae1c7163125d7cdf96299Why not on a github or something?
Hindsight is 20/20, lol.
Why not NOW though?
-
@scottalanmiller said in Default Domain Policy:
@dafyre said in Default Domain Policy:
@JaredBusch said in Default Domain Policy:
@dafyre said in Default Domain Policy:
Server 2016 Default Policies located here:
http://france.wellston.biz/DefaultPolicies_Server2016.zip
MD5 Checksum: 708c92da241ae1c7163125d7cdf96299Why not on a github or something?
Hindsight is 20/20, lol.
Why not NOW though?
Link fixed.
https://github.com/dafyre/default_gpo_policies/blob/master/DefaultPolicies_Server2016.zip
MD5 checksum is the same.
-
@Tim_G Yeah, that is what I use (as last resort though)
https://technet.microsoft.com/en-us/itpro/powershell/windows/grouppolicy/restore-gpo
https://technet.microsoft.com/en-us/library/hh875588(v=ws.11).aspx -
@dafyre said in Default Domain Policy:
@scottalanmiller said in Default Domain Policy:
@dafyre said in Default Domain Policy:
@JaredBusch said in Default Domain Policy:
@dafyre said in Default Domain Policy:
Server 2016 Default Policies located here:
http://france.wellston.biz/DefaultPolicies_Server2016.zip
MD5 Checksum: 708c92da241ae1c7163125d7cdf96299Why not on a github or something?
Hindsight is 20/20, lol.
Why not NOW though?
Link fixed.
https://github.com/dafyre/default_gpo_policies/blob/master/DefaultPolicies_Server2016.zip
MD5 checksum is the same.
Issue created
-
@JaredBusch said in Default Domain Policy:
@dafyre said in Default Domain Policy:
@scottalanmiller said in Default Domain Policy:
@dafyre said in Default Domain Policy:
@JaredBusch said in Default Domain Policy:
@dafyre said in Default Domain Policy:
Server 2016 Default Policies located here:
http://france.wellston.biz/DefaultPolicies_Server2016.zip
MD5 Checksum: 708c92da241ae1c7163125d7cdf96299Why not on a github or something?
Hindsight is 20/20, lol.
Why not NOW though?
Link fixed.
https://github.com/dafyre/default_gpo_policies/blob/master/DefaultPolicies_Server2016.zip
MD5 checksum is the same.
Issue created
Issue fixed. See updated link, https://github.com/dafyre/default_gpo_policies