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

service install with options

Post Reply
Xeo
Posts: 6
Joined: 2011-10-11 14:23

service install with options

Post by Xeo »

Hello everyone,

For a last couple of days I'm trying to find a solution how to install uVNC service with option to automatically connect to the repeater.

I would like to do something like that:
in cmd:

C:\VNC\winvnc -install -autoreconnect ID:12347 -connect www.mydomain.com:5500

Above one is creating service with the name "-autoreconnect ID:12347 -connect www.mydomain.com:5500" and its not the behaviour I'm looking for :wink: .
I would like to have service which will start uvnc server which will automatically connect to the repeater.
Could you please advise or at least point in the correct direction?

Many Thanks,
Xeo
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: service install with options

Post by B »

For the service the options should be in the ultravnc.ini file in the service executable's directory.

For example, with my old version of ChunkVNC, the following is similar to the beginning of my ultravnc.ini file in the relevant Program Files subdirectory:

[Permissions]
[admin]
service_commandline=-autoreconnect ID:123456 -connect host.domain.ext:5500
Xeo
Posts: 6
Joined: 2011-10-11 14:23

Re: service install with options

Post by Xeo »

Thanks for that B,
Could you tell me where should I look for service executable directory?
That ultravnc.ini will be there or should I create it?
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: service install with options

Post by B »

Just use the regular UltraVNC option to install or run "as a service".

Then the ultravnc.ini file should be in either Program Files/UltraVNC or Program Files (x86)/UltraVNC.

Or use ChunkVNC to make it a bit easier. (In which case it would be in the ChunkVNC directory instead.)
Post Reply