Client Tray Icon Removal
To disable the tray icon, run WinVNC as a service and disable "Service Helper"
autorun from the registry. When WinVNC runs as an NT service, it doesn't
create its tray-icon by itself. This is done by running the "Service Helper"
after it. WinVNC installations configure the Service Helper to be automatically
executed in the registry. Delete or rename the "WinVNC" value:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\
WinVNC=""C:\Program Files\ORL\WinVNC\WinVNC.exe" -servicehelper"
TridiaVNC 1.3.3 and later support a registry setting, DisableTrayIcon, which
supresses the tray icon without disabling the service helper. In addition, it
works on Win95/98/ME as well as when the WinVNC server is running as an
application on WinNT. Tridia 1.3.3 changelog reports:
Added registry flag to cleanly disable the tray icon on all platforms
and in all modes without affecting other settings. The default is "0"
and indicates that the tray icon should not be disabled. A value of "1"
will suppress the tray icon for all users.
HKLM\SOFTWARE\ORL\WinVNC3\DisableTrayIcon DWORD "0"
HKLM\SOFTWARE\ORL\WinVNC3\DisableTrayIcon DWORD "1"
One thing to watch out for with XP, is that in the Management Console there is a
setting that says "make all network connections as guest" (or words to that effect).
This prevents an administrator connecting remotely and accessing the admin shares /
registry. You'll need to change this to get fastpush to work.
Fastpush
Fastpush Homepage
Fastpush HowTo
Fastpush is a script that can remotely install WinVNC on to a computer running
NT, 2000 or XP. You need admin rights to do this, but it will work over any
reasonable network connection.
Usage:
vnc (remote NT box) (blank, /vnc or /tridia) (/test) (/user user password)
(remote NT workstation name) must not begin with \\ and if it is a pure
number address, you should use the PC's full domain name.
/user (name) (password) = connect with these login creditials.
/reg = No file install, just update the registry
/uninstall or /remove = Deletes service, files and registry keys
/noview = Do not install VncViewer to the client
/log = log results to current dir in results.txt
/config = use this config file from script's folder
/noshortcut = Do not create Start Menu links on target
/manual = Set service to not start automatically
Flavors:
You can set the default VNC choice using the "flav" variable (see script)
/vnc = VNC 3.3.3 release 7
/vnc9 = VNC 3.3.3 release 9 (turns wallpaper off)
/real334 = RealVNC (release 3.3.4)
/real336 = RealVNC (release 3.3.6)
/tight12x (x is 4 to 6) = Install TightVNC version 124, 125 or 126
/tridia13 /tridia14 /tridia15 = Install Tridia 1.3, 1.4, 1.5 or 1.52
/tridia152
/zvnc = Install zVNC (zebedee comp/encryption)
/esvnc11 /esvnc111 /esvnc112 = Install esVNC (file transfer etc)
Examples:
vnc server2 /tridia152 /noview = install tridia 1.52 but not the viewer
vnc joe /reg /config d:\ps.ini = Do not install any files but delete and
update VNC settings with the new ini file
vnc joe /reg = Do not install any files. Overwrite
existing settings with common settings
vnc freds_pc /uninstall = remove VNC service, reg keys and files
vnc freds_pc /uninstall /user engineer letmein
= as above, except attach as that user
vnc smtp-mail /config serv.ini = use a custom regini file from the fastpush
folder instead of machine.ini
vnc smtp2 /config d:\serv.ini = use a custom file from the specified path
vnc user4 /warning = install warning box
Preparing Fastpush INI
Before you can use Fastpush, you will need to configure some of the ini files.
These are basically registry dumps performed with regdir.exe and piped out to
a file. All of the ini file are kept in the common subfolder, while reg.exe
lives in utils. Most of the donkey work has been done in machine.ini, but you
will need to get your VNC password into that file.
Hkey Local Machine\Software\Orl\Winvnc3. There should be a key marked default.
This is where WinVNC keeps it default password.
Install VNC to initialize registry settings (such as password):
winvnc.exe -install
Once all settings are correct, use the regdir.exe command from the utils dir
to extract the registry settings:
regdir \registry\machine\software\orl\winvnc3\default
regdir \registry\machine\software\orl\winvnc3\default -m \\testPC
\registry\machine\software\orl\winvnc3\default
SocketConnect = REG_DWORD 0x00000001
AutoPortSelect = REG_DWORD 0x00000001
InputsEnabled = REG_DWORD 0x00000001
LocalInputsDisabled = REG_DWORD 0x00000000
IdleTimeout = REG_DWORD 0x00000000
QuerySetting = REG_DWORD 0x00000002
QueryTimeout = REG_DWORD 0x0000000a
Password = REG_BINARY *x********* *x******** *x********
PollUnderCursor = REG_DWORD 0x00000000
PollForeground = REG_DWORD 0x00000001
PollFullScreen = REG_DWORD 0x00000000
OnlyPollConsole = REG_DWORD 0x00000001
OnlyPollOnEvent = REG_DWORD 0x00000000
Take (copy and paste) password and place in custom ini file or machine.ini.
vnc targetpcname /tridia152 /noview /log /noshortcut /config vnc.ini