Query windows timemout and UAC / trying to reconnect

Here you will find help for frequently asked questions as well as for your specific question.

Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-07-09 15:56

Hi,

We run VNC server in service mode and set the display query windows to 10 secs, so that users can click accept and otherwise we can still do a remote session.

This works fine in windows 7, but it became unworkable with windows 10. This 10 sec delay is also active when running something as an admin, the users have to accept again and
what then happens is that the connection dropped, trying to reconnect and this takes the same 10 sec wait. Users often have to accept like 3 times when I need something to do as an admin. And if they user is gone,
I have to wait 3 times 10 sec. I allready changed it for some users to 5 sec, but we don't want to disable it completle. We like the user to accept it.

When I disable the query windows, it all works fine.

Is it possible to set a different timeout setting for the query window and uac pompt or reconnect?
Sander02
 
Posts: 5
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-07-18 08:55

No one else is using the display query window?

This is really a frustrating issue!
Sander02
 
Posts: 5
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-07-18 10:36

The problem is that the UAC popup request run in a secure desktop.
Vnc service need to stop vnc in the default user desktop and start an instance in the secure desktop.
Normal, the autoreconnect does the reconnect and it all happen in background.

The problem is when you have setup that the remote user need to give permission to logon ( query window) the server act like this on
the new connections and ask again permission.

We could detect the AUC popup and disable the query in that case, but then if your first logon would happen while the remote user
has his UAC open... no query.
There is a littel security issue... suppose you connect the first time and just at that moment the user has a UAC secure desktop open.
If that's acceptable some minor code change could possible solve it.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5685
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-07-19 13:57

Hi Rudi, thanks for your exlplanation. I think that security risk is ok. If a user has an UAC screen, they mostly tell me by phone if I can logon, so then I can tell, they don't see the accept window. For the rest it stays the same.
Would be nice if you could add the option. Thanks in advance!
Sander02
 
Posts: 5
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-07-25 21:24

Would be graat if this option will be added in a new release. Have to reinstall a lot of machines in the coming months so could install the new version.
Sander02
 
Posts: 5
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-07-31 18:50

First idea will not work, i can detect the UAC desktop, but you also need to return to the default.
I was thinking about the following… add the option
Query window activate after x seconds.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5685
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-08-06 15:16

Thanks Rudi, not sure what you mean with activate it after xx seconds. Can you explain? Thanks.
Sander02
 
Posts: 5
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-08-06 15:36

winvnc.exe is restarted by the service to switch desktops.
Login, default, secure

If querybox is activated x seconds after the restart winvnc ( let say 10 seconds) then the viewer can reconnect
during the 10 seconds without showing the querybox.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5685
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-08-08 19:38

Added new option
disable after session switch
Image

Normal when you force the user to accept the connection and you need to switch to another desktop
like UAC secure desktop, the viewer reconnect and the user need to accept again.

This parameter allow to set a delay for the query window to become active so you can reconnect without the user need to accept again.

edit
PS: text gonna change in Delay [] seconds

added in latest 1.2.2.2 pre-release
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5685
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby leozoccoli » 2018-08-21 12:42

Hello, did this delay () option work?
Here I had problems getting it to work.
In the first test it worked, but after a short time stopped working, again asking the user accept after switching to UAC screen
leozoccoli
 
Posts: 1
Joined: 2018-08-21 12:39

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-08-21 17:38

The service restart winvnc when the session switch.
This parameter disable the query the first X seconds after restart.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5685
Joined: 2004-04-23 10:21


Return to General help

Who is online

Users browsing this forum: No registered users and 3 guests

cron