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

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
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

Click on Change icon in the Shortcut tab.

A warning window may appear, click OK.

warning no shortcut icons
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

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

Install and activate gpedit.msc Group Policy on Windows 11 Home

Install and activate gpedit.msc Group Policy on Windows 11 Home

Find out how to activate gpedit.msc on a Windows Home edition, unlock features and customize your system.

Installing and activating Hyper-V on Windows 11 Home with PowerShell

Installing and activating Hyper-V on Windows 11 Home with PowerShell

Find out how to activate Hyper-V on Windows 11/10 Home with PowerShell. Follow our guide to using virtualization without upgrading to Windows Pro.

Hyper-V is a type 1 hypervisor, not a type 2 hypervisor

Hyper-V is a type 1 hypervisor, not a type 2 hypervisor

Hyper-V is often mistaken for a type 2 hypervisor. Find out why it's actually a type 1, integrated into Windows but running on hardware.

Windows 10: ESU now available to consumers after the end of support in 2025

Windows 10: ESU now available to consumers after the end of support in 2025

Windows 10: everything you need to know about the ESU program to keep receiving security updates and avoid vulnerability risks.

FlyOOBE: migrate to Windows 11 if your PC is not compatible without reinstallation

FlyOOBE: migrate to Windows 11 if your PC is not compatible without reinstallation

Flyoobe lets you migrate to Windows 11 on a non-compatible PC, without reinstalling or losing data. See how it's done with a local ISO.

Microsoft Defender will continue to protect Windows 10 until 2028

Microsoft Defender will continue to protect Windows 10 until 2028

Security reprieve for Windows 10! Microsoft Defender Antivirus will receive security updates until October 2028 despite the official end of support.

Force ESU registration on Windows 10 if your PC doesn’t display the

Force ESU registration on Windows 10 if your PC doesn’t display the

Is your PC not displaying the ESU registration button? Find out how to force access to the registration page in Windows 10 and extend security updates.

Scroll to Top