ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Default Domain Policy

    IT Discussion
    9
    22
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • momurdaM
      momurda
      last edited by

      Iam on 2012 AD Schema.

      1 Reply Last reply Reply Quote 0
      • GreyG
        Grey
        last edited by

        Yeah, I think we need to initiate a team effort or something to collect defaults for 2008, 2012, and 2016.

        1 Reply Last reply Reply Quote 0
        • GreyG
          Grey @momurda
          last edited by

          @momurda I would do that if I really, really had everything ready.
          http://i.imgur.com/y7Hm9.jpg

          1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce
            last edited by

            You can restore it with gpofix. Not sure if I'd go that route though.

            You could always fire up a 2008 R2 VM and promote it to a test domain and export the GPO.

            dbeatoD 1 Reply Last reply Reply Quote 1
            • Emad RE
              Emad R
              last edited by

              let me see if I might help cause I use 2008 R2 SP1 as windows deployment role, and that for some reason requires AD, thus I have AD but I dont use it at all, so i never modify it.

              1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre
                last edited by

                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).

                coliverC 1 Reply Last reply Reply Quote 0
                • coliverC
                  coliver @dafyre
                  last edited by

                  @dafyre

                  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
                  
                  dafyreD 1 Reply Last reply Reply Quote 3
                  • dafyreD
                    dafyre @coliver
                    last edited by

                    @coliver I like it!

                    I'll try to get a 2016 Default GPO list up today.

                    1 Reply Last reply Reply Quote 0
                    • dafyreD
                      dafyre
                      last edited by dafyre

                      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.

                      ObsolesceO JaredBuschJ 2 Replies Last reply Reply Quote 1
                      • ObsolesceO
                        Obsolesce @dafyre
                        last edited by

                        @dafyre

                        You have a checksum for the zip file?

                        dafyreD 1 Reply Last reply Reply Quote 0
                        • dafyreD
                          dafyre @Obsolesce
                          last edited by

                          @Tim_G said in Default Domain Policy:

                          @dafyre

                          You have a checksum for the zip file?

                          Posted.

                          ObsolesceO 1 Reply Last reply Reply Quote 0
                          • ObsolesceO
                            Obsolesce @dafyre
                            last edited by

                            @dafyre
                            Perfect, thanks!

                            1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @dafyre
                              last edited by

                              @dafyre said in Default Domain Policy:

                              Server 2016 Default Policies located here:
                              http://france.wellston.biz/DefaultPolicies_Server2016.zip
                              MD5 Checksum: 708c92da241ae1c7163125d7cdf96299

                              Why not on a github or something?

                              dafyreD 1 Reply Last reply Reply Quote 1
                              • dafyreD
                                dafyre @JaredBusch
                                last edited by

                                @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: 708c92da241ae1c7163125d7cdf96299

                                Why not on a github or something?

                                Hindsight is 20/20, lol.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @dafyre
                                  last edited by

                                  @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: 708c92da241ae1c7163125d7cdf96299

                                  Why not on a github or something?

                                  Hindsight is 20/20, lol.

                                  Why not NOW though?

                                  dafyreD 1 Reply Last reply Reply Quote 0
                                  • dafyreD
                                    dafyre @scottalanmiller
                                    last edited by

                                    @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: 708c92da241ae1c7163125d7cdf96299

                                    Why 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.

                                    JaredBuschJ 1 Reply Last reply Reply Quote 1
                                    • dbeatoD
                                      dbeato @Obsolesce
                                      last edited by

                                      @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

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @dafyre
                                        last edited by

                                        @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: 708c92da241ae1c7163125d7cdf96299

                                        Why 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

                                        dafyreD 1 Reply Last reply Reply Quote 0
                                        • dafyreD
                                          dafyre @JaredBusch
                                          last edited by

                                          @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: 708c92da241ae1c7163125d7cdf96299

                                          Why 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

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post