Jump to content

Windows 8 startup with #ReqAdmin


Recommended Posts

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...

Link to comment
Share on other sites

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....

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...