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
After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-14: 1.7.1.X-dev release builds need tests and feedback: https://forum.uvnc.com/viewtopic.php?t=38134
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-14: 1.7.1.X-dev release builds need tests and feedback: https://forum.uvnc.com/viewtopic.php?t=38134
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
How to close Tray Icon using Command Prompt
Re: How to close Tray Icon using Command Prompt
To stop a listening viewer, run this command:
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.
Code: Select all
taskkill /IM vncviewer.exeSo you run the exact same command again? This is obviously causing the said error, as the running viewer already listening on 5518.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
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.
