Shark007 Posted May 18, 2021 Share Posted May 18, 2021 Is there any difference in using #RequireAdmin from within your script vs using #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator which places the directive into the manifest? It is my assumption that #RequireAdmin is simply available for when the scripter is not using the full scite. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 19, 2021 Developers Share Posted May 19, 2021 8 hours ago, Shark007 said: It is my assumption that #RequireAdmin is simply available for when the scripter is not using the full scite. Not really as there is also a #pragma option for this these days: #pragma compile(ExecLevel, requireAdministrator) The difference is when defined in the Manifest, it will be handed by the Windows OS were #RequireAdmin is handled by AutoIt3 and the script is re-shelled when not at the required level. Jos Zedna and Shark007 1 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now