Hi is there anyway to make SC trying to connect for more than 5 min ?
My idea is to post link on my IT support web site
for people to download the SC and than within 5 hours I will access their computer to help them , but the problem is that if I am late for more than 5 minutes will have to ask them again to download an try to connect.
Any help appriciated
[mod=494,1184453548]removed banner[/mod]
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
Keep SC Running for More than 5 min
Keep SC Running for More than 5 min
Last edited by strestus on 2007-07-14 22:52, edited 2 times in total.
Re: Keep SC Running for More than 5 min
5min is hard coded.
if you know how to modify and compile the code, you can hack the code for change the default value 5 min to 300min
if you know how to modify and compile the code, you can hack the code for change the default value 5 min to 300min
UltraVNC 1.0.9.6.1 (built 20110518)
Windows OS: XP Home + Vista Business + 7 Home
Only experienced user, [u]not[/u] developer
Windows OS: XP Home + Vista Business + 7 Home
Only experienced user, [u]not[/u] developer
Re: Keep SC Running for More than 5 min
Well If I could I would
Is there anyone here that could do this for me or guide me how to do it ?
I think it might be helpfull for other people as well
Is there anyone here that could do this for me or guide me how to do it ?
I think it might be helpfull for other people as well
Re: Keep SC Running for More than 5 min
I don't know how to modify the SC source to produce the said feature, but I wrote a simple DOS batch file (tested with WinXP) that can auto-restart the sc.exe if it is terminated -- either due to time out because remote host is not yet reached, or an established connection is broken
You need to create a dedicated SC.exe and a .BAT for this purpose.
1. the SC.exe
This SC must only have one [HOST] definition (Obviously!), and will connect to this host automatically once excuted (use the [DIRECT] command). So the content of the helpdesk.txt s/b like this:
[HOST]
Direct To YY's DeskTop
-connect desktop-yy.dyndns.org:5500 -noregistry
.........
.........
[DIRECT]
2. the Auto-Restart.BAT
Use a text editor to create the file with these three lines:
:StartSC
START /WAIT SC.exe
GOTO StartSC
That all! Put this 2 files together, and double click the Auto-Restart.BAT, it will try (and re-try) to make the connection.
Close the DOS windows will terminate the Auto-Restart.BAT and thus stop the auto-restart operation.
Note: You must use the REL 1.0 online creator to produce the SC.exe, [DIRECT] command is not supported in RC23.
You need to create a dedicated SC.exe and a .BAT for this purpose.
1. the SC.exe
This SC must only have one [HOST] definition (Obviously!), and will connect to this host automatically once excuted (use the [DIRECT] command). So the content of the helpdesk.txt s/b like this:
[HOST]
Direct To YY's DeskTop
-connect desktop-yy.dyndns.org:5500 -noregistry
.........
.........
[DIRECT]
2. the Auto-Restart.BAT
Use a text editor to create the file with these three lines:
:StartSC
START /WAIT SC.exe
GOTO StartSC
That all! Put this 2 files together, and double click the Auto-Restart.BAT, it will try (and re-try) to make the connection.
Close the DOS windows will terminate the Auto-Restart.BAT and thus stop the auto-restart operation.
Note: You must use the REL 1.0 online creator to produce the SC.exe, [DIRECT] command is not supported in RC23.

