Right-Click on Desktop:
Right-click on an empty space on your desktop.
Select "New" from the context menu.
Click on "Shortcut."
Create Shortcut Wizard:
In the location field, type the following command:
bash
Copy code
shutdown /s /t 0
/s tells the computer to shut down.
/t 0 sets the timer to 0 seconds, meaning the shutdown will happen immediately.
Name Your Shortcut:
Click "Next."
Enter a name for your shortcut, like "Shutdown."
Click "Finish."
Change Shortcut Icon (Optional):
Right-click on your new shutdown shortcut.
Select "Properties."
Click the "Change Icon" button.
You might see a warning dialog about no icons being available. Click "OK."
Choose an icon from the list or browse for one you prefer.
Click "OK" and then "Apply."