Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Prométhée
Views : 6,679
67% helpful (2/3)

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

éteindre 1.gif

 

éteindre 2.gif

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
éteindre 3.gif
that's it, all that's left is to double-click to turn off the computer, so be careful where it will be placed!

 

💡If you have any questions regarding this or any other topic, please click here to create a new post. 

Contributors
† 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>.