Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

command to close viewer listen mode

Post Reply
peterwa
Posts: 1
Joined: 2010-03-10 20:19

command to close viewer listen mode

Post by peterwa »

Hi!

I can't find how to close the viewer when is in listen mode from command prompt.
please help me.
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: command to close viewer listen mode

Post by B »

There's a "-kill" switch mentioned at http://www.uvnc.com/install/cmdline.html

but it ONLY works for the WinVNC process as I'm sure you found out, not for the VNCViewer.

The only way that you can do it at present is to run WIndows' taskkill command:

taskkill /F /IM vncviewer.exe

Worked fine for me. In fact it killed two vncviewers I was running as a test.
klenot
Posts: 3
Joined: 2010-03-10 20:03
Location: Czech Republic

Re: command to close viewer listen mode

Post by klenot »

First, try using taskkill without /f switch. It should try closing an application by WM_CLOSE message, which is a cleaner way of terminating the app. Just when it does not work, then add the /f switch.
Last edited by klenot on 2010-03-15 00:29, edited 1 time in total.
Post Reply