Page 1 of 1

Windows 7 UAC

Posted: Wed Mar 12, 2014 12:43 pm
by Selezen
Hi there!

I'm developing a Ranorex test for an application, and the test will be run on a virtual machine under a corporate network license. I'm having problems coping with the Windows 7 User Access Controls, which under the corporate policy cannot be disabled. I have two problems I would like advice with please.

1: Using an unattended install (msiexec /i "application path" /qn TARGETDIR="targetfolder") fails as the installation reports insufficient permissions to install.

2: Using Ranorex to simulate the user input for the MSI installation wizard also fails because the UAC confirmation seems to be invisible to both Ranorex Spy and the recording wizard. When trying to record the mouse clicks on the UAC confirmation screen I cannot access the recording interface (due to the screen dimming) and therecording does not record the clicks on the UAC confirmation screen.

Can anyone offer some guidance that will allow me to manage this installation please?

Thanks in advance.

Dave

Re: Windows 7 UAC

Posted: Fri Mar 14, 2014 4:05 pm
by Support Team
Hello Dave,

Unfortunately it is not possible to automate an UAC Dialog in Windows.
UAC is for making sure that administrative actions require a user prompt.
It also disables your vbscript and vb.net when its active.
I am sorry that I'm not able to provide with any solution here.

Kind regards,

Markus (S)

Re: Windows 7 UAC

Posted: Mon Mar 17, 2014 11:43 am
by Selezen
Thanks for your response. I had a feeling that this would be the case but thank you for confirming it ans saving me a lot of time.

All the best,

Dave

Re: Windows 7 UAC

Posted: Fri Mar 21, 2014 11:43 am
by mdgairaud
You can find more info about this "state" looking for "Windows Session 0" in Google. Also, here is a program that gets you into Session 0 [http://www.coretechnologies.com/product ... oSession0/]


regards,
Mateo.