Q. How can I configure Group Policy-based scripts to display when they're executed?

John Savill

February 15, 2005

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

A. By default, scripts executed via Group Policy run in the background, so you can't see them execute. To view the script as it runs, you must modify the script's associated Group Policy Object (GPO). To do so, perform these steps:

  1. Open the GPO via Group Policy Editor (GPE).

  2. Navigate to User Configuration, Administrative Templates, System, Scripts.

  3. Double-click "Run logon scripts visible," as the figure shows.

  4. Select "Enabled" and click OK.

  5. Close GPE.

You should enable this functionality only for troubleshooting purposes; you don't want clients to see their scripts running because they might try to interfere with them. A better approach is to create a test organizational unit (OU), add an account, define the problem script in a GPO at that OU level, and enable visible scripts for only that OU.

A. By default, scripts executed via Group Policy run in the background, so you can't see them execute. To view the script as it runs, you must modify the script's associated Group Policy Object (GPO). To do so, perform these steps:

  1. Open the GPO via Group Policy Editor (GPE).

  2. Navigate to User Configuration, Administrative Templates, System, Scripts.

  3. Double-click "Run logon scripts visible," as the figure shows.

  4. Select "Enabled" and click OK.

  5. Close GPE.

You should enable this functionality only for troubleshooting purposes; you don't want clients to see their scripts running because they might try to interfere with them. A better approach is to create a test organizational unit (OU), add an account, define the problem script in a GPO at that OU level, and enable visible scripts for only that OU.

About the Author

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