如何强制Logon script被执行

来源:互联网 发布:js文件上传插件 编辑:程序博客网 时间:2024/05/16 12:20

Windows Server 2003 环境中, 在你登入 Domain , 虽然网络联机尚未完全建立, 但其会先用其 Cache 中的认证来进行登入. 在这种状况下, 由于其登入后, 网络联机尚未完全建立, 因此 Logon scripts 有可能不会被执行.

 

下述做法, 可强迫该机器必须完成网络联机后, 才能进行登入.

I. Computer Configuration Administrative Templates System Scripts

Run Startup scripts asynchronously Disabled

Run logon scripts synchronously Enabled

II. Computer Configuration Administrative Templates System Logon

    Always wait for the network at computer startup and logon Enabled