Solved

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

Posted on 2013-10-23
5
254 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Copying .exe file to a specific folder after deployment in MDT 10 22
Issue, I cannot upgrade to IE 11 15 74
Run time Error 4 34
pre-selecting applications in MDT 7 15
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 …
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

910 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

22 Experts available now in Live!

Get 1:1 Help Now