Skip to content

Instantly share code, notes, and snippets.

@nolme
Created May 17, 2013 23:47
Show Gist options
  • Save nolme/5602656 to your computer and use it in GitHub Desktop.
Save nolme/5602656 to your computer and use it in GitHub Desktop.
Bleach bit - Microsoft Windows Terminal Server - Cache & MRU
<?xml version="1.0" encoding="UTF-8"?>
<!--
BleachBit
Copyright (C) 2013 Andrew Ziem
http://bleachbit.sourceforge.net
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
Cleaner by Vincent DUVERNET - Nolmë Informatique
Web site : http://www.nolme.com
Version : 1.0
Source : http://www.winhelponline.com/articles/55/1/How-to-redirect-the-Remote-Desktop-Cache-Files-location.html
-->
<cleaner id="windows_terminal_server" os="windows">
<label>Windows Terminal Server</label>
<option id="cache">
<label>Cache</label>
<description>Delete cache</description>
<action command="delete" search="walk.files" path="$USERPROFILE\Local Settings\Application Data\Microsoft\Terminal Server Client\cache\"/>
</option>
<option id="mru">
<label>Most recently used</label>
<description>Delete the most recently used list</description>
<action command="winreg" path="HKCU\Software\Microsoft\Terminal Server Client\LocalDevices"/>
<action command="winreg" path="HKCU\Software\Microsoft\Terminal Server Client\Servers"/>
<action command="winreg" path="HKCU\Software\Microsoft\Terminal Server Client\Default"/>
</option>
</cleaner>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment