How to Make Shutdown, Restart & Lock Shortcuts on Any Windows PC

This guide shows how to make shortcuts to access the power options (Shutdown, Restart, Lock, Sleep, Logout) quickly.

ArsenTechNov 25th, 2025
Table of contents

Introduction

Power options on Windows such as:

  • Shutdown
  • Restart
  • Hibernate
  • Lock
  • Logout
  • Sleep

are essential for turning off your PC, restarting it when something goes wrong, or putting it in sleep mode. This guide will help you create quick-access shortcuts for these actions — all without opening the Start Menu.

If you prefer watching instead of reading, here's the full video guide: Watch the video on YouTube

Step 1 - Creating shortcuts

Start by right-clicking on the desktop and selecting New → Shortcut. Enter the command in the location field, click Next, then name the shortcut. Finish the wizard by clicking Finish.

You will create one shortcut for each power action.

Shortcut Locations

NameLocation (Command)
ShutdownShutdown.exe /s /t 00
RestartShutdown.exe /r /t 00
LockRundll32.exe User32.dll,LockWorkStation
Sleeprundll32.exe powrprof.dll,SetSuspendState 0,1,0
LogoutShutdown.exe /l
Note

The Sleep shortcut works on most devices, but on some modern Windows 10/11 systems this command may hibernate instead of sleeping. If that happens, disable hibernation via powercfg -h off

Repeat the process for all shortcuts listed above.

Step 2 - Icons

Download the icon pack: https://github.com/ArsenTech/downloads/blob/static-files/Power-Icons.zip

Then:

  1. Extract the ZIP file
  2. Right-click a shortcut → Properties
  3. Click Change Icon…
  4. If Windows prompts an alert, click OK
  5. Click Browse
  6. Paste the path to the extracted folder
  7. Select the matching icon
  8. Click OKApplyOK

Repeat this for all shortcuts.

Shortcut Icons

NameFlat DesignFrutiger Aero
Shutdownshutdown flatshutdown aero
Restartrestart flatrestart aero
Locklock flatlock aero
Sleepsleep flatsleep aero
Logoutlogout flatlogout aero

Conclusion

And that's it! You now have instant access to Shutdown, Restart, Sleep, Lock, and Logout options directly from your desktop. This simple trick makes your workflow faster and avoids unnecessary clicking through the Start Menu.

Thanks for reading the guide! For more Windows tips, tricks, and tutorials, check out my YouTube channel.

GitHub @ArsenTech  ·  YouTube @ArsenTech  ·  Patreon ArsenTech  ·  ArsenTech's Website

Related Posts

How to Remove The 000.exe Virus

This guide will help you remove the 000.exe virus without any antivirus software or any help on your infected Windows PC.

ArsenTechNov 26th, 2025

Read more

How to Remove The MEMZ Trojan

This guide will help you remove the MEMZ trojan without any antivirus software or any help on your infected Windows PC. You'll learn to fix MBR corruptions after reading the post

ArsenTechNov 26th, 2025

Read more

How to Remove NoEscape.exe

This guide will help you remove the trojan malware "NoEscape.exe" without any antivirus software or any help on your infected Windows PC.

ArsenTechNov 26th, 2025

Read more

Interactions