Skip to main content

2025 年 2 月 20 日

Configure Group Policy to Start Runonce.exe

By default, some applications that rely on the Explorer.exe file may not run in an application session. To avoid this issue, you must configure a GPO setting to start runonce.exe.

Prerequisites

  • Verify that the Group Policy Management feature is available on your Active Directory server.

Procedure

  1. On the Active Directory server, open the Group Policy Management Console.

  2. Expand your domain and Group Policy Objects.

  3. Right-click the GPO that you created for the group policy settings and select Edit.

  4. In the Group Policy Management Editor, navigate to User Configuration > Policies > Windows Settings > Scripts (Logon/Logoff).

  5. Double-click Logon and click Add.

  6. In the Script Name box, type runonce.exe.

  7. In the Script Parameters box, type /AlternateShellStartup.

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…