This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
networking:windows:active_directory:group_policy [2012/05/10 11:58] gcooper |
networking:windows:active_directory:group_policy [2021/03/18 09:07] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Windows Group Policy ====== | ====== Windows Group Policy ====== | ||
+ | |||
+ | **Loopback**: | ||
+ | |||
+ | **Policy or Preference**: | ||
+ | |||
+ | ===== Applying Group Policies ===== | ||
+ | |||
+ | :!: You must create Active Directory Organizational Units (OUs) to apply group policies against. | ||
+ | |||
+ | :!: Policies apply to either users or computers. | ||
+ | |||
+ | :!: Group policies often seem not to 'take effect' | ||
+ | |||
+ | :!: Time plays an underestimated role in the activation or roll-out of group policies. | ||
+ | |||
+ | - Make the policy change on the domain controller | ||
+ | - Run '' | ||
+ | - Run '' | ||
+ | - Reboot workstation computer | ||
+ | - Test the policy | ||
===== Tools ===== | ===== Tools ===== | ||
Line 10: | Line 30: | ||
* **Start -> Run -> gpedit.msc** | * **Start -> Run -> gpedit.msc** | ||
+ | |||
+ | View resultant policies: | ||
+ | |||
+ | * **Start -> Run -> rsop.msc** | ||
+ | |||
+ | Use the CLI: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | < | ||
+ | gpupdate /force | ||
+ | |||
+ | gpresult /R | ||
+ | |||
+ | gpresult -H GPResult.html | ||
+ | </ | ||
+ | |||
+ | Check computer group membership: | ||
+ | |||
+ | < | ||
+ | Get-ADComputer " | ||
+ | |||
+ | gpresult /scope computer /v | ||
+ | |||
+ | net localgroup | ||
+ | </ | ||
===== Multiple AD Sites ===== | ===== Multiple AD Sites ===== | ||
Line 17: | Line 63: | ||
* **Right-click container -> Block Inheritance** | * **Right-click container -> Block Inheritance** | ||
- | ===== Without | + | ===== Without |
http:// | http:// | ||
Line 24: | Line 70: | ||
http:// | http:// | ||
+ | |||
+ | ===== Logon as Batch Job ===== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | Edit an existing group policy, or add a new one, and add ' | ||
+ | |||
+ | **Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment -> Log on as Batch Job** | ||
+ | |||
+ | ===== RDS Desktop Backgrounds ===== | ||
+ | |||
+ | :!: By default, background images are not displayed nor can users change the background unless the RDP client is set to ' | ||
+ | |||
+ | :!: If you set a solid color background at a fast speed, the setting will ' | ||
+ | |||
+ | :!: You have to have Desktop backgrounds enabled in the client before any of the following server-side stuff will work. | ||
+ | |||
+ | ==== Using Registry ==== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ==== Using Group Policy ==== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ==== Using ADM Templates ==== | ||
+ | |||
+ | http:// |