User Tools

Site Tools


networking:windows:active_directory:group_policy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:windows:active_directory:group_policy [2015/06/16 11:05]
gcooper
networking:windows:active_directory:group_policy [2021/03/18 09:07] (current)
gcooper
Line 4: Line 4:
  
 **Policy or Preference**: http://deployhappiness.com/policy-or-preference **Policy or Preference**: http://deployhappiness.com/policy-or-preference
 +
 +===== Applying Group Policies =====
 +
 +:!: You must create Active Directory Organizational Units (OUs) to apply group policies against.  You can't apply policies to the built-in AD containers.
 +
 +:!: Policies apply to either users or computers.  Loopback processing can make user policies apply to certain computers.
 +
 +:!: Group policies often seem not to 'take effect' when you think they should.
 +
 +:!: Time plays an underestimated role in the activation or roll-out of group policies.  Test it again in the morning!
 +
 +  - Make the policy change on the domain controller
 +  - Run ''gpupdate /force'' on domain controller
 +  - Run ''gpupdate /force'' on workstation computer
 +  - Reboot workstation computer
 +  - Test the policy
  
 ===== Tools ===== ===== Tools =====
Line 14: Line 30:
  
   * **Start -> Run -> gpedit.msc**   * **Start -> Run -> gpedit.msc**
 +
 +View resultant policies:
 +
 +  * **Start -> Run -> rsop.msc**
 +
 +Use the CLI:
 +
 +https://mashtips.com/how-to-use-the-group-policy-results-gpresult-exe-command-line-tool/
 +
 +<file>
 +gpupdate /force
 +
 +gpresult /R
 +
 +gpresult -H GPResult.html
 +</file>
 +
 +Check computer group membership:
 +
 +<file>
 +Get-ADComputer "tucson-svr" -Properties MemberOf
 +
 +gpresult /scope computer /v
 +
 +net localgroup
 +</file>
  
 ===== Multiple AD Sites ===== ===== Multiple AD Sites =====
networking/windows/active_directory/group_policy.1434474304.txt.gz · Last modified: 2015/06/16 11:05 by gcooper