Skip to main content

How do I create shutdown shortcuts in Microsoft Windows 7?

Takeaway: Creating shortcuts to shut down or power down a PC running Microsoft Windows 7 is easy, but it does require specific commands.



One of the most often-requested Microsoft Windows tweaks is for shortcuts that shut down, power down, and restart a Windows session. The procedure for Windows 7 is very similar to that of Vista and XP, but now you can pin those freshly created shortcuts to the Start Menu or the Taskbar or both.

Creating a shortcut

Creating a shortcut should be familiar to almost everyone, but we will walk through the process just for clarity. There are other ways to accomplish this task, but this is my preferred method. First, right-click on a clear spot on the desktop and navigate to New | Shortcut, as shown in Figure A.

Figure A

Navigate the menu to create a new shortcut.
When you click the Shortcut menu item, you will arrive at the input screen shown in Figure B. This is where you will enter the specific command strings to make your new shortcut do what you want it to do.

Figure B

Enter the command for your new shortcut.
For our example, we will enter the specific command that will shut down a Windows PC. Type the following command into the box and then click Next.

Shutdown.exe -s -t 00
 
00 denotes the seconds to wait for closeing the running application..
 
This will close all runing application in a second... 
 
The next screen (Figure C) asks you to name the shortcut. I suggest you name the shortcut to correspond to the action it will perform. In this case, we name it Shutdown.

Figure C

Give it an appropriate name.

New icon

Technically, you could stop here, but I prefer to give these shortcuts an icon that will help me remember what it is that they do. In Windows 7, changing an icon is similar to how you changed icons in previous versions of the operating system.
Right-click on the icon in question to get the context menu shown in Figure D and then navigate to the Properties menu item.

Figure D

Find Properties on the menu.
From the Properties control panel, shown in Figure E, select the Change Icon button.

Figure E

Select Change Icon.
The next screen (Figure F) will show you a list of potential icons. Choose the one you want to use and click the OK button twice.

Figure F

Choose your icon and click OK.
You should now have a new shortcut on your desktop. When you click the shortcut, your PC will shut down, so make sure you save your work before you test it.

Windows 7 features

One of the nice features of Windows 7 is that you can pin your new shortcut to the Start Menu and/or to the Taskbar. I am a big Taskbar user myself so that is where I want to put it. Right-click the shortcut to get the context menu and click the Pin to Taskbar menu item (Figure G).

Figure G

Pin the shortcut.
Once the shortcut is pinned (Figure H), you will always have access to a quick shutdown.

Figure H

Shut down anytime.

Additional shortcuts

There are several shutdown and power down commands that you can make into shortcuts. Creating shortcuts for these commands works exactly the same as our example shutdown shortcut.

Restart Computer

Shutdown.exe -r -t 00

Lock Workstation

Rundll32.exe User32.dll,LockWorkStation

Hibernate Computer

rundll32.exe PowrProf.dll,SetSuspendState

Comments

Popular posts from this blog

Cygwin Install Tutorial

1. Introduction OPEN-R requires a Unix/Linux like environment.   To work with it on Windows, the Cygwin package can be used.  It's based on Linux, and allows Linux programs (for the most part) to work under Windows.    You'll need at least 200 MBytes of free disk space available to download and install Cygwin. 2. Download Installer Download the following Cygwin setup program:   http://www.cygwin.com/setup.exe   (~250 KBytes).   Save it to your desktop, and launch once ready. 3. Cygwin Setup After launching the setup program, you'll see this screen.  Click the  Next  button...      4. Installation Type Select "Install from Internet".   Click the  Next  button... 5. Installation Directory The defaults are recommended.   Cygwin software packages will install to "C:\Cygwin". Click the  Next  button... . ...

Hear a PDF Instead of Reading It...

Hear a PDF Instead of Reading It Did you know you can listen to any PDF instead of reading it? It's possible with Adobe Reader 6.0+. Here's the short cut: CTRL+SHIFT+B : This allows you to hear the entire Document (or, you can use View—>Read Out Loud—>Read to the End of Document ). CTRL+SHIFT+V : This allows you to hear just the page you are viewing (or, you can use View—&GtRead Out Loud—>Read This Page ). If the voice is too fast, adjust the speed by going to Control Panel—>(in search box enter "SPEECH" and then click change text to speech setting)  —>Voice Speed—>Slow . You can listen to any PDF instead of reading with Adobe Reader 7.0 or 6.0, and the short cut is: Ctrl+shift+b - to hear the entire Document Ctrl+shift+v - to hear the page Ctrl+shift+c - to resume Ctrl+shift+e - to stop Open any PDF File and test.... its unbelievable..! 

The 7 Best Chrome Apps of 2014

The 7 Best Chrome Apps of 2014 With a brand new year looming large, it’s time for a quick look back at the rear view mirror before pressing on ahead — and what a view 2014 holds for Chrome fans.  We’ve seen native 64-bit builds of the browser land on both Mac OS X and Windows, savoured the introduction of nifty new features like tab audio indicators, and reaped the benefits of developers getting access to new APIs, design guidelines and features. The past 12 months have also seen a great many changes in the world of Chrome Apps. In this post we look back at some of the very best new and updated Chrome Apps from 2014. Sunrise (New) Sunrise  built up a huge following on iOS, making its arrival on Android and Chrome OS ( in May ) all the more anticipated. Kitted out with all kinds of handy organisational wizardry, support for multiple service providers, including Google Calendar, Outlook, Facebook and Todois...