Are you using and of the following at the top of your script before you compile it? #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministratoror #pragma compile(ExecLevel, requireAdministrator) Windows will not allow an executable to run at startup that has a manifest that request elevation. Try using the following at the top of the script. #RequireAdmin #pragma compile(ExecLevel, asInvoker) or  #RequireAdmin #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvokerThe #Req