Jump to content

Change user or start with different user

Recommended Posts


I want to use Features in an AutoIt program that require admin Level. I can think of 2 possibilities:

1. Change the user while running an AutoIt program. Is that possible, how?

2. Start a new / second AutoIt program and that program should run with the account of a user of the admin Group. Possible? How to do that?

3. something I didn't think of!?

The Passwort of a user of the admin Group is known.

The whole context is like this: An application (not an AutoIt program, not run with admin account) should call an AutoIt program to do some things (like Reading EventLog, killing processes, deleting files) that require admin rights.

Thanks for anwers!


Edited by dolphins
Link to comment
Share on other sites

Try RunAs ...

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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