In Windows 10 I was able to easily create shutdown, sleep and restart icons for the desktop. I found an instruction on the Dell site on how create a shutdown icon for both Win 10 and Win 11, but the command that they say to use is slightly different than the one I’ve used. And although briefly Googling turned up some instructions for sleep and restart, the difference already mentioned makes me unsure enough that I thought I’d better ask here. (I don’t want to break anything.)
Here’s the way I created a shutdown icon in Win 10:
- Right-click the Desktop
- New | Shortcut
- Type “Shutdown.exe /s /t 00” — without the quotation marks
- Type name of the shortcut | Finish
For restart and sleep, the method is the same, with slightly different commands, as follows:
- Restart: Shutdown.exe /r /t 00
- Sleep: rundll32.exe powrprof.dll,SetSuspendState 0,1,0
The Dell site is here: https://www.dell.com/support/kbdoc/en-sg/000123375/how-to-create-a-shutdown-button-for-windows-8-or-windows-10
Notwithstanding the language in the URL, the instructions say that they apply to Win 11. Their command for shutdown is: “shutdown /s /t 0”
That is, no “.exe” and only a single “0” at the end.
I’d appreciate advice on the proper way to create all three icons in Windows 11.
Thanks.