Solved

Automatically shutting down a Windows a PC when not being used in a paticular time

Posted on 2013-10-23
5
253 Views
Last Modified: 2013-10-27
how to Automatically shutting down a Windows a PC when not being used in a paticular time
0
Comment
Question by:harisaboobaker
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:JardaCZ
ID: 39593457
Hi harisaboobaker,
you can use task sheduler. There is an "on idle" trigger. Then use "shutdown" command as action.

Regards,
Jarda
0
 
LVL 10

Accepted Solution

by:
ienaxxx earned 500 total points
ID: 39593458
there are a number of ways you can do that
the simplest should be

you can schedule a script that shuts the PC down to run n times in a particular time period or just one time at a specific hour.
you can then specify that there's a condition (in the "conditions" tab): run only if the computer was idle for ... minutes.

the command to schedule as a .bat script file is:

shutdown -s -d p:01:01 -c "schedul. shutdown" -t 60

Open in new window


that shuts the pc down after a minute.
0
 
LVL 10

Expert Comment

by:Gajendra Rathod
ID: 39599638
I recommend putting machine in sleep mode rather than shutdown as unsafe data will be lost.

If you want a machine to start and shutdown at particular time it can be easy done via BIOS.
0
 
LVL 10

Expert Comment

by:ienaxxx
ID: 39599701
@Gajendra_Rathod: "When not being used in a particular time" it's clear enough, In My Opinion.

In my opinion, if a user leave for more than half an hour in the time-period they know the PC might be shutdown (probably nighttime)... then they SHOULD loose their unsaved stuff, just to learn to save before leaving, next time.
0
 
LVL 7

Expert Comment

by:JardaCZ
ID: 39603564
It was my solution.. so any points??
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now