Auto install for vnc
Thompson, Dale W.
Thompson "at" pbworld.com
Tue, 09 Oct 2001 15:21:15 +0000
I never set passwords under HKCU; I always just place the one under HKLM.
What I do is import this reg file before even installing vnc, which sets one
password under HKLM. Since I import the same file, all workstations have the
same password. If I need to update the password (which I haven't tried yet),
I would think I could by setting one, exporting a reg file containing only
the Password entry, and importing that on each of the other machines. Here's
the reg file I use initially (sans the actual encrypted password of course):
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL]
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\VNC]
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\VNC\3.3.3]
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3]
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default]
"AllowProperties"=dword:00000000
"AllowShutdown"=dword:00000000
"SocketConnect"=dword:00000001
"AutoPortSelect"=dword:00000001
"InputsEnabled"=dword:00000001
"LocalInputsDisabled"=dword:00000000
"IdleTimeout"=dword:00000000
"QuerySetting"=dword:00000002
"QueryTimeout"=dword:0000000a
"Password"=hex:xx,xx,xx,xx,xx,xx,xx,xx
"PollUnderCursor"=dword:00000000
"PollForeground"=dword:00000001
"PollFullScreen"=dword:00000000
"OnlyPollConsole"=dword:00000001
"OnlyPollOnEvent"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Administrator]
"AllowProperties"=dword:00000001
"AllowShutdown"=dword:00000001
Like I said, I don't put anything under HKCU, so I don't know what you'd do
in your case.
HTH,
Dale Thompson
-----Original Message-----
From: Jimmy Miller [mailto:jmiller "at" SpaceNeedle.com]
Sent: Monday, October 08, 2001 4:08 PM
To: 'vnc-list "at" uk.research.att.com'
Cc: Mike Maguire
Subject: RE: Auto install for vnc
You seem to know VNC really well. I don't have the need to work in such an
advanced fashion, but I am looking for a way to set all users' profiles to
the same password. Considering that I have VNC already installed on these
machines and that each profile currently has a different password. What the
easiest way to do accomplish. Is there a simple reg hack in the current
user key?
-----Original Message-----
From: Thompson, Dale W. [mailto:Thompson "at" pbworld.com]
Sent: Monday, October 08, 2001 3:46 PM
To: 'vnc-list "at" uk.research.att.com'
Subject: RE: Auto install for vnc
I install vnc on Windows NT/2000/98 machines by running a batch file. There
is no interaction required. You'll have to modify this somewhat I'm sure,
but it should give you the general idea. Here's the essence of the batch
file:
<------------ start batch file --------------- make window at least this
wide --------------->
rem stop and remove any previous version
rem it should not matter if there isn't a previous installation
net stop winvnc
"c:\program files\orl\vnc\winvnc.exe" -remove
rem delay 5 seconds
call \\servername\sharename\delay.bat
rem import reg file (from export of HKLM/sharename/ORL key)
regedit -s \\servername\sharename\vnc\defaults.reg
rem install vnc using a silent install file
rem the .iss file was created from doing an install with -r option if I
remember right
\\servername\sharename\vnc\server\setup.exe -s -h1
\\servername\sharename\vnc\server\setup.iss
:wait
rem this wait loop seems only neccessary on Win98
rem wait 5 seconds
call \\servername\sharename\delay.bat
if not exist "c:\program files\orl\vnc\VNCHooks.dll" goto wait
if not exist "c:\program files\orl\vnc\omnithread_rt.dll" goto wait
rem import reg file from vnc installation
regedit -s \\servername\sharename\vnc\vnchoo~1.reg
rem wait some more
rem call \\servername\sharename\delay.bat
rem install and start service
"c:\program files\orl\vnc\winvnc.exe" -install
net start winvnc
-------------- end batch file ------------------
For delay.bat use anything that can pause the batch file for 5 seconds or
so. Hopefully the comments will give all other needed info. This is
"standard" (at&t) vnc, by the way.
As far as the ip address part: if they can hover their mouse over the vnc
icon in the tray and tell you what is says, that should be enough I would
think.
HTH,
Dale Thompson
-----Original Message-----
From: Robert Davis [mailto:sniper_lt "at" hotmail.com]
Sent: Monday, October 08, 2001 2:40 PM
To: vnc-list "at" uk.research.att.com
Subject: Auto install for vnc
I run a computer learning center that attemps to teach people that have no
computer background how to use these machines. VNC would be prefect for me
to help people with their home computers from either my work our from my own
home. The only thing is that at the level that my people are at they could
not even handle the installation, much less finding out what their ip
address is in order for me to connect to thier server side vnc. Any
suggestions on and auto-installer and ip viewer ??? I have a few ideas
myself but would like to hear from the experts first.
BTW. I have looked at the web page for tightvnc. Am I correct in assuming
that you have to install that over both the original att vnc viewer AND
orginal att server????
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------