Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: New Task Scheduler


28 Dec 2009   #1
smarr

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
logicearth

Windows 8.1 Pro (x64)
 
 

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
smarr

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
pbcopter

Windows 7 Ultimate x64 SP1, Windows 8.1 Pro x64
 
 

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
richc46

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, clean install, upgrade disc
 
 

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
smarr

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
richc46

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, clean install, upgrade disc
 
 

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

 New Task Scheduler




Thread Tools




Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 10:42 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App