Actually, Matt was right on the money. VNC stores passwords according to
each individual user's profile, but only when they set it the first time.
So, for instance, the first time you run VNC on the system you install it
on, it will ask for a password. The dialog box at that time will be labeled
"Default Local System Properties". Once you set that, it's global. No
matter who is logged in, it will be that password.. UNLESS a specific user
decides to "reset" the password while they're logged in by right clicking on
the tray icon and selecting Properties. If they set a password there, then
when they log in, the password for VNC will be whatever they specified,
until they log out, at which time it returns the the original global
password. If you want prevent this type of behavior, discourage people from
resetting the VNC password while they're logged in.
To clean out all the passwords that have been entered thus far by other
users, and return your system back to the "one-passsword" state, whereas the
only password VNC uses is the "global" one, you can do the following:
1. Open REGEDIT
2. Navigate to HKEY_USERS
3. Browse each key below HKEY_USERS (they will be represented by SID's, i.e.
S-1-5-24-3583334...)
4. Under each key, look for a SOFTWARE\ORL key (so,
HKEY_USERS\S-1-5-24-3583334..\Software\ORL)
5. If you find the ORL key, delete it. The VNCHooks settings are also
located in the "global" key.
6. Make sure to check the HKEY_USERS\.DEFAULT key as well -- delete the
Software\ORL key if it exists.
Now, your system is back to having only one set of registry settings for VNC
(the "global" settings). They are located under
HKEY_LOCAL_MACHINE\Software\ORL. If you do not have a password set, simply
starting the service will invoke the
"Default Local System Properties" dialog box, where you can set the "global"
settings. If you are having trouble getting to that point for some reason,
try this:
1. Open a Command Prompt
2. Change Directory to C:\Program Files\ORL\VNC (CD \PROGRA~1\ORL\VNC)
3. Type in "winvnc -defaultsettings"
4. The "Default Local System Properties" dialog box should be on your screen
now. Set the password you want to use
whenever connecting to VNC.
If you want to prevent the tray icon from appearing when users logon (to
help prevent them from specifying a specific password for VNC when they are
logged in, which brings your system back to the state it was before, where
VNC uses the password a user has specified manually while that user is
logged on), do the following:
1. Open REGEDIT
2. Navigate to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
3. You should see a string value in the Run key entitled WinVNC.
(the commandline on that entry is probably "C:\Progra~1\ORL\VNC\WinVNC.exe"
-servicehelper)
4. Delete the WinVNC string value. This will prevent the tray icon from
appearing when users log on.
(you can invoke the tray icon at any time by dropping to DOS, changing to
the VNC directory, and typing the
"winvnc.exe -servicehelper" command).
Hope this helps,
Chad Pommiss <[EMAIL PROTECTED]>
LAN Administrator - SEARS Home Improvement Products
407.767.0990 x107 | Fax: 407.551.3100
---- Original Message ----
Date: Mon, 9 Jul 2001 14:50:01 -0500
From: Chad Lich <[EMAIL PROTECTED]>
Subject: RE: VNC Password for NT Service on Windows 2000
I have it setup as a service on the machine, and although the service is
started, there is no icon in the tray to make this change.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------