How to add a shutdown button to the desktop in Windows 10

Anonim

How to add a shutdown button to the desktop in Windows 10

In the life of each user there are times when you need to turn off the computer. Conventional methods - the "Start" menu or the all familiar key combination do not work as quickly as I would like. In this article we will add a button to your desktop that will allow you to instantly complete the work.

PC Disconnection Button

WINDOVS has a system utility that is responsible for the function of shutdown and restart the computer. It is called shutdown.exe. With it, we will create the right button, but first will understand the features of the work.

This utility can be made to fulfill their duties with different ways using arguments - special keys that define the behavior of shutdown.exe. We will use such:

  • "-S" is a mandatory argument denoting directly disabling PC.
  • "-F" - ignores applications requests for documents.
  • "-T" - a timeout that determines the time through which the procedure for completing the session will begin.

A command that immediately turns off the PC, it looks like this:

shutdown -s -f -t 0

Here "0" - the time delay (timeout).

There is another key "-p". He also stops the car without additional questions and warnings. Used only in "loneliness":

shutdown -p.

Now this code needs to be performed somewhere. You can do it in the "command line", but we need a button.

  1. Click right-click on the desktop, we bring the cursor to the "Create" item and choose a "shortcut".

    Go to creating a shortcut on the desktop in Windows 10

  2. In the Object location field, we enter the command specified above and click "Next".

    Enter the command to automatically turn off the computer when creating a shortcut in Windows 10

  3. Let the name of the label. You can choose any, at your discretion. Press "ready."

    Enter the name when creating a shortcut for an emergency shutdown of a computer in Windows 10

  4. The created label looks like this:

    Exterior view of the label for emergency shutdown of the computer in Windows 10

    In order for it to become like a button, change the icon. Click on it by PKM and go to the "Properties".

    Switch to the properties of a shortcut for an emergency shutdown of the computer in Windows 10

  5. On the "Label" tab, click the icon shift button.

    Transition to the change of the icon for a label of emergency shutdown of a computer in Windows 10

    "Explorer" can "go to our actions". Not paying attention, click OK.

    Warning Explorer when changing the icon for a label of emergency shutdown of a computer in Windows 10

  6. In the next window, select the corresponding icon and approx.

    Select the icon for a label of emergency shutdown of a computer in Windows 10

    The choice of the icon is not important, the utility will not affect the work of this. In addition, you can use any picture in the .ico format, downloaded from the Internet or created yourself.

    Read more:

    How to convert PNG in ICO

    How to convert jpg in ICO

    Converter in ICO online

    How to create an ICO icon online

  7. Click "Apply" and close "Properties".

    Apply an icon for a label of emergency shutdown of a computer in Windows 10

  8. If the icon on the desktop has not changed, you can press PCM at a free place and update the data.

    Updating data on the desktop in Windows 10

Emergency shutdown is ready, but it is impossible to call it, as you need a double click to start a shortcut. We will correct this shortcoming, having flinking the icon to the "taskbar". Now only one press will be needed to turn off the PC.

Transfer of the icon for a shortcut of the computer on the taskbar in Windows 10

See also: How to turn off the computer from Windows 10 by timer

So we created the button "Off" for Windows. If the process itself does not suit you, go to the launch keys shutdown.exe, and for greater conspiracy, use neutral icons or icons of other programs. Do not forget that the emergency completion of the work implies the loss of all processed data, so think in advance about their preservation.

Read more