- Installing and Configuring Windows 10:70-698 Exam Guide
- Bekim Dauti
- 320字
- 2021-07-02 13:27:22
Setting up the logon script GPO
To set up the logon script GPO, complete the following steps in domain controller (DC):
- Click the Start button on the taskbar, and select Server Manager from the Start menu.
- From the Tools menu, select Group Policy Management.
- In the Group Policy Management console, right-click the domain and select Create a GPO in this domain, and Link it here..., as shown in Figure 5.18:
Figure 5.18: Setting up a logon script GPO via the GPM console in Windows Server 2016
- In the New GPO window, enter the name for the GPO and click OK (see Figure 5.19):
Figure 5.19: Naming the logon script GPO
- On the Linked Group Policy Object tab, right-click the newly created GPO and select Edit.
- In the Group Policy Manager Editor window, expand User Configuration | Policies | Windows Settings | Scripts (logon/logoff).
- In the right-hand pane of the Group Policy Manager Editor window, right-click the logon GPO and select Properties.
- In the Logon Properties window, click the Show Files button, copy your script to that location, and close the window.
- Back to the Logon Properties window, click the Add button.
- In the Add a script window, browse your script from the recently copied location, and then click OK.
- In the Logon Properties window, click the OK button.
- Close the Group Policy Manager Editor window.
- On the Linked Group Policy Object tab in the Group Policy Management console, right-click the newly created GPO and select Enforced, as in Figure 5.20:
Figure 5.20: Enforcing the newly created logon script GPO
- Click OK when asked Do you want to change the Enforced setting for this GPO Link(s).
- On one of the computers that are part of the domain, log on, and then test the newly created activation script.
You can learn more about Windows 10 and Windows Server 2016 Group Policies from https://getadmx.com/?Category=Windows_10_2016.