Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

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

how to Automatically shutting down a Windows a PC when not being used in a paticular time
0
harisaboobaker
Asked:
harisaboobaker
  • 2
  • 2
1 Solution
 
Jaroslav LatalMSPCommented:
Hi harisaboobaker,
you can use task sheduler. There is an "on idle" trigger. Then use "shutdown" command as action.

Regards,
Jarda
0
 
ienaxxxCommented:
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
 
Gajendra RathodSr. System AdministratorCommented:
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
 
ienaxxxCommented:
@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
 
Jaroslav LatalMSPCommented:
It was my solution.. so any points??
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now