Suppressing UAC consent prompt by AutoIt script
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.
Thanks
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.
Thanks
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
anonymous_9363
9 years ago
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?!?
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?!?
Comments:
-
Yes UAC pop up - Viveks 9 years ago
Posted by:
anonymous_9363
9 years ago
OK. Have you applied the 'Always Install Elevated' Group Policy to the machines?
Comments:
-
No I can't change gpo setting - Viveks 9 years ago
Posted by:
anonymous_9363
9 years ago
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.
So, you can add the registry key & value, install your app, then delete the key.
Comments:
-
You mean UAC value in hklm changing or something else - Viveks 9 years ago
-
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. - EdT 9 years ago