Multimedia

Shutting down the computer for the desktop. How to make a shutdown button in Windows? How to create a shutdown shortcut in windows 7


To quickly change the system state in Windows 7, you can create shortcuts on the desktop that allow you to lock the computer, log out, shut down, put the computer into sleep mode, or reboot. To do this, you need to create a shortcut and enter one of the commands:

Locking your computer– rundll32.exe user32dll,lockworkstation

Logout– shutdown.exe /L

Shutdown– shutdown.exe –s –t 0

Sleep mode– shutdown.exe powrprof.dll,setsuspendstate sleep

As an example, I'll create a command to log out. To do this, I will simply enter “specify the location of the object” in the line and click next. On the next page of the window you need to enter a name for the shortcut; you can leave it unchanged. Then click OK, and the shortcut will be created on the desktop. When a new shortcut appears on the desktop, it doesn’t look very presentable, to make it look more colorful, you can change its icon. To do this, you need to go to the shortcut properties and select the command change icon. Next, we need to select any icon we like. After making your selection, click OK and the Apply button. After these simple manipulations, the label began to look much more attractive.

In order to correctly shut down the Windows 8 or 7 operating system, it is not at all necessary to use the Start panel. There are many alternative ways turn off the PC. In one case, this function is performed by a special windows computer shutdown timer, and in the other, by a gadget whose functions include turning the computer on and off. Let us immediately note that the standard Windows 8 system administration package provides an option to turn off the PC via the command line. But there are many interesting applications, which expand windows capabilities and with their help you can shut down the OS.

Let's take a closer look at the ways Windows 7 and 8 can shut down a computer:

The standard Task Scheduler utility can automatically turn off the computer, as well as turn it on according to a schedule that must be set by the user. A task with the name “Shutdown” and the description “How to turn off windows computer"will permanently shut down the PC at a specified time. This option optimizes and automates work in offices, where at the end of the working day the administrator remotely turns off all computers simultaneously over the network.
Command line Execute also allows you to set a computer shutdown timer, which fires after the time set by the shutdown command syntax in seconds.
You can download a special timer to turn off your PC and use it to set the computer to automatically turn off at a time. As a rule, users are offered software that also contains a set of settings for locking the PC and rebooting it. It is often available for free.

So, we have confirmed that in addition to the standard method for shutting down windows, you can use the OS service service and determine the time for automatic shutdown PC via Task Scheduler. In addition to this method, it is possible to download a free timer to stop Windows in the form of a special gadget. Such a program will have its own specifics, which the client will learn during use.

You can turn off and restart your computer or laptop in different ways. And if in Windows 7 and XP it is enough to click Start - Shutdown, then in Windows 8 this procedure takes longer. Here you need to move the mouse cursor to the right corner, wait 1 second, select Settings - Shutdown and only there will be “Shutdown”. Quite inconvenient, right?

The good thing is that in Windows you can make a PC shutdown button and place it on the desktop, pin it to the taskbar, or place it on the Start screen. And then just one click - and the PC or laptop will immediately turn off.

Power off button on working Windows table can be created for various reasons: for parents, inexperienced users or for yourself (it’s convenient). It will also help out if the PC does not turn off in the standard way (problem with drivers, etc.).

This is a common shortcut. You just need to create it, enter the appropriate command and save it. For clarity, below is an example of how to create a button to shut down, restart and hibernate a PC.

The instructions described are universal and suitable for Windows 10, 8, 7 and XP. Moreover, you can save these shortcuts to a flash drive, and then use them at work, give them to friends, etc.

How to create a shortcut to turn off your computer?

That's it. The shortcut has been created successfully.

Since it doesn't look very good, you can change the icon. To do this:

Now the PC shutdown shortcut looks nicer, right? For convenience, you can select it, right-click and pin it to the Start panel or taskbar. In Windows 8 and 10, you can also pin it to the Start screen.

How to make a reboot shortcut?

If you need to restart your PC or laptop frequently, you can make a restart button on your desktop, taskbar, or start screen. The principle of operation is the same, only the command is slightly different.

So, to make a reboot shortcut:


It will not be possible to register two commands at once. Therefore, if you need to make a shutdown and reboot button at the same time, you will have to create two shortcuts.

Hibernate button on desktop

If you need a hibernation shortcut, then:


Done – the hibernation shortcut has been created.

On Windows latest versions There is various ways reboot and shutdown, one of which is pressing the corresponding Start menu buttons. However, the need to complete work using this method can cause certain inconvenience. To make the process of shutting down your PC as easy as possible, you can create a corresponding shortcut on your desktop.

