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

Want to share some InstantSupport modifications

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
spiorf
Posts: 2
Joined: 2013-03-20 09:34

Want to share some InstantSupport modifications

Post by spiorf »

Hi, I've made some changes to instantsupport.a3u that i woluld like to share.
  • Code is displayed only after connection is checked and server started
  • In the main loop checks for running vnc server process and if it is not running "Error" is displayed,the connection is retried and then the server is relaunched. If it fails again exits.
  • Every 5 minutes tries to open a socket to the repeater and if it fails "Error" is displayed,the connection is retried and then the server is relaunched. If it fails again exits
  • If somehow the InstantSupportVNC.exe was deleted, istantsupport.exe became unclosable and had to be killed. Fixed by using ShellExecute instead of _Run in _DeleteSelf. Is this ok? i've never used AutoIt before and i'm learning as i try to change stuff.
This post is mainly for supercoe: i cant' PM anyone because i've not enough posts.

I can't link back to the site because i'm using it in corporate for the customers help desk. But i would like to adapt some of these features into your version if you are interested.
I'm testing it right now with 3 users and if all goes well about 50 people will be using it many times a day.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Want to share some InstantSupport modifications

Post by supercoe »

Good stuff, I always appreciate when people share their modifications!

Feel free to post your code here so everyone can look at it. :)
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
spiorf
Posts: 2
Joined: 2013-03-20 09:34

Re: Want to share some InstantSupport modifications

Post by spiorf »

Hi,
I discovered autoit looking at your code, and i am so happy about it that this is the least i can do.
I finally had time to translate everything back in english.
I've made some changes to the perl repeater script to receive some info from clients and servers and print it in the log file.
Basically the program connects and sends the string "XX:SOMELONGSTRINGOFINFOS" and this string gets printed in the logs without generating an error.
It makes easier to track who connects to who.

Other changes are:
  • The desktop link can save the current code. is encoded in the command line.
  • Checks if the winvnc.exe process has an established connection with the repeater
  • Changed the js script with a winapi call because the script was changing the modified date of all files of the folder, and this looks very suspicious.
  • repeater addess is hardcoded, but the ini alternative code is there, commented
  • Can fallback on some other tool
  • Main loop with timers to keep cpu usage low
  • I used scite to compile
All the exe files in the archive are updated to the latest version.

InstantSupport_source.zip (4.0 MB)
manf0001
8
8
Posts: 12
Joined: 2013-03-11 10:14

Re: Want to share some InstantSupport modifications

Post by manf0001 »

Here is some new code to add for being able to reboot into safe mode with networking. The below codes are used when you install it as a service. and when you uninstall the service it will remove that reg code. In order to boot into safe mode with networking, do it via the msconfig util

Edit the INstantSupport.au3 file in the SRC folder

Locate ; Install VNC Service (it's near the bottom)


And copy the following under the first Shellexecute line

shellExecute("reg.exe","add HKLM\System\CurrentControlSet\Control\SafeBoot\Network\uvnc_service /VE /T REG_SZ /F /D Service","%systemroot%\system32")

***The First one allows booting into safemode with networking You have to still enable it via msconfig under the boot tab.

then copy the below under the ; Remove VNC Service (this will remove the reg keys after you uninstall the service)

shellExecute("reg.exe","delete HKLM\System\CurrentControlSet\Control\SafeBoot\Network\uvnc_service /F","%systemroot%\system32")


Hope this helps for others
heat_z0ne
8
8
Posts: 13
Joined: 2013-05-17 00:03

Re: Want to share some InstantSupport modifications

Post by heat_z0ne »

I tried , server doesn't connect to repeator, Why i don't know ...
cabria
8
8
Posts: 8
Joined: 2013-03-22 12:50
Location: Denmark

Re: Want to share some InstantSupport modifications

Post by cabria »

I got the same issue, that it cant connect to the repeator.
Post Reply