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

Automatic uvnc service restatrt when it fails

Post Reply
fg0368
8
8
Posts: 10
Joined: 2004-06-22 16:02

Automatic uvnc service restatrt when it fails

Post by fg0368 »

Hi,

I use uvnc as a service on various boxes.

Everything works fine except. Sometimes the service can crash for various reasons.

I manually put a reg key on the remote controled pc that is :

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\winvnc]
"FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,53,00,65,00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00

that enable the uvnc service to automaticaly restart in case of a failure on w2k => start > settings > Admin tools > Services > winvnc > Properties). It works fine in almost everytype of crash. the service restart 60 s after the crash.

I try to automate this settings during the setup process. I added the following line in the inno setup file :

Root: HKLM; Subkey: SYSTEM\CurrentControlSet\Services\winvnc; ValueType: binary; ValueName: FailureActions; ValueData: 00 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 53 00 65 00 01 00 00 00 60 ea 00 00 01 00 00 00 60 ea 00 00 01 00 00 00 60 ea 00 00; Flags: deletekey; Components: server server/upgrade

The problem I face is that it does not take the command into account; I need to enter the key manually after setup to enable the FailureActions key to be modified.

Does anybody hva any hint of investigation ?
Andreas

Automatic uvnc service restatrt when it fails - Inno Setup

Post by Andreas »

Use quotation mark for the values in the inno setup file

Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Services\winvnc"; ValueType: binary; ValueName: "FailureActions"; ValueData: "00 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 53 00 65 00 01 00 00 00 60 ea 00 00 01 00 00 00 60 ea 00 00 01 00 00 00 60 ea 00 00"; ...
Post Reply