close
問題:
1. Worker 定時叫用 (Method) Agent Executor
2. 接著 Agent Executor 以不同網域的使用者身分去執行 Job Runner.exe
3. 發生存取被拒的錯誤
目前的解法
use LogonUser first and then use CreateProcessAsUser. The launched process (JobRunner.exe) should be non-interactive:
http://msdn.microsoft.com/en-us/library/aa378184(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms682429(VS.85).aspx
全站熱搜