Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

How to replicate "Add New Client" functionality in cmd line

Post Reply
romrom3254
8
8
Posts: 9
Joined: 2015-06-01 14:22

How to replicate "Add New Client" functionality in cmd line

Post by romrom3254 »

I have tried many options in the past but still did not have any luck getting this to work so any assistance would be greatly appreciated: This is my issue: If I go to the host computer (where the server is), right click on the tray icon, select "Add New Client" and enter "myhostname.com" for the "Host Name" and 21 for the connection # then I'm able to connect without any issues whatsoever. However, I'm trying to mimic this functionality by calling winvnc using another application that I created (to make it easier for the user so they don't need to type in my host name every time). I'm calling the following command line from my program:
winvnc -connect myhostname.com::9177 -id:21
However this doesn't work (it just ignores me). Am I doing something wrong? If I add the tag "-run" then it tells me that another instance is already running. What can I do?
romrom3254
8
8
Posts: 9
Joined: 2015-06-01 14:22

Re: How to replicate "Add New Client" functionality in cmd l

Post by romrom3254 »

The server is running 1.2.2.4(b) and I added AllowInjection=1 to Admin section of the INI file (and restarted the service). However the following STILL doesn't work for me:

winvnc -connect myhostname.com:5500 -autoreconnect -id::19

myhostname.com is URL of my repeater and 19 is the connection number (I'm using double colon as I was told to)
romrom3254
8
8
Posts: 9
Joined: 2015-06-01 14:22

Re: How to replicate "Add New Client" functionality in cmd l

Post by romrom3254 »

I finally got it to work using:
winvnc -ID:19 -connect myhostname.com

However, for some strange reason if I place the ID tag after my host name it doesn't work as dependably (sometimes yes, sometimes no). Is it possible that the tag order will make a difference?
Post Reply