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.
"Skyson" <(E-Mail Removed)> wrote in message
news:g097hi$imj$(E-Mail Removed)...
> 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 ?!
>
> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>
>> "Skyson" <(E-Mail Removed)> wrote in message
>> news:g06vto$hgl$(E-Mail Removed)...
>>> 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?
>>
>
>