Instead of using your mouse to logout or restart your Windows workstation, you can create a shortcut that will accomplish these tasks with a double-click.
Right-click on your desktop and select New, then Shortcut. Enter the following in the “Type the location of the item” box:
logoff.exe if you want to log out of your workstation.
shutdown.exe -r if you want to restart your computer.
You can then name your shortcut whatever you wish, then click Finish. Your new shortcut will appear on your desktop.
Also published on Medium.