Monday, May 28, 2012

Auto-delete temporary folder

,
We all know what's the temporary files folder...., junk after use.

Some programs create temporary files and then leave them behind - they do not delete them. This can happen because the program crashed or the developer of the program simply forgot to add the code needed to delete the temporary files after the program is done with them (disk leak). In Microsoft Windows the temporary files left behind by the programs accumulate over time and can take up a lot of disk space. System utilities, called temporary file cleaners or disk cleaners, can be used to address this issue. Personal workstations with UNIX-based operating systems do not suffer from the same problem because their temporary files are wiped at boot. Servers, however, are affected because they are rarely rebooted. Anyone ever wondered if there was an automated task to prevent wasting time ? ;)



Windows XP Pro:
Head to Start & Run > gpedit.msc (Group policy editor)
Then follow:
Computer Configuration > Administrative Templates > Windows Components > Terminal Services > Temporary Folder
Finally, right click Do not delete temp folder upon exit & set to Disable.

Windows 7 Ultimate:

Head to Start & Run > gpedit.msc (Group policy editor)
Then follow:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Temporary Folders
Finally, right click Do not delete temp folder upon exit & set to Disable.


Cheers.

0 people replied to “Auto-delete temporary folder”

Post a Comment