Scripting Question

Suppressing UAC consent prompt by AutoIt script

07/04/2015 7386 views
Hello Guys,

I have written an AutoIT script and converted into exe. AutoIT script calls an exe which is a part of admin studio which prompt for consent window in background and return back without proper result. For further testing when I disabled the UAC from registry from 1 to 0 and Consent key from 2 to 0, I was able to get proper result. But I don't want to change the setting of system is there any other way to suppress consent window coming on exe which is a part of admin studio through which I can achieve proper result.

0 Comments   [ + ] Show comments


All Answers

As ever, MSDN is your friend.
Answered 07/08/2015 by: anonymous_9363
Red Belt

What "consent" window? Do you mean the dialog that UAC pops up?

By the way, please try and be sensible with your tagging. What on Earth does your query have to do with VBSEdit, for example? And TEN tags connected with AutoIt?!?
Answered 07/05/2015 by: anonymous_9363
Red Belt

  • Yes UAC pop up
OK. Have you applied the 'Always Install Elevated' Group Policy to the machines?
Answered 07/07/2015 by: anonymous_9363
Red Belt

  • No I can't change gpo setting
WI doesn't check that the policy has been applied, merely the existence of the registry value that gets written when it is applied.
So, you can add the registry key & value, install your app, then delete the key.
Answered 07/07/2015 by: anonymous_9363
Red Belt

  • You mean UAC value in hklm changing or something else
    • No, VBScab means the registry key set by the GPO configuration "Always Install Elevated".
      Try entering "Always Install Elevated" into the Google search engine. You may find that this gives you the precise answer to your question.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