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.
Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…