Jump to content

Run As another user (native method)

Recommended Posts

Hi everybody,

With 2000/XP, #RequireAdmin AutoIt function calls a "Run As" native GUI of Windows, very useful.

But, with Vista/7, same function into Windows calls "Run As Adminstrator" Only, and you can't choose user. this is bad from microsoft.

For Vista, there is not a good native alternative, but I know "RunAs" AutoIt command is OK.

In fact, with Windows 7, microsoft reintroduce Run As Administrator + Run As (2 functions).

This first can be call with right click onto any EXE and "Run As Administrator", same of Vista.

The second one can be call with Shift+Right Click and "Run As another user" : Good ! same function of 2000/XP but new name !

So, my question : is it possible to integrate that new native function into AutoIt ?

Maybe #RunAs ? or #RunAsAnotherUser ?

Thank you very much :)

Edited by Amour
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

  • Recently Browsing   0 members

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