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 10 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, Windows 10 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 10, Home Clean Install
 
 

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 10, Home Clean Install
 
 

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

 New Task Scheduler




Thread Tools





Similar help and support threads
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Tutorials
Task Scheduler : Create Shut Down PC Automatically Task
How to Create a Task that will Shut Down the PC Automatically This will show a very easy way to create a task in the Task Scheduler that will shut down the PC whenever you like. This will work for Windows 7 and Windows Vista. Let's get started! 1) In the Windows start menu search box type...
Tutorials
simple task scheduler question: changing a task name
Hello, I scheduled some tasks in the task scheduler. One of the tasks has a typo and another I would like to change its name. There doesn't seem to be a way of doing this short of resetting up the tasks from scratch and deleting the original tasks. Would anyone know how to rename tasks in the...
Performance & Maintenance
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion

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 13:04.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App