How to make shortcut to Close, Restart or Lock pc

Here are the steps (windows 10)

1 : right click on desktop > New > Shortcut

2 :chose your action : shutdown /s /t 0 to shut down

shutdown /r /t 0 to restart or

rundll32.exe user32.dll,LockWorkStation to lock pc

ex: cmd /k shutdown /r /t 0

after that click Next < Finish

Adittional step to change icon : right click your shortcut < Properties < Change Icon… Then chose the icon you want!

here are the copy past : cmd /k shutdown /r /t 0 (restart)

cmd /k shutdown /s /t 0 (turn off)

cmd /k rundll32.exe user32.dll,LockWorkStation (go to lock screen)

try it out now!

im
on a macbook

well.. do you have a windows computer?

beceause you’ll need windows 10, powershell, cmd (admin) and i don’t know apple’s system so i don’t think i can help you with that, sorry.

if you want more information just ask me!

i just press win+X then press U twice
its way easier

yea but have those button is cool, right?