So I have been researching for hours and tried various solutions, I am still having trouble getting an exe to run while logged off. This is a utility for a 3rd party program called sync.exe. It will not run when called directly in task scheduler.
So we are trying a powershell script which works fine when logged in an running it manually outside task scheduler. But once we set it as a scheduled task, the script apparently runs but the exe that it calls does not start.
We have tried running as a admin group and also privileged AD account. I am using the start-process command in the script and pointing directly to sync.exe. It is located on a local drive so it is not networked.
We cannot figure out why the exe does not run while logged off.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.