francoiste 3 Posted November 14, 2015 (edited) technically speaking what's the difference between the following two:1)#RequireAdmin2)#pragma compile(ExecLevel, requireAdministrator)obviously the second one works for "compiled" scripts, only.but are there any other differences?in the documentation those two are not even cross-linked in the "related" paragraph. Edited November 14, 2015 by francoiste Share this post Link to post Share on other sites
Jos 2,164 Posted November 14, 2015 (edited) #RequireAdmin will re-shell the EXE when it isn't running at the right elevation level.The #Pragma() statement will set the MANIFEST in the created EXE to the requested level which means the OS will handle the proper elevation at startup.Jos Edited November 14, 2015 by Jos 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. Share this post Link to post Share on other sites