Hi, We have the following environment
Windows 2008 R2 Server fully patched Terminal Server
Logging in as Domain admins
Unable to run vb application via task schedule when set to run when either logged off or locked
Ran schedule task to open notepad and notepad opens when you set the task to run only when logged on.
When we run the same task to open notepad but set to run when either logged off or locked it doesn't open notepad but you can see the notepad.exe running in task manager.
So, I believe if wen can get notpad to open when the schedule task properties are set to run when logged off this will fix the issue with or vb program.
My hunch is it has something to do with Group policy or Security settings. Even then the task is running as domain administrator and we are logged in as the domain administrator.
I have also tested on a windows 8 machine that is not part of the domain and the same issues occur