In life there are three things that are certain: death, taxes and a program crashes. WinVNC is a very stable program, but you can knock it over. Slow WAN links or trying to run tight compression on a slow PC can cause problems.
If WinVNC crashes, it will bring up a Dr Watson error and this prevents you from simply restarting the service (thanks Watson).
If you have a the Sysinternals' PSKILL tool - you can get WinVNC back up and running again. You will need pskill and pslist. Both of which are available under the NT/2000 freeware tools section. (NB: The web site has a lot of interesting tools and I'd recommend a good look around).
This quick and dirty cmd file will do the job too. Use it as "filename targetmachinename <enter>".
@echo off set watson= for /f "tokens=1,2*" %%A in ('pslist \\%1 drwtsn32') do @set watson=%%B if NOT "%watson%"=="drwtsn32" goto killwatson if "%watson%"=="drwtsn32" echo No DrWatson process found on NT box "%1". goto end :killwatson Echo Killing Dr Watson Error and restarting WinVNC service, please wait. pskill \\%1 %watson% sc \\%1 start winvnc :end
Save that script to a cmd file and run it with admin rights.