How to Auto Shutdown Desktop Computer when at Windows Login Screen(before login)

  • Thread starter Thread starter Skyson
  • Start date Start date
S

Skyson

Hi, anyone out there know the solution of the a/m issue, many thnks for any
advise.
 
Skyson said:
Hi, anyone out there know the solution of the a/m issue, many thnks for
any advise.

Shutting your PC down automatically before logging on seems
counter-productive. Do you want to cripple someone's PC?
 
Don't be mistaken, it's meant for saving electricity bill for my company's
common computer room. Most users will just logoff but don't bother to
power-off the system. If we are able to auto shutdown for instance at
2359hrs, then at least we can save up to a few hours everyday for that 20+
computers in the computer room, any good suggestions ?!
 
The Subject line of this post is somewhat ambiguous because
it did not mention the phrase "after logout)", hence my question.

What you probably need is this: How can you automatically
shut down a computer at a specific time, provided that nobody
is logged on at that time?

You could do it by creating this batch file:

@echo off
c:\tools\psloggedon.exe | find /i "%computername%" && goto :eof
shutdown -f -t 3

Now use the Task Scheduler to run this batch file every day
at 23:59.

You can download psloggedon.exe from www.sysinternals.com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top