Update AD DS to point to new location

Follow these steps to update Active Directory Domain Services (AD DS) to reflect the location where you copied your scripts.

To point to your new script location

  1. Open Group Policy Management Console (GPMC).

    (For instructions, see Look for scripts in your Group Policy objects earlier in this document.)

  2. In GPMC, expand the left pane, expand the Domains node, and then expand your domain. Expand and select the Group Policy Objects node under your domain.

  3. For each GPO that contains script settings, right-click the GPO in the left pane, and then click Edit. The Group Policy Management Editor appears, and you can edit information about the GPO that you selected. Perform the following steps:

    1. If you need to update the location of a startup or shutdown script, in the left pane of the Group Policy Management Editor, expand Computer Configuration, expand Policies, and then expand Windows Settings. Click the Scripts (Startup/Shutdown) node.

      • In the right pane, double-click Startup. Select each startup script that you copied, and then click Edit. Enter the new location of the script, and then click OK.

      • To edit the location of each shutdown script, in the right pane, double-click Shutdown.

    2. If you need to update the location of a logon or logoff script, in the left pane of the Group Policy Management Editor, expand User Configuration, expand Policies, and then expand Windows Settings. Click the Scripts (Logon/Logoff) node.

      • In the right pane, double-click Logon. Select each script that you copied, and then click Edit. Enter the new location of the script, and then click OK.

      • To edit the location of each logoff script, in the right pane, double-click Logoff.

Follow these steps if you have user objects that specify scripts.

To point to your new script location if user objects specify scripts

  1. Click Start, click Administrative Tools, and then click Active Directory Users and Computers.

  2. In the left pane, expand the domain where Windows EBS is installed, and then click Users. In the right pane, you should see a list of users and groups in this domain.

  3. For each user that had script settings specified (you noted this in Look for scripts in your Group Policy objects earlier in this document), double-click the user, and then click the Profile tab.

  4. Verify that the location of the script is under \\domainname\NETLOGON.