Jump to content

Run as logged in user


Recommended Posts

I have created an install file that, at a certain point, calls an AutoIT exe to run.

The AutoIT file does it's thing and then the initial install file takes over to completion.

I am looking to run, let's say, notepad during this install process.

My initial installer requires elevation... don't want to run notepad in an elevated state as you won't see the UI.

It'd be neat if the last lines of the AutoIT script could be:

#RequireLocallyLoggedInUser

run (my program)

#RequireAdmin

Thoughts on how to run my program, say notepad, as the logged on user?  Impersonate the user?

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