Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

How to Remove the Vnc viewer servers lists

Post Reply
bevtech
800
800
Posts: 2168
Joined: 2005-08-03 14:07
Location: Pennsylvania, United States

How to Remove the Vnc viewer servers lists

Post by bevtech »

See below
Last edited by bevtech on 2006-01-03 13:54, edited 2 times in total.
lizard
Former moderator
Former moderator
Posts: 171
Joined: 2004-05-03 07:43
Contact:

Post by lizard »

ClearMRU.bat
[syntax="batch"]@echo off
echo Emptying VNCViewer's recent sessions list...
set tmpfile=.reg
:testfilename
if exist %tmpfile% goto appendprefix
goto input
:appendprefix
set tmpfile=_%tmpfile%
goto testfilename
:input
echo REGEDIT4>>%tmpfile%
echo [-HKEY_CURRENT_USER\Software\ORL\VNCviewer\MRU]>>%tmpfile%
regedit /s %tmpfile%
del %tmpfile%
[/syntax]

[mod=494,1206179600]replaced code by syntax=batch[/mod]
Last edited by lizard on 2008-03-22 09:53, edited 2 times in total.
Pete-ohki
Posts: 5
Joined: 2011-08-07 11:34

Re: How to Remove the Vnc viewer servers lists

Post by Pete-ohki »

I just found this does not work for me. I'm using the new Windows 7. When I checked that registry key (before trying to delete it), I found that it did not have all the server/host IPs that should be there. Afterwards, when I did a search for "VNC", I finally found a ..\Software\ORL\VNCviewer\MRU registry key in the HKEY_USERS tree, under a really long numeric key, that had all the current IPs in the list. Modifying that key yielded good results.

Just thought I share.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: How to Remove the Vnc viewer servers lists

Post by B »

That "numeric key" hive should be the same thing you find under HKEY_CurrentUser when you're logged in as the person who uses that viewer.
Pete-ohki
Posts: 5
Joined: 2011-08-07 11:34

Re: How to Remove the Vnc viewer servers lists

Post by Pete-ohki »

It should be, but it wasn't for me.
*Hmmm* It is highly possible that I installed the viewer under an administrator account (and of course, used the viewer only in a user account), and the viewer has only been storing the IP numbers in the administrator account's copy of the MRU key.

Update: Nope, your right; I essentially kept running regedit as an administrator. If I run regedit regularly, I can view the correct MRU key in HKEY_CURRENT_USER. A pity; as a user, I can only "merge" a reg file into the registry via the command line, "regedit /s".
Post Reply