The problem is that there are multiple passwords defined in your VNC setup -
one for the machine, one for the logged on user.

When you change the password while logged in (when else would you do it, of
course) it modifies the password in HKCU, not HKLM.

First, for reference, here is the WinVNC server documentation page.  You've
probably already read it, but we'll be referring to a couple of ntoes in
there.

http://www.uk.research.att.com/vnc/winvnc.html

(1) Local/Global Per-User Settings
If you look up Password in the registry settings, you will see that it says
it is a "Local or Global per-user setting".

Farther up, you will see the location and a caveat for "Global per-user
settings":

"Global per-user settings.   These are only read if AllowProperties has not
been set to zero[...] Location:
HKEY_CURRENT_USER\Software\ORL\WinVNC3"

When you reset your password as a user, this is where you reset it.

Now look at the definition for the Local per-user settings:

"These override the local default user settings. If there is no current
user, the username SYSTEM will be used. Location:
HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\<username> "
***A note on the above - since you most likely have NOT specifically set a
password while logged on as "System", it will look under the username
"default" instead. When you first set a password for VNC it appears to set
that password for use under "default" also.

(2) Export the new password -
Since the password is a REG_BINARY value, you can't reliably copy/paste.
Instead, export it from HKCU\Software\ORL\WinVNC3

(3) Import as default:
Simply change the key in the REG file over to
HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\Default and reimport, and you should
be synchronized.


----- Original Message -----
From: "Jean LECLERCQ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, 2002-04-05 03:02
Subject: Password change


> With NT 4 or 2000, I have problems when I want to change the vnc server =
> password.
> The new password is effectively available in the session I'm logged in, =
> but if I reboot the  machine and if I try to connect to vnc server =
> before to be logged in, the new password doesn't operate : I have to =
> type the old one.
>
> Can you tell me how to avoid this problem ? I tried to uninstall VNC and =
> to delete all the vnc keys in the registry, using regedit, and it works =
> ; but I think there is maybe an easiest solution to do it ?
>
> Thanks.
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to