-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.Windows 11 Support Center.
- HP Community
- HP Support Community Knowledge Base
- Desktops Knowledge Base
- Desktop Knowledge Base
- power off button in windows 11
hi
How to create a power off button in windows 11..
The trick was already possible with previous versions, but with windows 11 it becomes particularly useful
Indeed, we have two possibilities , but not very practical
we can create a shortcut quite easily that we will place on the desktop directly, or pinned to the taskbar
Just right click on desktop
new, shortcut
a window should open, copy paste the text, then click next
%windir%\System32\shutdown.exe /s /t 0
0 here, corresponds to the delay (second) before the start of the stop, you can increase a little by modifying the value!
rename the file as you want
then you can also change the icon
that's it, all that's left is to double-click to turn off the computer, so be careful where it will be placed!

Be alert for scammers posting fake support phone numbers and/or email addresses on the community.
If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.