Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want somehow to have an extra turn off functionality on the laptop. Therefore, I am asking the question how to turn off the laptop from an external source (ex. Mouse click). I have seen some suggestions which show to extend the power switch inside the laptop, but I wanted just to check whether it is possible to power the laptop on this way.

share|improve this question

migrated from stackoverflow.com Sep 1 '11 at 21:54

This question came from our site for professional and enthusiast programmers.

1  
You can turn it off, but not on – Sam Dufel Sep 1 '11 at 16:06
    
How can I turn it off? I am interested on that? But of course, having mouse click functionality same pressing normal shut down button on windows! – asterix55 Sep 1 '11 at 16:08
    
@Sam Dufel: You can also turn it on if you have enterprise remote-management firmware... – Mechanical snail Sep 1 '11 at 21:59

[Although not mentioned in your question, in the comments for your question you mention that you are running Windows —DN]

Yes, you can create a desktop shortcut that will launch a command to shut down the system. You can then click the shortcut with your mouse.

I found the following at http://my.opera.com/obiwan2208/blog/system-shortcuts :

Suspend

C:\Windows\System32\Rundll32.exe powrprof.dll, SetSuspendState

Hibernate

C:\Windows\System32\shutdown.exe /h

Power off

C:\Windows\System32\shutdown.exe -s -t 00
share|improve this answer

While danorton's answer is probably what you are looking for, you can turn off the computer with a single mouse click.

Using AutoHotKey, you can do just about anything. This AHK script will make the middle mouse button shutdown the computer.

MButton::Shutdown, 1

share|improve this answer

You must log in to answer this question.