Question!!
paul.killingley@power.alstom.com
paul.killingley "at" power.alstom.com
Thu, 19 Oct 2000 14:58:12 +0000
I use the following to remotely install VNC onto a machine and install the
service, then using SC.EXE from the NT4 resource kit to start the service. Also
SOON.EXE is needed from the Resource Kit.
With the following in one directory
>From an installed VNC
- omnithread_rt.dll
- Uninst.isu
- VNCHooks.dll
- VNCHooks.reg
- vncviewer.exe
- WinVNC.exe
Create by hand (see below)
- install.bat
- setup.bat
- VNCmach.reg
- VNCuser.reg
Run 'install {remotepcname}'
In VNCmach.reg we set it up so that only a limited number of machines can talk
to each desktop machine, the IP Address will need to be used if you want this.
If not remove the two lines
1 - "AuthHosts"="-:?{admin_pc1_ip_address}:?{admin_pc2_ip_address}"
2 - "QuerySettings"=dword:00000002
This is _NOT_ fully tested (but it seems to be OK) so Good luck!
Paul Killingley.
-- install.bat
@echo off
set RemoteSrv=%1%
md "\\%RemoteSrv%\c$\Program Files\ORL"
md "\\%RemoteSrv%\c$\Program Files\ORL\VNC"
copy Uninst.isu "\\%RemoteSrv%\c$\Program Files\ORL\VNC"
copy VNCHooks.dll "\\%RemoteSrv%\c$\Program Files\ORL\VNC"
copy VNCHooks.reg "\\%RemoteSrv%\c$\Program Files\ORL\VNC"
copy VNCmach.reg "\\%RemoteSrv%\c$\Program Files\ORL\VNC"
copy VNCuser.reg "\\%RemoteSrv%\c$\Program Files\ORL\VNC"
copy vncviewer.exe "\\%RemoteSrv%\c$\Program Files\ORL\VNC"
copy WinVNC.exe "\\%RemoteSrv%\c$\Program Files\ORL\VNC"
copy setup.bat "\\%RemoteSrv%\c$\TEMP"
copy omnithread_rt.dll "\\%RemoteSrv%\c$\WINNT\system32"
soon \\%RemoteSrv% 300 cmd /C C:\TEMP\setup.bat
-- setup.bat
regedit /s "C:\Program Files\ORL\VNC\VNCuser.reg"
regedit /s "C:\Program Files\ORL\VNC\VNCmach.reg"
regedit /s "C:\Program Files\ORL\VNC\VNCHooks.reg"
"C:\Program Files\ORL\VNC\winvnc" -install
-- VNCmach.reg
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]
"AuthHosts"="-:?{admin_pc1_ip_address}:?{admin_pc2_ip_address}"
"QuerySettings"=dword:00000002
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\Default]
"SocketConnect"=dword:00000001
"AutoPortSelect"=dword:00000001
"InputsEnabled"=dword:00000001
"LocalInputsDisabled"=dword:00000000
"QuerySetting"=dword:00000002
"QueryTimeout"=dword:0000000a
"Password"=hex:67,e7,61,7e,28,f2,58,ce
"PollUnderCursor"=dword:00000000
"PollForeground"=dword:00000001
"PollFullScreen"=dword:00000000
"OnlyPollConsole"=dword:00000001
"OnlyPollOnEvent"=dword:00000000
-- VNCuser.reg
REGEDIT4
[HKEY_USERS\.DEFAULT\Software\ORL]
[HKEY_USERS\.DEFAULT\Software\ORL\VNCHooks]
[HKEY_USERS\.DEFAULT\Software\ORL\VNCHooks\Application_Prefs]
[HKEY_USERS\.DEFAULT\Software\ORL\VNCHooks\Application_Prefs\logon.scr]
"use_GetUpdateRect"=dword:00000001
"use_Timer"=dword:00000000
"use_KeyPress"=dword:00000001
"use_LButtonUp"=dword:00000001
"use_MButtonUp"=dword:00000001
"use_RButtonUp"=dword:00000001
"use_Deferral"=dword:00000001
[HKEY_USERS\.DEFAULT\Software\ORL\VNCHooks\Application_Prefs\ODPSys32.exe]
"use_GetUpdateRect"=dword:00000001
"use_Timer"=dword:00000000
"use_KeyPress"=dword:00000001
"use_LButtonUp"=dword:00000001
"use_MButtonUp"=dword:00000001
"use_RButtonUp"=dword:00000001
"use_Deferral"=dword:00000001
[HKEY_USERS\.DEFAULT\Software\ORL\VNCHooks\Application_Prefs\winlogon.exe]
"use_GetUpdateRect"=dword:00000001
"use_Timer"=dword:00000000
"use_KeyPress"=dword:00000001
"use_LButtonUp"=dword:00000001
"use_MButtonUp"=dword:00000001
"use_RButtonUp"=dword:00000001
"use_Deferral"=dword:00000001
[HKEY_USERS\.DEFAULT\Software\ORL\VNCHooks\Application_Prefs\WinVNC.exe]
[HKEY_USERS\.DEFAULT\Software\ORL\VNCHooks\Application_Prefs\Wuser32.exe]
"use_GetUpdateRect"=dword:00000001
"use_Timer"=dword:00000000
"use_KeyPress"=dword:00000001
"use_LButtonUp"=dword:00000001
"use_MButtonUp"=dword:00000001
"use_RButtonUp"=dword:00000001
"use_Deferral"=dword:00000001
> I am trying to be as lazy as possible and not have to go to each of our 400
> desktops and install the service for VNC, is there a way that I can either
> install it remotely or at least do what I need to remotely?
>
> Jeff Harris
> Network Systems Anaylst
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------