Jump to content

Anyone know how to run something as the logged in user?


 Share

Recommended Posts

I'm running my script as a local admin account but at the end I need to fire up a piece under whatever ID is currently logged in. Anyone know a way to do this? a command, func, Windows cmd line, anything?

Just to clerify, I'm pretty sure any of the AutoIt macros, such as @UserName, will give me the admin account since that's what it's running as. I need the current interactive logged in user.

Edited by EnigmaV8
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...