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
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
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
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!
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!

