Key to shut down

dasos

New Member
Is there any way to shut down system or shut down the external disk case with a selected key?
(Win 7 ult. 64)
 

voyagerfan99

Master of Turning Things Off and Back On Again
Staff member
Or if you're real lazy, create a shortcut on your desktop, putting the following in the shortcut location:

Code:
shutdown -s -t 00

Alternately if you want to reboot the computer, you can use the following:

Code:
shutdown -r -t 00
 

tremmor

Well-Known Member
He said external disk case. Suspect usb hd. It has a power supply external. Its just a led light on. Don't worry about it. your drive is down.

Ok ......... read again. Maybe both. messed up.
 

dasos

New Member
Or if you're real lazy, create a shortcut on your desktop, putting the following in the shortcut location:

Code:
shutdown -s -t 00

Alternately if you want to reboot the computer, you can use the following:

Code:
shutdown -r -t 00

I know these commands but I was talking about key (on the keyboard)

He said external disk case. Suspect usb hd. It has a power supply external. Its just a led light on. Don't worry about it. your drive is down.

Ok ......... read again. Maybe both. messed up.


:confused:
 

S.T.A.R.S.

banned
If you want,you can always create a simple program in let's say C# and make it work hidden and when you press let's say F1,the computer does whatever you want it to do such as shut down or opening porn site hahaha :D
(That last one was a joke,but you can do that too if you want lol).

Of course it doesn't have to be F1.It can be ANY keyboard key you make it out to be.

Or if you do not know any programming,I can make it for you for free in about a week.Because in the next 3 days I am busy,but after that I am available.





Cheers!
 

User0one

New Member
You can also use a freeware app called AutoHotKey. This program allows you to save a script to the Startup Folder. I never tried it in Windows 7, but it works in XP.

So for Example, the Program will allow you to save a "shortcut.ahk" file to the Startup Folder. So if you used F1 to Shut Down, the script would read.

; When I press F1, I want to Shut Down
F1::Run, Shutdown.exe -s -t 00

You do have to leave the AutoHotKey program running in the System Tray for the script to be executed. There are some good tutorials on the Internet to help.
 
Last edited:

dasos

New Member
Or if you do not know any programming,I can make it for you for free in about a week.Because in the next 3 days I am busy,but after that I am available.

Yes thank you!!
I ll wait you :)

You can also use a freeware app called AutoHotKey. This program allows you to save a script to the Startup Folder. I never tried it in Windows 7, but it works in XP.

So for Example, the Program will allow you to save a "shortcut.ahk" file to the Startup Folder. So if you used F1 to Shut Down, the script would read.

; When I press F1, I want to Shut Down
F1::Run, Shutdown.exe -s -t 00

You do have to leave the AutoHotKey program running in the System Tray for the script to be executed. There are some good tutorials on the Internet to help.

Can this AutoHotKey shut down the external 3.5'' case, too?
 

Troncoso

VIP Member
If you create a shortcut on the desktop (or anywhere) using the command as voyagerfan suggested, you can then right click the shortcut go to properties > Shortcut tab, and from there you can set a Shortcut key.

If you don't want an icon on your desktop, you can just put it elsewhere, like in your program files or documents folder.
 

User0one

New Member
My External Drives are plugged into a Power Strip on the Floor. I just step on the Red On/Off Button on the Power Strip with my toe. Windows Can't turn off the Power Strip unless you had some smart switches wired in the house.
 

dasos

New Member
If you create a shortcut on the desktop (or anywhere) using the command as voyagerfan suggested, you can then right click the shortcut go to properties > Shortcut tab, and from there you can set a Shortcut key.

If you don't want an icon on your desktop, you can just put it elsewhere, like in your program files or documents folder.

I want a keyboard's key to shut down system, not a shortcut in the desktop.

For the external disk shut down, a shortcut would be enough:)

My External Drives are plugged into a Power Strip on the Floor. I just step on the Red On/Off Button on the Power Strip with my toe. Windows Can't turn off the Power Strip unless you had some smart switches wired in the house.

Are you 100% sure that we cannot shut down external disk via a shortcut?
 

User0one

New Member
A keyboard shortcut for the "Safely Remove Hardware", can be made with AutoHotKey that I know works with XP, but if the USB Drive is Powered by a external power Supply, then that can't be turned off. They do make external Drives that do not have external power supply's, and are just powered by the USB Port. I have one, but it is the smaller 2.5 inch drive.
 
Last edited:

dasos

New Member
A keyboard shortcut for the "Safely Remove Hardware", can be made with AutoHotKey that I know works with XP, but if the USB Drive is Powered by a external power Supply, then that can't be turned off. They do make external Drives that do not have external power supply's, and are just powered by the USB Port. I have one, but it is the smaller 2.5 inch drive.

My friend, I do not want shortcut for the "Safely Remove Hardware" appl, I want a shortcut to shut down(no power) the external disk.
This external case is 3.5'', so there is power supply.

There are shortcuts to shut down the internal hard disk. So why not the external too?
 

User0one

New Member
Windows can't shut down a External Drive Enclosures Power Supply, because the Power Supply is not connected to the PC's Motherboard.

AZiO USB External Hard Drive Enclosure, Model: E377-S31, has a feature that will Spin Down the Hard Drive Platters when the Computer is not in use. There may be other Hard Drive Enclosures that do this, but I believe the Enclosure itself stays powered.
 
Last edited:

dasos

New Member
There is a win task which makes disk not to move when not necessary. Does this task work to external disks?

Windows can't shut down a External Drive Enclosures Power Supply, because the Power Supply is not connected to the PC's Motherboard.

Can windows shutdown an external 2.5'' disk(no power supply), then?
 
Top