After more 1 000 000 (one million) views on forum for 1.5.0.x development versions... and 1.6.0.0 version
A new stable version, UltraVNC 1.6.1.0 and UltraVNC SC 1.6.1.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38080
Feedback is welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

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

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
A new development version, UltraVNC 1.6.3.0-dev has been released, please test it: https://forum.uvnc.com/viewtopic.php?t=38091
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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