The basic thing is to copy the VNC files and settings to the target
computer, rather than going through the setup process - these have the same
effect.
So first of all, install VNC on a clean computer, reboot a couple of times
to make sure all the settings are staying put (I seem to remember sometimes
the password doesn't hold on the first reboot).
Then export the VNC subtrees from the registry.
I believe there are three, in HKEY_CuRRENT_USER, HKEY_LOCAL_MACHINE and
HKEY_USERS\.DEFAULT.
Export them to three .reg files is easiest.

Now all you have to do is copy the c:\program files\vnc directory and
c:\winnt\system32\omnithread_rt.dll to the target machine and import the
registry settings.

This is done with the NT Server Resource kit tools rsetup and rclient.
Rclient allows you to tuin a command prompt on a remote machine as if you
were actually at that machine - the comamnd prompt runs in the background on
the remote machine and doesn't affect the user currently on it.

rsetup must be used to setup the remote command prompt service.
Then rclient can be used to connect.
You'll have to look up the details of the two commands, as I have forgotten
and don't have access to an NT4 resource kit.
The rclient should be run with the batch command switch on, and get it to
run the following batch file:

cd c:\program files
md vnc
copy \\server\vncshare\winvnc.exe c:\program files\vnc
copy \\server\vncshare\vnchooks.dll c:\program files\vnc
copy \\server\vncshare\omnithread_rt.dll c:\winnt\system32
regedit /s \\server\vncshare\vnc1.reg
regedit /s \\server\vncshare\vnc2.reg
regedit /s \\server\vncshare\vnc3.reg
winvnc -install

This will copy the relevant files, install the registry settings and then
install VNS as a service.

If you write a batch file to execute the rclient command, then you can pass
a list of computer NETBIOS names to it (these are used in the rclient
command) to automate the installation across aall 400 machines.

Hope this helps.
email/post if you need more info.

----------------------------------------------------------------------
Ian Cowley            | [EMAIL PROTECTED]     | www.iancowley.co.uk
Christ's College      | Tel: +44(0)7979 474830  | ICQ: 37181817
Cambridge, CB2 3BU    |      +44(0)1223 700648  |                 |
--
People think I'm crazy but actually, I'm just bored


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dani Tal
> Sent: Sunday 04 March 2001 14:21
> To: '[EMAIL PROTECTED]'
> Subject: RE: remote installation of vnc servers
>
>
> Hi,
> I am interested in this batch.
> Do you have an idea on how I can use a common password for all
> and change it
> regularly?
>
> Best Regards,
>
> Dani Tal
> Manager of Information Systems
> & SBS  operations in Israel.
> Siemens Israel Ltd.
> Hatamar Street 2, P.O.Box 58, Yoqneam 20692  ISRAEL.
> phone:  +972-4-959 00 95                                  fax:
> +972-4-959
> 00 10
> e-mail: <mailto:[EMAIL PROTECTED]>      web: http://www.siemens.com
>
>
> -----Original Message-----
> From: Ian Cowley [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 04, 2001 3:44 PM
> To: [EMAIL PROTECTED]
> Subject: RE: remote installation of vnc servers
>
> Are you using an NT domain?
> If so, I have a batch program that will install VNC Server to remote
> computers on the network.
>
> email me for more info.
>
> ----------------------------------------------------------------------
> Ian Cowley            | [EMAIL PROTECTED]     | www.iancowley.co.uk
> Christ's College      | Tel: +44(0)7979 474830  | ICQ: 37181817
> Cambridge, CB2 3BU    |      +44(0)1223 700648  |                 |
> --
> People think I'm crazy but actually, I'm just bored
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of David Ng
> > Sent: Sunday 04 March 2001 06:28
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: remote installation of vnc servers
> >
> >
> > We have just started to use the vnc program .
> >
> > Can someone explain how to do remote installation of
> > vnc server ?.
> >
> > We have 400 stations in 15 locations .
> >
> > We need method to automatically deploy and install vnc
> > server .
> >
> > A batch file will be great .
> >
> > Thanks
> > David
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail.
> > http://personal.mail.yahoo.com/
> > ---------------------------------------------------------------------
> > 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
> ---------------------------------------------------------------------
---------------------------------------------------------------------
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
---------------------------------------------------------------------

Reply via email to