Jump to content
Sign in to follow this  
bighero

Windows 8 startup with #ReqAdmin

Recommended Posts

bighero

I've got a script that I need to run at Windows startup. It's placed into the the startup folder but Windows refuses to run the file unless I remove the #RequireAdmin line.

The exact same thing works like a charm in Win7 and I've tried disabling UAC, adding the user to Admin groups, etc. I've even tried adding it to the TaskScheduler.

If I view the start-up tab in Task Manager I can see the script there and it says "Enabled".

I'm a bit stuck, really need to have the #RequireAdmin line...

Share this post


Link to post
Share on other sites
bighero

Not sure if this will be of any help to anyone in the future but I got it working with

#AutoIt3Wrapper_res_requestedExecutionLevel=RequireAdministrator

...placed at the top of the script instead of #RequireAdmin

Apologies....

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×