Solved

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

Posted on 2013-10-23
5
257 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:Jaroslav Latal
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:Jaroslav Latal
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

So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

803 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