is it possible to put a timeout on Chunkvnc running as a service, so that it does not continue trying to connect to the repeater after a certain period, eg. 24 hours.
Thanks
Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
Timeout Chunkvnc run as service
Re: Timeout Chunkvnc run as service
You could create a scheduled task that could "net start" and "net stop" uvnc_service
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Re: Timeout Chunkvnc run as service
The scheduled task actually works quite well. I've even used it when I'm doing unattended installs for the situation where the remote computer loses connection... I've set a couple of these scheduled events throughout the day knowing that I would only have to wait an hour or so to recover.
JonD
JonD
Re: Timeout Chunkvnc run as service
Hi!
I modified the InstantSupport.au3 file so that the task of restart of service was added at the chunckvnc installation as service.
I added in the section Func InstallService() lines:
And as lines in the section Func RemoveService():
Service is restart each 40 minutes.
Works excellently, but it would be desirable without this crutch in the future.
I modified the InstantSupport.au3 file so that the task of restart of service was added at the chunckvnc installation as service.
I added in the section Func InstallService() lines:
Code: Select all
; Add Task Scheduler.
Run('cmd.exe /c "schtasks /create /RU "SYSTEM" /sc minute /mo 40 /tn "uvnc_service" /tr "cmd.exe /c net stop uvnc_service & net start uvnc_service""')
Code: Select all
; Remove Task Scheduler
Run('cmd.exe /c "schtasks /delete /tn "uvnc_service" /f"')
Works excellently, but it would be desirable without this crutch in the future.
Re: Timeout Chunkvnc run as service
Good stuff, thanks for sharing!
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!