15
2
I am migrating a system from XP to Windows 7. I ported a scheduled task that worked fine under XP to the Windows 7 environment by re-creating the job in the new scheduled tasks manager, and calling the same batch (.CMD) file. In the task properties General tab, the Hidden checkbox is not checked. The CMD file runs normally (visible) if started from a CMD window prompt or from Explorer.
But when the task is started by the Task Scheduler, it runs hidden. The CMD window is not visible and the UI of the program that it runs (a backup program) is not visible. The processes are listed in Task Manager, and they are running under my user name (not SYSTEM or LOCAL).
Can anyone explain why this task is running hidden, and how I can make it visible?
7
Otherwise it is hidden (regardless of the setting of the "Hidden" checkbox).
That’s because theHidden
checkbox has nothing to do with how the program is displayed when it is run, it determines whether the Task is Displayed in the Task Scheduler or not. When it is checked, the task is only visible if you selectShow Hidden Tasks
from theView
menu. – Synetech – 2015-10-02T20:48:23.6331Wow.. FINALLY got my startup script to work - I think. And just because I had it set to run always no matter if I was logged on or not I could never figure out why it didn't run. Thanks, tim11g! Now my script wake up when it's asleep and do what it needs to do.. – Malachi – 2018-03-01T21:39:06.113