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

Timeout Chunkvnc run as service

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
perbandersen
Posts: 1
Joined: 2012-01-17 12:07

Timeout Chunkvnc run as service

Post by perbandersen »

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
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN

Re: Timeout Chunkvnc run as service

Post by supercoe »

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!
JonD
40
40
Posts: 121
Joined: 2006-12-24 16:46
Location: Canada

Re: Timeout Chunkvnc run as service

Post by JonD »

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
ny.bash
Posts: 1
Joined: 2012-10-10 13:09

Re: Timeout Chunkvnc run as service

Post by ny.bash »

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:

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""')
And as lines in the section Func RemoveService():

Code: Select all

; Remove Task Scheduler
		Run('cmd.exe /c "schtasks /delete /tn "uvnc_service" /f"')
Service is restart each 40 minutes.

Works excellently, but it would be desirable without this crutch in the future.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN

Re: Timeout Chunkvnc run as service

Post by supercoe »

Good stuff, thanks for sharing!
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply