Helping people with computers... one answer at a time.

I have a couple of machines on my local network that I only
access via Remote Desktop Connection. They are "headless" - meaning that they
have no keyboard, mouse or monitor attached. When I access them remotely, there
is no "Turn Off Computer" item on the Start Menu. How do I turn it off, or
restart it?

And as you've seen, when you use Remote Desktop to get to your machine, the "Turn Off Computer" item is missing from the Start menu. To be honest, I'm not really sure why Microsoft chose to do that, it is inconvenient.

But we have ways.

I previously recommended using a copy of psshutdown from the folks over at Sysinternals.com. This is a command line tool that will allow you to shut down or restart a computer remotely. It actually has several options to control how quickly, whether to force running applications to close, and so on. It's quite handy for batchfiles and to create shortcuts for shutting down.

"As it turns out Task Manager already has what we need."

Another approach doesn't involve downloading any additional software. As it turns out Task Manager already has what we need.

On the remote machine, right click on the clock, and select Task Manager. Task Manager has a Shutdown menu, which includes items to Turn Off and Restart. Those do the same thing as the missing Start Menu items.

VideoWatch the video: Restarting Windows XP Remotely where I walk through the steps using Task Manager.

Article C2469 - November 23, 2005

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
51 Comments

The task manager will not have the "Shut Down" dialog if you are not using the welcome screen. This option is changed in the Control Panel under User Accounts and "Change the way users log on or off". You don't have to enable the memory hungry annoying welcome screen if you want to shut down remotely though, and a lot of company computer won't have this option because they are logging onto a domain. To shut down when you do not have the welcome screen enabled, simply press ctrl+alt+end in the Remote Desktop session. This will bring up the same dialog as the "Windows Security" option in the start menu, and from here you can shut down or restart your machine. To disable this option for remote users use the group policy editor.

Posted by: Michael Boratko at December 29, 2006 9:03 AM

We run in a domain enviroment. I found it easy to download psshutdown from sysinternals.com but you could also create a batch file on the desktop that executes shutdown -r. I add -t 10 to shorten the wait. The downside it that you must have admin privledges to execute either method.

Posted by: Guy at February 28, 2007 9:11 AM

There is an utility named process explorer in www.sysinternals.com. this allows you to replace the task manager with a more powerful utility and at the same time you will have what you need. When the app. is running minimized with te right button of your mouse you'll see the shutdown menu. It works I have it on all my machines.

Posted by: Arturo Alvarez at June 20, 2007 11:55 AM

There is also a way to call the shutdown / logoff / restart dilog box programmatically: copy and paste the following code into a .vbs or .vbe file and run it:

'beginning of code
'allows one to remotely bring up the shutdown dialogbox in Windows
Set WshShell = WScript.CREATEOBJECT("shell.application")
WshShell.ShutdownWindows()

Posted by: Peter Wanyonyi at May 26, 2008 10:06 PM

HI
You can use ALT F4 to shut down your head less machine if you are using them remotly. and can use the command shutdown -a machnename

Posted by: Amardeep Rana at May 29, 2008 4:13 AM
Post a comment on "Is there a way to shutdown my headless Windows XP Pro machine remotely?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...