- Mastering Windows Group Policy
- Jordan Krause
- 553字
- 2021-06-10 18:47:58
Linking our new GPO
Our test lab has Active Directory, Group Policy, a few OUs created, and now we even have a new GPO with a setting inside that should set the desktop wallpaper of whatever computers the policy applies to. We are finally ready to test this GPO to make sure it really works; our final remaining step is to link the GPO to a location so that it starts applying. We could link the GPO at the root of the domain and (without additional filtering) it would then filter down to all of the machines that are joined to my domain, but I don't want to be quite that extensive. I just want to test my new GPO out on a single workstation for now, which is a very common task when creating any new GPO or adding a new setting into a GPO. Always test before rolling out to production.
I have created an OU called Accounting. My LAPTOP1 workstation is currently sitting inside this OU. All I need to do in order to link my policy is to open GPMC, find the Accounting OU, and right-click on it. From the menu, choose Link an Existing GPO...:
You will now see a screen called Select GPO. This displays for you all of the GPOs that exist inside your domain. Simply select the new GPO we created called Set Desktop Wallpaper to Blue 1 and click OK:
That's all you have to do! Back inside GPMC, you can now see that the Set Desktop Wallpaper to Blue 1 GPO is linked underneath the Accounting OU. This change is immediate; the policy is now associated with that OU and the next time that any computers inside Accounting do a Group Policy refresh, they will see and apply this new setting.
For Group Policy testing scenarios, there is a command-line tool that is very commonly used to force policies to apply manually, but usually when making changes at a production level, you simply make the change inside GPMC, and then let it "sit and bake". The changes will roll around to all of your workstations over the next few hours; there is no need to manually touch each computer. That would be a nightmare! In our case, I'm not quite ready to cover the command yet because we will talk about it later in this chapter, and I also don't want to sit around and wait for the policy to apply naturally, so I am going to simply reboot LAPTOP1. Group Policy processes during boot/user login so we will take that approach. To be honest, I'm not sure that I have rebooted LAPTOP1 anyway since moving it into the Accounting OU, and so I really should do so to make sure that change is also recognized by the workstation. After rebooting LAPTOP1, I log in to it and, sure enough, my desktop is displaying a blue number one!
- Project 2007項目管理實用詳解
- 輕松學C#
- 高性能混合信號ARM:ADuC7xxx原理與應用開發
- PowerShell 3.0 Advanced Administration Handbook
- 3D Printing with RepRap Cookbook
- Cloud Analytics with Microsoft Azure
- Zabbix Network Monitoring(Second Edition)
- 可編程控制器技術應用(西門子S7系列)
- 高維聚類知識發現關鍵技術研究及應用
- Learn CloudFormation
- 傳感器與新聞
- ZigBee無線通信技術應用開發
- PostgreSQL 10 High Performance
- 網站規劃與網頁設計
- 教育創新與創新人才:信息技術人才培養改革之路(四)