Skip navigation

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

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.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish