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

General version for all windows?

Post Reply
backb0ne
Posts: 5
Joined: 2016-04-07 02:19

General version for all windows?

Post by backb0ne »

Let me explain my scenario:
On my side, I'm using vncviewer.exe listening on default port (5500). On my terminal pc (where I need to access), I'm running server, with the following .ini file:

Code: Select all

[Permissions]
[admin]
FileTransferEnabled=0
FTUserImpersonation=0
BlankMonitorEnabled=0
BlankInputsOnly=0
DefaultScale=1
UseDSMPlugin=0
DSMPlugin=
primary=1
secondary=0
SocketConnect=1
HTTPConnect=0
AutoPortSelect=1
InputsEnabled=1
LocalInputsDisabled=0
IdleTimeout=0
EnableJapInput=0
QuerySetting=2
QueryTimeout=10
QueryAccept=0
LockSetting=0
RemoveWallpaper=1
RemoveEffects=0
RemoveFontSmoothing=0
RemoveAero=1
DebugMode=0
Avilog=0
path=C:\
DebugLevel=0
AllowLoopback=0
LoopbackOnly=0
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferTimeout=30
KeepAliveInterval=5
IdleInputTimeout=0
DisableTrayIcon=1
rdpmode=0
MSLogonRequired=0
NewMSLogon=0
ConnectPriority=0
[UltraVNC]
passwd=494015F9A35E8B2245
passwd2=11615C69CD04054552
Ok, I just need to access the terminal as a "normal" vnc, no file sharing, etc... On my terminal, I type:

Code: Select all

winvnc.exe //to open winvnc.exe server
winvnc.exe -connect 192.168.0.3
I downloaded the file Uvnc_1210_bin.zip from the official website, but inside this file, I find lots of different versions. The best (for general Windows Versions) I could see is the XP version. The others, if I run on different version, say the file it's not a Win32 valid.
My terminals are Win XP, Server 2003, 2008, 2012, Win 8.1... The XP version "almost" works globally for all Win versions, but I'm getting a problem on the final step:
after I type to connect on the terminal side, on my side I just receive a black screen.
I try to refresh (using the button), but still black. I can see the mouse cursor, but this doesn't move, I only see it's last position when refresh.
How can I fix this issue, on all Windows? I need to run the same winvnc / vncviewer for different Windows Versions, without getting this black screen.
Any quick solution?

On my terminal, I have only winvnc.exe and UltraVNC.ini, I saw something about some hooks dlls, but I don't know how to use them, and don't know if they will fix my problem. If yes, what DLL I should use? Thank you.
backb0ne
Posts: 5
Joined: 2016-04-07 02:19

Re: General version for all windows?

Post by backb0ne »

Right now, I just discovered that the black screen, in fact is because the VNC Server was running on a 'disconnected' (rdp) session.
Are there anyway to the UltraVNC still working on a disconected session?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: General version for all windows?

Post by Rudi De Vos »

A disconnected rdp session or minimized rdp viewer cause the rdp display to be disabled.
As vnc just clone the rdp session, is clone the disabled screen and that's black.

If uvnc run as service, you always clone the console session, running winvnc.exe manual it clone the current session.
backb0ne
Posts: 5
Joined: 2016-04-07 02:19

Re: General version for all windows?

Post by backb0ne »

Thanks for the answer.
I have another application running on this session. Is possible to via this app (I'm the coder), force the session to become active, or force the windows to render the data thus making the VNC works?
I mean, any windows API function?
I thought about using CreateDesktop, but I'm almost sure that the VNC will not work on the created desktop, because it's not rendered on the screen.
As you explained, the service mode, can make it work, but needs Administrator privilege, and when UAC enabled, it will keep popping up sometimes, when I use it. So I'm trying to figure out a way to make the session available and render the information on it.
Maybe if my app when detect the vnc connection, starts taking screenshots? Would this make the information goes to the vnc too?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: General version for all windows?

Post by Rudi De Vos »

when minimized can possible solved by
http://www.networkautomation.com/urc/kn ... f43e03470/

HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client Create a DWORD value named RemoteDesktop_SuppressWhenMinimized and set it to 2.
backb0ne
Posts: 5
Joined: 2016-04-07 02:19

Re: General version for all windows?

Post by backb0ne »

Ok, I got you.
Last question: from the Uvnc_1210_bin.zip, the WinXP version of winvnc.exe is reliable to be deployed in WinXP - Win10 (Server 2012) ?
I mean: it works for all Windows?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: General version for all windows?

Post by Rudi De Vos »

XP can be used on all version =>XP

But it doesn't contain functions that didn't existed when the old compiler was made.
From win8, you can use a fast capture mechanism, called "deskop duplication engine".
THis require a newer compiler and the compiler doesn't support XP.

XP version is slower on WIN8>=
Post Reply