Removing entries from MRU in RD client

B

Brian Heil

Ok. I've seen 'How to Remove Entries from the Remote Desktop Connection
Computer Box' Q312169 about removing entries from the MRU, but it doesn't
remove the one that shows up in the box. After removing the entries in the
registry, I get the last accessed computer, plus <Browse for more...> when I
drop down the list.

Does anyone know how to get rid of that last entry in the computer box?

Thanks!
 
G

Guest

Delete or rename the default.rdp (hidden) file from your Home Folder

http://www.workthin.com/tshta.htm#RemoteDesktopClientConfiguratio

Patrick Rous
Microsoft MVP - Terminal Serve
http://www.workthin.co

----- Brian Heil wrote: ----

Ok. I've seen 'How to Remove Entries from the Remote Desktop Connectio
Computer Box' Q312169 about removing entries from the MRU, but it doesn'
remove the one that shows up in the box. After removing the entries in th
registry, I get the last accessed computer, plus <Browse for more...> when
drop down the list

Does anyone know how to get rid of that last entry in the computer box

Thanks

-
Brian Heil (319) 335-0675 | Stay Alert! | Technology Service
Systems Admin/Programmer | Trust No One! | University of Iowa
(e-mail address removed) | Keep Your Laser Handy | College of Business
 
B

Brian Heil

In case anyone is interested here is the script I came up with to clear the
MRU list for Remote Desktop Client:

-------------

' Script: ClearRDMRU.vbs
'Purpose: Clears the Most Recently Used list of computers in the Remote
Desktop Client Computer drop down box
' Author: Brian Heil
' Date: 15 March 2004
'Version: V1.2
'History:
' V1.0 - first script. used WMI to delete registry
entries.
' V1.1 - added deletion of Default.RDP file to clear
the computer box as well as the dropdown.
' V1.2 - changed to wscript RegDelete method, sped up
deletion loop significantly.

On Error Resume Next

Set WSHShell = WScript.createObject("WScript.Shell")
Set File = CreateObject("Scripting.FileSystemObject")
MYDocs = WSHShell.specialfolders("MyDocuments")
'Give the user a chance to opt out of clearing the list.
If MsgBox("Do you want to clear the Remote Desktop Client MRU list?" & vbcrlf
& vbcrlf & "You will be notified when complete.",36,"Clear MRU?") = 6 Then
'iterates through the 10 MRU values in the registry and deletes them
For i = 0 to 9
WSHShell.regdelete "HKCU\Software\Microsoft\Terminal Server
Client\Default\mru" & i
Next
'Deletes the Default.RDP file in the current users My Documents
directory. This holds the value
' in the default value in Computer box in the RDC
File.DeleteFile(MyDocs & "\default.rdp")
MsgBox "MRU List Cleared." & vbcrlf & junk,64,"Success"
End If

--
Brian Heil (319) 335-0675 | Stay Alert! | Technology
Services
Systems Administrator/Programmer | Trust No One! | University of
Iowa
(e-mail address removed) | Keep Your Laser Handy | College of
Business
 
B

Bill Sanderson

Thanks for posting this--it is a fairly popular request.

Can we get this hosted by someone? Doug Knox, Jeffery?
 
Joined
Aug 19, 2009
Messages
1
Reaction score
0
ControlHistory

Hi,
My company has created a product that could solve this problem. Our software, ControlHistory allows you to selectively or completely delete your history. You can download it from www.controlhistory.com. It supports
IE (ver. 6+)
Firefox (ver. 3+)
Chrome (ver. 1+)
Google Desktop Search
Many programs like MS Word, Excel, Acrobat Reader, WinRAR, 7-Zip, etc. that save their history in the Registry.

You can use the software for free to view your history but to be able to delete it you need a license. The cost of a license is USD 0.99 (99 cents).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top