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

How to close Tray Icon using Command Prompt

Any features you would like to see in UltraVNC? Propose it here
Post Reply
anandtpatel
Posts: 2
Joined: 2009-02-10 08:59

How to close Tray Icon using Command Prompt

Post by anandtpatel »

I am starting VNCViewer using command Prompt

"C:\Program Files\UltraVNC\vncviewer.exe" -listen 5518

now i want to close using command prompt from the tray icon so that i can reopen with different port number.

if i wont close and try above command it says its already open
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: How to close Tray Icon using Command Prompt

Post by YY »

To stop a listening viewer, run this command:

Code: Select all

taskkill /IM vncviewer.exe
anandtpatel wrote:now i want to close using command prompt from the tray icon so that i can reopen with different port number.

if i wont close and try above command it says its already open
So you run the exact same command again? This is obviously causing the said error, as the running viewer already listening on 5518.

However, if you really start the viewer and have it listening on another port (e.g. vncviewer.exe -listen 5528), this should be no error return, and both sessions can be running at the same time w/o problem.
Post Reply