Remote shutdown

Yeah, the CLI shutdown command. Assuming you have the relevant permissions to shutdown the remote machine (local admin rights on that PC).

shutdown -s (or -r if you want a reboot) -m \\computername -t 01 (where 01 is the time in seconds before the shutdown starts):

shutdown -s -m \\PC001 -t 01

Would shutdown computer with NETBIOS name PC001, in 1 seconds from the issue of the command.
 
I'm ideally looking for some software that could handle this on a large LAN, although PCs will go into hibernation, you can always go one better on the energy saving by forcing a shutdown (if they are not logged in)
 
I'm confused.

The above will handle it on a large lan. There are GUI front ends for the same command, but at the end of the day, without installing client side services, they will all use the DOS command shutdown.

EDIT: Infact, there is a GUI for the shutdown command built in, which allows you to browse AD and shutdown multiple computers.

Just run shutdown -i from the run box.
 
Ah, you only want a shutdown if they aren't logged in, the OP made it sound as if you just wanted software that would work with no user logged in.

Slightly more tricky, not heard of that scenario before.

EDIT: Thinking about it, if you only want the machines to be off if there is no-one logged in, why not make it so users only have access to the shutdown command, and not the log-off command?
 
Last edited:
That's some smart thinking, I like it :)

I'm not sure how achievable it is though when you're dealing with non savvy PC users.

They might think something is wrong with the PC if they can't log off (yes..). Wouldn't it also mean having to force a certain Windows Start Menu so the Log Off button is hidden etc?

Like I said it's all just in the bid to save a little more power, when there's a few thousand PCs it's going to be at least a little bit of help :)
 
Last edited:
Wouldn't it also mean having to force a certain Windows Start Menu so the Log Off button is hidden etc?

Not quite. You'd either force it through Group Policy (assuming you are on a Windows Server 2000 (or greater) Active Directory Domain, or through local security policy. The options can be found in here:

User Configuration > Administrative Templates > Start Menu and Taskbar
 
Not quite. You'd either force it through Group Policy (assuming you are on a Windows Server 2000 (or greater) Active Directory Domain, or through local security policy. The options can be found in here:

User Configuration > Administrative Templates > Start Menu and Taskbar

Cheers, I have no experience with the server side of life. Does that mean the log out button will not be visible to end users, only the shutdown?
 
there's no power used in hibernation

forcing a domain wide (not the servers) hibernation would be a good idea, keeps the users logged in and returns their open windows when they turn the pc back on
 
I thought maybe at least some power would be consumed since it needs to keep what's stored in the RAM?

I'm guessing it's probably nothing worth fussing over though?
 
Back
Top Bottom