Windows 7 Forums


Windows 7: New Task Scheduler

28 Dec 2009   #1

Windows 7
 
 
New Task Scheduler

Does anyone know of a method to force a task to run *only* when all users are logged out (that is, no one is logged in)?

Options are presented for
1-Run only when user is logged on
2-Run whether user is logged on or not

(which to me, is the most obvious choice of bad design possible--they are radio boxes, but non-exclusive)



I would like my backup script to run *only* when the system is logged out. Possible?
My System SpecsSystem Spec

28 Dec 2009   #2

Windows 7 x64 (SP1)
 
 

That would be impossible. Having everyone logged out would mean the computer is off. SYSTEM, LOCAL SERVICE, NETWORK SERVICE are system level accounts that are pretty much always "logged in". But I assume you are talking about normal user level accounts, yus?
My System SpecsSystem Spec
28 Dec 2009   #3

Windows 7
 
 

Yes, let's assume that by "all users" I meant "all humans" and that the computer is powered on, booted and sitting at some type of "please login" screen and waiting for a human to enter a name and password.
My System SpecsSystem Spec
.


29 Dec 2009   #4

Windows 7 Ultimate x64 SP1, Windows 8 Pro x64
Florida, USA
 
 

I would choose Run whether user is logged on or not and select for a trigger - Begin task on disconnect from user session.
My System SpecsSystem Spec
29 Dec 2009   #5

Windows 7 Home Premium SP1, clean install, upgrade disc
CT
 
 

Quote   Quote: Originally Posted by pbcopter View Post
I would choose Run whether user is logged on or not and select for a trigger - Begin task on disconnect from user session.
That appears to be a good solution
My System SpecsSystem Spec
29 Dec 2009   #6

Windows 7
 
 

I'll try that pbcopter. I'm hoping that that, when used with a schedule that will the equivalent of:

If all users are logged out AND it is a certain time of day then perform the task.

That way, a defrag and cleanup can run late at night only if all users are logged out.

Thanks!
My System SpecsSystem Spec
29 Dec 2009   #7

Windows 7 Home Premium SP1, clean install, upgrade disc
CT
 
 

Glad that you found a solution. Have a happy holiday.
My System SpecsSystem Spec
Reply

 New Task Scheduler problems?



Thread Tools



Similar help and support threads for: New Task Scheduler
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder Tutorials
Task Scheduler : Create Shut Down PC Automatically Task Tutorials
Need help creating a task scheduler task to move files over a network. General Discussion
Task scheduler unable to load task status/active tasks at startup. Performance & Maintenance
Solved Task Scheduler failing to start task with merged network locations General Discussion


All times are GMT -5. The time now is 10:37 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32