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
8
8
 
Posts: 17
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
8
8
 
Posts: 17
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: 5741
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
8
8
 
Posts: 17
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
8
8
 
Posts: 17
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: 5741
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
8
8
 
Posts: 17
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: 5741
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: 5741
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: 4
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: 5741
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-08-30 13:43

Great! Thanks a lot Rudi. I will test it and let you know. I'm about to create a new corporate image, so it came just in time.
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-08-30 14:46

I was looking for the prerelease download and see final 1.2.2.2 is already available. Installed it, but the the new query option did not appear?
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-08-30 18:56

???
-The delay timeout option is in it ...
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5741
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-08-31 09:49

I see it now. Strange, I even rebooted yesterday. Nice, will let you know!
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-08-31 12:20

Just tested it with on both clients the new version. Display query 8 sec. Delay 0 sec. Default action allow.

I do a run as on notepad, I get connection dropped, trying to reconnect. After 8 sec it reconnects.

So the new delay setting seem to be ignored?
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby leozoccoli » 2018-09-03 14:28

Hello, I still can not use this option in windows 10. In windows 10 the remote client still has to click accept when it goes to some UAC screen.

In Windows 7 it works perfectly.
leozoccoli
 
Posts: 4
Joined: 2018-08-21 12:39

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-09-03 18:35

Test windows 10 prof

test 1
*Start winvnc and set query with reject ON
*connect viewer
-> Query box
*Set timeout to 100
*Restart winvnc.exe and connect within 100 sec -> no Query box, start is within 100s

test 2
*Start winvnc.exe as service
connect from other pc
close connection and let service restart the winvnc instance -> no Query box, start is within 100s

test3
*Start winvnc.exe as service
start a uac ( like uac s in start)
Seems the uac run in the same session an the viewer doesn't need to reconnect.
Unstable.. sometimes i get grey screens
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5741
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-09-04 10:37

We have it running as a service on all our computers: "C:\Program Files\UltraVNC\WinVNC.exe" -service
W10 Enterprise
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-09-07 21:30

Test server this should not disconnect on UAC and without he also don't ask the accept again.

https://www.uvnc.eu/download/1222/winvn ... 092018.zip
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5741
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby leozoccoli » 2018-09-11 12:27

Hello, Rudi. I thank you for the quick support you are giving to this topic.

With this new executable that sent the connection is not lost, however the moment the screen is in UAC only I can see the screen, the options of interacting with mouse and keyboard do not work.
leozoccoli
 
Posts: 4
Joined: 2018-08-21 12:39

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-09-12 12:40

Hi, I have the same issue as leozoccoli reported.

I see an winvnc64.exe in your zipfile. I have the 64bit version installed but this file is missing?
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-09-12 20:48

You are correct... no switching but also no input. :(
Looks like the accept box is causing it, just implemented it different...looks to work ( fast tested)

https://www.uvnc.eu/download/1222/winvn ... 092018.zip
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5741
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-09-13 14:51

Yes, it works! Thanks a lot. Let me know if you have released it, for now I replace the exe file.

Could tou tell me what the winvnc64.exe file is doing? This is not included in the x64 version which I use.
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-09-13 15:34

single zip, so winvnc.exe for 64 is called winvnc64.exe... lazy else i neede to add a folder for 32 and 64 :)
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5741
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-09-13 16:10

I understand but I have installed the 64 bit version of UltraVNC and I don't have that file. So which version do I have to download which include it?
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby leozoccoli » 2018-09-17 18:31

Rudi De Vos wrote:You are correct... no switching but also no input. :(
Looks like the accept box is causing it, just implemented it different...looks to work ( fast tested)

https://www.uvnc.eu/download/1222/winvn ... 092018.zip


Hello Rudi, now it's 100% working. Thank you very much for the support and corrections.
Are you releasing a new version?
leozoccoli
 
Posts: 4
Joined: 2018-08-21 12:39

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-09-18 18:13

Sander02 ,
Just rename winvnc64.exe to winvnc.exe and overwrite. ( make a copy of the old exe, so you always can return)
Make sure the service isn't running else file is locked and you can't overwrite
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5741
Joined: 2004-04-23 10:21

Re: Query windows timemout and UAC / trying to reconnect

Postby Sander02 » 2018-09-28 10:08

Thanks, is the new release with this fix coming soon? Otherwise I will install 1.2.2.2 in our corporate image and replace the exe file.
Sander02
8
8
 
Posts: 17
Joined: 2018-06-16 10:53

Re: Query windows timemout and UAC / trying to reconnect

Postby Rudi De Vos » 2018-09-28 13:36

The fix is in 1223.

Current winvnc and vncviewer exe are online
msi is also online but forgot hte links
setup will be placed online this weekend
ONLY via FORUM

After a week or 2 it's moved to the webpages.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5741
Joined: 2004-04-23 10:21


Return to General help

Who is online

Users browsing this forum: Google [Bot] and 4 guests

cron