Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

SC small exe Update 2011

Single Click discussions / bugs
2haerim
8
8
Posts: 17
Joined: 2005-05-18 17:29

Re: SC small exe Update 2011

Post by 2haerim »

I created my own executable using AutoIt. It's called MyHelpDesk.exe.
When it gets run from a client PC, it unpacks the following files into the client's pc
- winvnc.exe
- rc4.key
- vnchooks.dll
- MSRC4Plugin.dsm

After unpacking, it executes the following:
winvnc.exe -connect MyIp:5500 -noregistry

This works very fine but the new two options [DIS_UAC] and [WALLPAPER] seem to be essential to overcome Windos 7 situation. (Am I right?)
So, I would like to know a way to use those two new options, but I don't want to use helpdesk.txt file because I have my own UI created from Autoit.

That's why I asked how to use those options from commanline mode.

Would it be possible to use those options with my own UI?

I modified the helpdesk.txt as shown below:

[HOST]
-connect 219.240.75.246:5500 -noregistry

[DIS_UAC]

[WALLPAPER]

[DIRECT]

I removed all the unnecessary options, but when I run winvnc, it still displays the default UI.
I need to know not showing the builtin UI.

thx
HR
2haerim
8
8
Posts: 17
Joined: 2005-05-18 17:29

Re: SC small exe Update 2011

Post by 2haerim »

One most requested feature these days.

These days, so many people uses multi-monitors. Especially traders use many monitors with one PC.
So, SC is desirable to support multi-monitor connection like TeamViewer.

Do we have at least some solution for this feature request?

thx again
HR
2haerim
8
8
Posts: 17
Joined: 2005-05-18 17:29

Re: SC small exe Update 2011

Post by 2haerim »

From the source file winvnc.cpp, the WinMain shows

Code: Select all

	if (strcmp(szCmdLine,"[b]-dis_auc[/b]")==NULL)
	{
		Disbale_UAC_for_admin();
		return 0;
	}
	if (strstr(szCmdLine,"[b]-en_auc [/b]")!=NULL)
	{
		char temp[10];
		strcpy(temp,szCmdLine+8);
		int i=atoi(temp);
		Restore_UAC_for_admin(i);
		return 0;
	}
I can see -dis_uac and -en_uac options supported even though I still don't see -wallpaper option.
However they only manages registry keys and returns without doing anything else.

Rudi, would you be able to add both -dis_uac and -wallpaper as command line options so that I can embed SC into my own UI rather than one created based on helpdesk.txt?

MyHelpDesk will execute
winvnc.exe -autoreconnect -dis_uac -wallpaper -connect MyIP:5500 -noregistry
where MyIP will be obtained from my own UI.

thx a lot
HR
2haerim
8
8
Posts: 17
Joined: 2005-05-18 17:29

Re: SC small exe Update 2011

Post by 2haerim »

winvnc.exe -autoreconnect -connect MyIP:5500 -noregistry

I thought this would reconnect on a temporary internect failure, but it never reconnected.
Please tell me what is missing to use autoreconnection feature.

thx
twilight
Posts: 1
Joined: 2013-01-31 12:40

Re: SC small exe Update 2011

Post by twilight »

by default winvnc.exe from SC2011 runs with that options:
Image

Is there a way to run with checked Poll Window Under Cursor?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6831
Joined: 2004-04-23 10:21
Contact:

Re: SC small exe Update 2011

Post by Rudi De Vos »

Default can't be changed, it's hard coded.
Post Reply