After more 1 000 000 (one 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 welcome

Celebrating the 22th anniversary of the UltraVNC (25th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38031

Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

Development: UltraVNC development is always here... Any help is welcome.
Feedback is welcome

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

SOLVED - 'Query on Incoming' Setting No Longer Prompts User for Connection Approval

Here you will find help for frequently asked questions as well as for your specific question
Post Reply
SKKVIPI
Posts: 2
Joined: 2025-07-30 09:01

SOLVED - 'Query on Incoming' Setting No Longer Prompts User for Connection Approval

Post by SKKVIPI »

Hello everyone

Since updating UltraVNC from version 3.2 to the latest release, the "Display Query Window" and "Query If No Logon" options no longer seem to have any effect.
Even though these settings are enabled, and the default action is set to "Refuse," incoming connection attempts are no longer prompting the user to accept or deny the connection.
We also tested version 1.6.1 (the direct predecessor of the latest release), and the behavior is the same there — the user is not prompted to approve the connection.
In version 3.2, this configuration reliably triggered a popup on the client machine asking the user for permission. With newer versions, the viewer connects immediately without any confirmation, which poses a serious security concern in our environment.

Tested settings:
Display Query Window:
Query If No Logon:
Default Action: Refuse
Timeout: 120 seconds

We’d like to know:
Is this a known issue in the newer UltraVNC versions?
Has this behavior changed intentionally in recent updates?
Is there a workaround or configuration change to restore the previous behavior?

Any help or clarification would be greatly appreciated!

my ini file:

[Permissions]
[admin]
UseRegistry=0
MSLogonRequired=1
NewMSLogon=1
DebugMode=0
Avilog=0
path=C:\Program Files\UltraVNC
kickrdp=0
service_commandline=
DebugLevel=0
DisableTrayIcon=0
LoopbackOnly=0
UseDSMPlugin=0
AllowLoopback=0
AuthRequired=1
ConnectPriority=0
DSMPlugin=
AuthHosts=
AllowShutdown=0
AllowProperties=1
AllowEditClients=1
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=1
BlankInputsOnly=1
DefaultScale=1
CaptureAlphaBlending=0
BlackAlphaBlending=1
SocketConnect=1
HTTPConnect=0
XDMCPConnect=0
AutoPortSelect=1
PortNumber=0
HTTPPortNumber=0
IdleTimeout=0
RemoveWallpaper=0
RemoveAero=1
QuerySetting=4
QueryTimeout=120
QueryAccept=0
QueryIfNoLogon=1
primary=1
secundary=0
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
FileTransferTimeout=30
secondary=0
clearconsole=0
[ultravnc]
passwd=XXXXXXXXXXXXXXXXXXX
passwd2=XXXXXXXXXXXXXXXXXXXX
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
MaxCpu=40
[admin_auth]
group1=
group2=
group3=
locdom1=0
locdom2=0
locdom3=0
Last edited by SKKVIPI on 2025-07-31 12:45, edited 1 time in total.
SKKVIPI
Posts: 2
Joined: 2025-07-30 09:01

Re: 'Query on Incoming' Setting No Longer Prompts User for Connection Approval

Post by SKKVIPI »

I think I found the issue. After the install I am copying my custom ini to "C:\Program Files\UltraVNC". This seems not to be enough since the install does create another directory in "C:\ProgramData\UltraVNC" where anothe *.ini file is stored.
I now copy my custom ini to both directorys and it works fine.

Dont know it is a bug or a feature i missed.

For my software deployment i have to add a deltree command to the programdata directory as well.
Ludovic
Admin & Developer
Admin & Developer
Posts: 118
Joined: 2021-12-28 18:55

Re: 'Query on Incoming' Setting No Longer Prompts User for Connection Approval

Post by Ludovic »

@SKKVIPI: What 3.2 and 1.6.1 versions?

There is a 1.6.1.0 but no 3.2 version.

The current latest version is 1.6.4.0:
- https://forum.uvnc.com/viewforum.php?f=56
UltraVNC links (join us on social networks):
- Website: https://uvnc.com/
- Forum: https://forum.uvnc.com/
- GitHub sourcecode: https://github.com/ultravnc/UltraVNC
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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
- uvnc2me: https://uvnc2me.com/
Post Reply