Pinecone Posted August 22, 2019 Share Posted August 22, 2019 Hi all, newbie on the forum, but I often use AutoIT for little scripts and things at work. I have a script which does some system checks to make sure the system is in the correct condition (checks device model number, checks AC is plugged in, checks there is a bit of battery life in store) prior to running an Run(Update.exe). If the script contains the #RequireAdmin and therefore runs with elevated privilege, will the update.exe it kicks off also have elevated privileges? Or do I need to do a RunAs and contain the user credentials specifically? Link to comment Share on other sites More sharing options...
AdamUL Posted August 22, 2019 Share Posted August 22, 2019 If you use #RequireAdmin all child processes will be elevated as well. Adam Link to comment Share on other sites More sharing options...
Pinecone Posted August 22, 2019 Author Share Posted August 22, 2019 Thank you! Link to comment Share on other sites More sharing options...
AdamUL Posted August 22, 2019 Share Posted August 22, 2019 Your welcome. Adam 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