How do you create a shortcut to shut down your PC from the desktop

How do you create a shortcut to shut down your PC from the desktop?

Turning off your PC with a single click can be particularly useful, whether to save time or automate certain tasks. Rather than using the Start menu or a keyboard shortcut, you can create a shortcut directly on the desktop that will instantly shut down your computer. This quick and easy method lets you execute the shutdown command with a single click, without any additional navigation.

How do you create a shortcut to shut down your PC from the desktop?
Happy reading

Create a desktop shortcut to shut down your PC

A desktop shortcut to instantly shut down your computer can be very useful, whether to simplify the shutdown process or automate certain actions. This step-by-step guide shows you how to create such a shortcut in Windows.

Right-click on an empty space on your desktop.

Select New then Shortcut.

In the window that opens, a field entitled “Enter element location” appears.

Create Shutdown Shortcut Button on Desktop
Images are displayed when advertising is allowed.

Enter the following command:

shutdown -s -t 0
  • shutdown: command for managing PC shutdown and restart.
  • -s: indicates that the computer should shut down.
  • -t 0: means immediate stop (0 seconds delay).

Click on Next.

Give your shortcut a name, e.g. Shut down PC.

desktop shortcut shutdown windows
Images are displayed when advertising is allowed.
Name the shortcut to shut down your PC.

Click on Finish.

Customize the shortcut icon to shut down your PC from the desktop

By default, the shortcut will use a standard icon. To make it more recognizable :

Right-click on the newly created shortcut.

Select Properties.

Change Desktop Shortcut Icon
Images are displayed when advertising is allowed.

Click on Change icon in the Shortcut tab.

A warning window may appear, click OK.

warning no shortcut icons
Images are displayed when advertising is allowed.
Windows warns you that this application contains no icons.

Choose a suitable icon (for example, a stop icon) or import your own .ico file.

Apply Icon to Shutdown Shortcut
Images are displayed when advertising is allowed.

Click OK, then Apply to validate changes.

Find out why you shouldn’t leave your PC on at night.

Does the desktop shutdown shortcut work on all versions of Windows?

The desktop shutdown shortcut works on Windows 11, 10, 8 and 7 with the command shutdown -s -t 0. However, administrative restrictions or Quick Start may affect its operation. To get around this, run the command in administrator mode or use PowerShell(Stop-Computer -Force).

The articles everyone is reading right now

How to test the battery status of a Windows laptop?

How to test the battery status of a Windows laptop?

Find out how to easily test the battery status of your Windows laptop with the built-in batteryreport.

How to limit the battery charge on a laptop?

How to limit the battery charge on a laptop?

Activating a partial charge mode extends the life of your notebook's battery, especially if you often work on mains power.

No more Wi-Fi on your Windows PC? Here’s how to repair your network connection

No more Wi-Fi on your Windows PC? Here’s how to repair your network connection

No Wi-Fi on your PC? Find out how to diagnose the problem, reactivate the network card or use an alternative solution.

How can I find out the installation date of a Windows PC?

How can I find out the installation date of a Windows PC?

Find out how to check the Windows installation date on your computer with a command. A practical guide for technicians and curious users.

Increase Windows 11 virtual memory to optimize RAM

Increase Windows 11 virtual memory to optimize RAM

Find out how to increase virtual memory in Windows 11 to optimize RAM and make your PC faster and smoother every day.

How to reset Windows without losing my files from Settings

How to reset Windows without losing my files from Settings

Reinstall Windows cleanly without formatting or deleting files. A complete guide to getting back on track safely.

Join the Microsoft Insider Program for Windows 11 beta

Join the Microsoft Insider Program for Windows 11 beta

Windows Insider: a comprehensive guide to joining Microsoft's test program and safely installing early versions of Windows 11.

Scroll to Top