diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/winvnc/winvnc.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx index ff16aacd..57f9f3d4 100644 --- a/win/winvnc/winvnc.cxx +++ b/win/winvnc/winvnc.cxx @@ -168,6 +168,11 @@ static void processParams(int argc, char** argv) { runServer = false; int j = i; i = argc; + + // Try to clean up earlier services we've had + rfb::win32::unregisterService("WinVNC4"); + rfb::win32::unregisterService("TigerVNC Server"); + if (rfb::win32::registerService(VNCServerService::Name, _T("TigerVNC Server"), _T("Provides remote access to this machine via the VNC/RFB protocol."), |