31 Oct
Actually Windows XP has a built-in shutdown Windows Remote Shutdown Tool (shutdown.exe) located at Windows\System32 directory. If you run the command shutdown, it shows you that there’s a -m command to remotely shutdown/restart/abort a computer. I tried running the command from my laptop “shutdown -s -m \\pc” to shutdown my desktop and I only get the message “Access is denied“.

Why do I get the access is denied error? To think about it logically, there should be some kind of authentication to remotely shutdown a computer but the shutdown tool didn’t list out any arguments for me to input any username or password.
The best way is NOT to use windows built-in Remote Shutdown Tool. Let’s not crack our heads on this problem when there is a much better tool to do it.
I’ve tested a few program that can remotely shutdown computer and I personally found that Poweroff is the best out there.

Poweroff is a small program for Win95/98/NT/W2K/XP to schedule a shutdown, reboot, logoff, poweroff, Standby, Hibernate, Lock, Wake-On-LAN at a certain time. Poweroff also supports command line options that allows poweroff to be used in batch scripts. It has a built-in scheduler, it allows you to run a program before doing the action, you can give a warning message to the user, wait for a process to finish before doing the action and full remote control is supported.
You can use it to control the power state of your computer and also a remote computer. To perform any actions on your local computer, just make sure “Local Computer” is selected and then select the action that you want. You can have that action being performed immediately or schedule the action at a certain moment in time.
Steps to remotely shut down a computer using Poweroff:
On the REMOTE computer that you want to shutdown.
1. Download Poweroff, extract the ZIP archive and run poweroff.exe
2. Select Service from menu bar and click “Create service“. You should get a message saying “Poweroff service successfully installed“. poweroff.exe will be automatically copied to your Windows\system32 folder and runs whenever the computer is booted up.

3. Check “Allow remote control” and click Settings button.
4. You can specify the port number where poweroff listens for connections or you can use the default 3210. Enter a password. The password is encrypted and stored in registry.

5. On menu bar, click Service and select Save settings to service.
On your LOCAL computer where you want to send the command to remotely shutdown a computer.
1. Download Poweroff, extract the ZIP archive and run poweroff.exe
2. Select “Remote Computer” and click the “Specify” button.
3. You can enter either computer name, IP address, or even hostname (No-IP). Enter password and the port number that you set for the remote computer. Click OK.

4. Select the action that you want to perform and click Do it button.
That’s all. If you’re able to successfully remotely turn off a computer but wasn’t able to the next time, you can go to Services to check if the poweroff service is running or not. Go to Start -> Run and type services.msc. Look for Poweroff and make sure the Status is “Started” and Startup Type is “Automatic“.

Next thing to check is the saved settings. Make sure you did not miss the part where you have to “Save settings to service”.
If you want to turn off a remote computer through the Internet, you need to forward the port 3210 or the port that you specified on your router to the computer that you want to shutdown.
To uninstall Poweroff, click Service on the menu bar and select “Remove service“. Poweroff will not automatically started when you boot up your computer. You can also delete poweroff.exe from Windows\System32 folder.
Note: Using the action “Shutdown” won’t actually shut down your computer. In NT/2000/XP this action will display the standard message “It is safe to shutdown you computer“. If you want to turn off the power of a computer, you should use the “Poweroff” action instead of Shutdown action.
: Copying this article to your website is strictly NOT allowed. However, if you like this article, you can use the HTML code below to directly link to this article.
Remotely Enable Windows Remote Desktop How to REMOTELY disable removable storage devices How To Manually Turn Off Notebook or Laptop LCD Screen How To Use One UPS on Multiple Computers How To Remotely Turn On Computer from LAN and WAN Remotely Start and Stop Applications or Services over the Internet FastPush to silently and remotely install VNC Server
Have computer technical problems? Get FREE help from Raymond.CC FORUM
15 Responses for "How to Remotely Turn OFF Computer from LAN or WAN"
[...] unknown wrote an interesting post today onHere’s a quick excerptAfter I posted an article on how to remotely turn on computer from LAN or WAN, I’ve been getting comments and emails asking me how to remotely turn off computer in a LAN or WAN. Actually Windows XP has a built-in shutdown Windows Remote … [...]
[...] By Raymond on Oct 30, 2007 in Computer Poweroff is a small program for Win95/98/NT/W2K/XP to schedule a shutdown, reboot, logoff, poweroff, Standby, Hibernate, Lock, Wake-On-LAN at a certain time. Poweroff also supports command line options that allows poweroff to be used in batch scripts. It has a built-in scheduler, it allows you to run a program before doing the action, you can give a warning message to the user, wait for a process to finish before doing the action and full remote control is supported. Read the Full Article: How to Remotely Turn OFF Computer from LAN or WAN [...]
There is a “ForceGuest” key in the regestry which is set to “1″ (enabled). It means that all the connection coming from “the network” will be authenticated as the Guest User. For WinXP, the ForceGuest setting is enabled by default when in WORKGROUP mode (not domain) and gives access problems for WMI connections and shares access, other DCOM services and RPC services as well.
Refer to : http://www.derkeiler.com/Newsgroups/microsoft.public.windowsxp.security_admin/2003-02/2268.html
for more details.
Change the key in the registry and you *should* be able to use good ‘ol shutdown.exe again.
I did look into this tool once, but deploying it on to 200 computers just wasn’t very practical for me at that time
[...] can shut down all your computers properly when battery reaches low level. Remember the article “How to remotely turn off computer from LAN or WAN” that I wrote yesterday? We can use Poweroff batch command line to shut down multiple computers. [...]
[...] Check it out! While looking through the blogosphere we stumbled on an interesting post today.Here’s a quick excerptAfter I posted an article on how to remotely turn on computer from LAN or WAN, I’ve been getting comments and emails asking me how to remotely turn off computer in a LAN or WAN. Actually Windows XP has a built-in shutdown Windows Remote … [...]
I’m getting a bit frustrated…
I’ve tried to get the shutdown command in cmd to
work for about 5 hours. I’ve changed most of my settings, and I’ve no idea why i son’t work!!!
is there anyway of shutting down some-ones computer, that is on your network e.g. (school network) by using a totaly internet based program that you dont have to download. My freind keeps shutting down my pc by just using the internet and i dont know how he does it, can anybody help please?
i found this site on google.at by searching for clues how to shut down computers remotely. interestingly google translates the text into german (very badly, by the way). is this deliberate or an \\\”accident\\\”? i cant make much sense of the bad german translation, yet i guess i will figure out how to use the poweroff tool, so this page still was most helpful
can anyone have solution to open port # 20 on the remote computer plz guys………………
Is there any program out there that can be used on Linux to shutdown a computer? I’m trying to get my PS3 with Linux installed to turn off my Windows PC when I tell it to. Any suggestions?
How to Remotely Control Computers Turn off, Fix Volume Control, Starting Time log, Time Off log on Local Area Network
connect():connection timed out (10060)
my problem same as giocicco
connect():connection timed out (10060)
????
I had the same problem as you guys but I found a solution.
You have to allow poweroff.exe (from windows/system32 directory) in Windows Firewall manually.
Now it’s working like a charm
But what if i want turn off PC which si “frozen”/did not answer/?
Leave a reply