Delete temp tmp files on shutdown

Go down

Delete temp tmp files on shutdown Empty Delete temp tmp files on shutdown

Post by jamied_uk on 17th October 2015, 00:55

cleanmgr /sageset 1

Now open

Navigate to User Configuration > Windows Settings > Scripts (Logon / Logoff) and double-click on Logoff.

Click on Add and Browse in the next window. Right-click in the blank space of the Logoff folder and create a new text document. Name it cleanup.cmd. Open it with a right-click and add the following line to it.
cleanmgr /sagerun 1
Select the file cleanup.cmd and click Open and in the previous menu OK. The file that you created should be now in the list. Click on Apply and OK afterwards. Et Voila, we are done.
All items that you selected during the configuration phase will now be deleted on every system shutdown.

Posts : 2471
Join date : 2010-05-09
Age : 36
Location : UK

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum