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

A developer discovers why Windows 11 is so slow by analyzing how the interface works
Popular

A developer discovers why Windows 11 is so slow by analyzing how the interface works

Behind the sleek design of Windows 11 lies a poorly optimized hybrid architecture. XAML Islands, supposed to modernize the UI, are accused of slowing down the system.

Découvrir
Windows 11: Completely uninstall a stubborn program and clean up its tracks
Popular

Windows 11: Completely uninstall a stubborn program and clean up its tracks

Find out how to completely uninstall software from your computer with our step-by-step guide.

Découvrir
DISM: Repair Windows 10/11 system files and images
Popular

DISM: Repair Windows 10/11 system files and images

Repair Windows system files and images with DISM GUI. Enjoy a fully operational computer.

Découvrir
Is your low-cost Windows license legal? Scam or bargain?
Popular

Is your low-cost Windows license legal? Scam or bargain?

Buying a cheap Windows license: legal or risky? Find out the truth about cheap licenses and avoid scams.

Découvrir
Windows 10: ESU now available to consumers after the end of support in 2025
Popular

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.

Découvrir
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.

Reset a lost or forgotten password on Windows 11

Reset a lost or forgotten password on Windows 11

Have you lost access to your Windows session? Find out how to reset or delete an administrator or Microsoft password, without formatting.