Are you a lazy administrator. I am, I like to administer my network resources from my desk as much as possible. Here are instructions on how to remotely install VNC and remotely manage a users NT/2000 desktop.
1. Prerequsites Note: You need to be an administrator able to log in remotely to install this. Getting admin rights when you are not is another story (and another document). You will need several files. All Free. Download the Windows Version of VNC from http://www.uk.research.att.com/vnc/download.html Download psexec from sysinternals http://www.sysinternals.com/ntw2k/freeware/psexec.shtml 2. File Preparation Install VNC as a service and set up a password Install the software on your on a Windows NT/2000 machine and retrieve the files WinVNC.exe VNCHooks.dll omnithread_rt.dll Also, run regedit and export HKEY_LOCAL_MACHINE\SOFTWARE\ORL to a reg file called vnc.reg 3. Service Installation Copy the files to the remote machine Start -> Run -> \\machinename\c$\winnt\system32 Copy these files to the folder WinVNC.exe VNCHooks.dll omnithread_rt.dll vnc.reg Use psexec to log in to the remote machine psexec \\machinename cmd If you are not there change directory into c:\winnt\system32 c: cd \winnt\system32 install winvnc winvnc -install install winvinc password regedit /s c:\vnc.reg delete reg file del c:\vnc.reg Start the service net start winvnc 4. Now You can connect Now you can connect to your box via gui by using vncviewer or by using your java enabled web browser (IE 5 works) and go to http://machinename:5800 5. Remote removal of VNC Use psexec to log in to the remote machine psexec \\machinename cmd Stop the service net stop winvnc Remove the Service winvnc -remove If you are not there change directory into c:\winnt\system32 c: cd \winnt\system32 Delete the files del WinVNC.exe del VNCHooks.dll del omnithread_rt.dllAuthor Larry Apolonio larry_apolonio@nospa.m.minihowto.com Updated April 4, 2002
Do not email me at psam@minihowto.com