Creating a shutdown button

To reboot and shut down, the Windows system uses a special built-in utility called shutdown. exe. Using the settings of this program correctly, you can create a shortcut to shutdown your computer in Windows 7/8/10, as well as restart and logout icons. The only exception is hibernation, since a completely different program is responsible for switching to sleep mode.

Usually the shortcut is placed on the desktop, but later it can be moved to the taskbar or to another convenient place. To create a shutdown icon:

The quick shutdown PC button is ready: you can now shut down Windows in one click.

A similar method is used to create shortcuts for reboot, logout and hibernation, but you will need to enter different values ​​in the location field:

  • shutdown -r -t 0 or %windir%System32shutdown.exe -r -t 00 - to restart the OS;
  • shutdown -l - to exit the system;
  • rundll32.exe powrprof. dll, SetSuspendState 0,1,0 - to switch to hibernation mode.

Changing the icon

To ensure that the shortcut is recognizable and visually matches the action being performed, it would be wise to change its icon. The latter can be selected in the appropriate system folder or create it yourself.

To change the icon as standard, you need to:

  1. Right-click on the created shortcut and find among the items context menu"Properties".
  2. Go to the “Shortcut” tab and click the change icon button.
  3. Select the one you like among the proposed icons and click OK.

You can create an icon for the shortcut yourself by drawing a picture or editing the image you like in the Paint application. For those who do not know how to draw, the second option is preferable:

To set a saved icon as an icon, you need to follow steps 1 and 2 of the standard instructions, and then click the “Browse” button and find the required file.

In addition, you can download your favorite icons from the Internet. Absolutely any image with the .ico extension will do - from a road sign to an image of a tropical forest. There are also special utilities that contain ready-made icon packs and change the design of folders at the user’s request, but most of them are paid or have very limited functionality.

Once you've customized the shortcut, you can pin it to the taskbar or to full screen panel by clicking on the icon right click mouse and selecting the appropriate item in the drop-down menu. To pin a shortcut to the taskbar in Windows 7, simply drag it there with the mouse.

Special utilities

For users who want to simplify the process of turning off their computer as much as possible, there are special programs, allowing you to shut down or go into sleep mode automatically. This action is carried out in advance set timer. If desired, you can configure daily auto shutdown at a specified time.

Among the programs for automatic shutdown are:

  • PowerOff;
  • TimePC;
  • OFFTimer;
  • Switch Off;
  • SMTimer.

In addition, in World Wide Web you can find a huge number of gadgets to turn off. Placing them on the desktop allows you to reboot, log off and shut down in one click. At the same time, you do not need to perform any additional actions (including installation) for the gadget to work. The method is suitable for all versions of Windows starting with Vista.

Creating a shutdown button in Windows 8, 7 or 10 is a matter of a few seconds, and even a beginner can handle it. And for those who do not want to spend time creating shortcuts, ready-made utilities are provided, which you just need to download.

Hello friends. I would like to apologize that the blog has been unavailable for several days. But this is not my fault, it’s all my hoster’s fault. But it happens, sometimes you have to apologize for someone. To avoid getting into awkward situations, you should be serious about choosing hosting. You can read about this in the article:. And now we will once again understand the intricacies of Windows system settings. Let's create it on the desktop shortcut to reboot, shutdown and a shortcut to the sleep mode of a computer running under the operating system Windows system 7 or 8.

First let's create computer shutdown shortcut. Right-click on the desktop and select: Create shortcut:

And in the field of the window that appears, enter this value:

C:\Windows\System32\shutdown.exe

In order to give the created shortcut an appropriate appearance, we will give it a picture. Right-click on the shortcut and select: Properties, then Change icon and select the appropriate one from the proposed list. For this case I have .

In a similar way, we create a shortcut for . Let’s just write a slightly different meaning:

shutdown.exe -r -t 00

shutdown.exe -r -t 00

I don’t know about you, but I use the computer’s sleep mode very often because sometimes. This is convenient when you need to go somewhere urgently, but because of unsaved and important files, you cannot turn off the computer, otherwise all data will be lost. Double-clicking the shortcut on your desktop will instantly put your computer into sleep mode. And when the time comes to turn it on again, just press any button on the keyboard or mouse and in a matter of seconds you are ready to work again. But sometimes, when I come home, I notice that the computer is already turned on. This means that someone was walking on the keyboard. 🙂

In order for the computer to go to sleep when you double click on the shortcut, you need to enter the following:

rundll32.exe powrprof.dll, SetSuspendState 0 ,1 ,0

rundll32.exe powrprof.dll, SetSuspendState 0,1,0