Solved

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

Posted on 2013-10-23
5
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
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…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
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.
Suggested Courses

623 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