How to create a logoff Icon on Desktop
Step 1: Right click on desktop then select New then Shortcut
![](https://theoryit.com/wp-content/uploads/2019/07/image-7.png)
Step 2: Put in the following information in the empty field:
C:\Windows\System32\shutdown.exe /l /f
![](https://theoryit.com/wp-content/uploads/2019/07/image-4.png)
Step 3: Change name to Logoff
![](https://theoryit.com/wp-content/uploads/2019/07/image-5.png)
![](https://theoryit.com/wp-content/uploads/2019/07/image-6.png)
Now you should have this icon
To make it look more like a logoff button Right-Click on the icon and select Properties
![](https://theoryit.com/wp-content/uploads/2019/07/image-8.png)
Select Change icon
![](https://theoryit.com/wp-content/uploads/2019/07/image-9.png)
There should be an icon that looks like a Red square with a circle and a line in it
![](https://theoryit.com/wp-content/uploads/2019/07/image-10.png)
Click okay then click okay again on the other Window
![](https://theoryit.com/wp-content/uploads/2019/07/image-11.png)
Now you should have this Icon on your Desktop
![](https://theoryit.com/wp-content/uploads/2019/07/image-12.png)
You can now click this Icon when you are done using the RDP session.
REMINDER: Make sure all important Items are closed out and/or saved before using this as it forcefully closes anything you had open and does not save it