I use VNC here on more than 150 NT and 2000 workstations and have had no problems. In addition to starting it as a service and having one password used whether someone was logged into the machine or not, I also wanted to restrict the user's ability to shutdown or change the password of VNC. So what I do is import this .REG file prior to installing VNC.
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:12,34,56,78,9a,bc,de,f0 "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 (Not the real password, of course. You may want different settings for some of the other items as well.) Then, following installation, I import the VNCHooks_Settings.reg shipped with (standard) VNC, then -install it as a service (winvnc -install, net start winvnc), which completes installation. These registry settings keep regular users from changing VNC's settings or shutting down the service through the icon. If there is a need to change anything it needs to be done through the Administrator's account, as the .REG file gives the Administrator these permissions. To find out what hex values to place in the .REG file for the password, set up one machine with the password you want on them all, then look in the registry under the key listed above (though you might find it under HKCU instead of HKLM). If it's not working like you expect, check the registry for VNC keys outside of those listed above. They may be interferring with proper operation. Hope this helps. -----Original Message----- From: Vincent H. Harris [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 8:28 AM To: [EMAIL PROTECTED] Subject: WinVNC as a service ? I'm trying to install VNC on several Windows 2000 Professional machines so that no one has to be already logged in to the machine. I can't figure out for the life of me how to do it. Any thoughts or suggestions will be sincerely appreciated. Vincent H. Harris, MCP/MCSE LAN Administrator Tier Technologies Lexington, Kentucky 859-335-9291 859-266-0937 _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
