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

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