JSI Tip 8215. How do I configure a logon script via Group Policy?

Jerold Schulman

July 5, 2004

1 Min Read
ITPro Today logo in a gray background | ITPro Today

After creating your script, name.bat or name.vbs, you can apply it in the Default Domain policy:

01. Open Active Directory User and Computers.

02. Right-click the and press Properties.

03. On the Group Policy tab, press Open (Group Policy Management Console).

04. Double-click the Default Domain Policy in the right-hand pane.

05. On the Details tab, record the GUID, which is listed next to Unique ID.

06. Close the Group Policy Management Window.

07. Press Cancel on the Properties dialog.

08. Copy your logon script to %SystemRoot%SYSVOLsysvolPoliciesGUIDUserScriptsLogon.

09. In Active Directory User and Computers, right-click the and press Properties.

10. On the Group Policy tab, press Open.

11. Right-click the Default Domain Policy in the right-hand pane and press Edit.

13. Navigate through User Configuration / Windows Settings / Scripts (Logon/Logoff).

14. Double-click Logon.

15. On the Logon Properties dialog, press Add.

16. Type the file name, NOT the path, of your script into Script Name, or Browse for it.

17. Press OK, Apply, and OK.

18. Close the Group Policy window.

19. Close Active Directory User and Computers.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like