I believe we are talking about where does winvnc read its settings, after a
reboot, when it is running as a service on a Win9x machine. There would be
no user logged on when it starts up. I believe it should read them from
HKLM.
Here is some comments from the vnc source code
// NEW (R3) PREFERENCES ALGORITHM
// 1. Look in HKEY_LOCAL_MACHINE/Software/ORL/WinVNC3/%username%
// for sysadmin-defined, user-specific settings.
// 2. If not found, fall back to %username%=Default
// 3. If AllowOverrides is set then load settings from
// HKEY_CURRENT_USER/Software/ORL/WinVNC3
-----Original Message-----
From: James ''Wez'' Weatherall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 30, 2000 7:03 AM
To: [EMAIL PROTECTED]
Subject: Re: Password/Reg problems
The password is read from HKCU, HKLM/.../Default and HKLM/.../<username>
HKEY_USERS/.Default is not read unless it happens to be the current user's
registry area.
James "Wez" Weatherall
--
"The path to enlightenment is /usr/bin/enlightenment"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK - Tel : 343000
----- Original Message -----
From: "Joe Hughes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Carillon, Mike" <[EMAIL PROTECTED]>
Sent: Thursday, November 30, 2000 11:40 AM
Subject: Password/Reg problems
> Thanks for the help.
>
> To my knowledge of the registry & win9x the first settings loaded (in re:
to
> users) is the HKEY_USERS\DEFAULT, so I'd imagine VNC should pick the
> password outta here.. The weird thing is, when they get prompted with the
> message if they hit cancel, the next time the machine boots - it reads the
> password!
>
> The current installation sequence is as follows; (note : VNC is intended
to
> run as a service in this case)
>
> A .BAT file is ran on login
>
> The batch file checks for VNC exe's in the correct place, if they
exist
> it exits the BAT
>
> If they don't already exist, it proceeds to copy the exe's and dll's
> into the correct place
>
> Regedit -s registry.reg is executed - adding the password (The keys
> within HKEY_USERS\.DEFAULT is added, as well as
> LOCAL MACHINE & CURRENT_USER) - Do I need the L.Machine & C.User??
>
> "WinVNC -Install" is then ran to register it as a service
>
> WinVNC launches in the systray, and I can connect to it with the
> intended password with no errors
>
> I then reboot
>
> On reboot, the service should start at the login screen - which it
> does - but it presents me with WinVNC cannot find the password......
>
> Where am I going wrong?? - I have also written dummy keys (e.g. test)
> into the .reg file - and they appear in the registry in the same place -
so
> the registry is getting written. The only thing i can think is as I am
> writing to HKLM, HKCU & HKU
>
> Thanks again
> ---------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------
---------------------------------------------------------------------
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
---------------------------------------------------------------------
---------------------------------------------------------------------
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
---------------------------------------------------------------------