#1 By: howtogeek, May 6th, 2013 12:36
Originally published at: http://www.howtogeek.com/tips/how-to-run-a-scheduled-task-without-a-command-window-appearing/
Despite the “Hidden” box being checked in the Scheduled Task properties, tasks which would natively produce a interface box (regardless of whether user input is required) – such as a batch script – can still appear as a window on your desktop. For tasks where no user input is required, this can be quite annoying, but thankfully there is an easy fix for this.
#2 By: Waylon Milner, May 6th, 2013 13:36
What happens when the user has to change their password? Will they need to go in to the scheduled task and update it there as well?
#3 By: Jason Faulkner, May 6th, 2013 13:43
The user would need to update their password in the task settings or it would fail.
#4 By: Charlie Barrett, May 7th, 2013 10:01
Our IT department had a service account set up for each user, as well as their normal account. Tasks like that ran under the service account.
The network guys' automatic configuration tools reached out every month and assigned each person's service account a new password, then scanned through all the scheduled tasks using that account and updated those passwords too. They would not tell the users what ther passwords were, though.
it always missed something, like developers IIS startup services, which they also have locked down. So for a week after each password change, the network guys would be hopping around to all us developers trying to get our development environments working again. Fun fun fun...
#5 By: Mark Williams, May 8th, 2013 18:06
Isn't there a trick to put start as the first command in like a batch file to hide the command prompt?
#6 By: Jason Faulkner, May 15th, 2013 11:45
You could do something like that, however the command window would still pop up for a split second when the START command runs.