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
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
Unattended Connection, Windows7, Repeater, Session 0
-
- Posts: 5
- Joined: 2013-06-10 15:31
Unattended Connection, Windows7, Repeater, Session 0
I am using UltraVNC and Repeater for unattended connections to client machines. The solution works great in WinXP but with Windows7 it fails. I use a Java program on the server side to run a batch file that executes UltraVNC with the parameters for the repeater. Under Windows7 UltraVNC starts under Session 0 so the connection can be made but the viewer is unable to see the user session desktop. Running the batch file by user clicking it works fine as it starts in user session 1. I tried running UltraVNC as a service and supplying that Repeater connection parameters but could not make a connection. Does anyone have a way to execute UltraVNC from a batch script file, with Repeater connection, under Windows7?
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: Unattended Connection, Windows7, Repeater, Session 0
You don't need a batch file, just add some entry in the ultravnc.ini
google "service_commandline" and "ultravnc"
google "service_commandline" and "ultravnc"
-
- Posts: 5
- Joined: 2013-06-10 15:31
Re: Unattended Connection, Windows7, Repeater, Session 0
Thanks, this worked perfect. The workflow I will use is to run a Java program that will:
-stop uvnc_service if running
-kill any winvnc.exe processes that may exist
-modify the ultravnc.ini connection info
-add the line "service_commandline=-id:<idNumber> -connect <connectionString>"
-start uvnc_service
I will also add in monitoring of the connection somehow so that I may report back to our Enterprise the length of time the connection was open. The Java program will also reset the INI and restart the service once the connection has ended.
-stop uvnc_service if running
-kill any winvnc.exe processes that may exist
-modify the ultravnc.ini connection info
-add the line "service_commandline=-id:<idNumber> -connect <connectionString>"
-start uvnc_service
I will also add in monitoring of the connection somehow so that I may report back to our Enterprise the length of time the connection was open. The Java program will also reset the INI and restart the service once the connection has ended.