Jump to content

[SOLVED] Stop using #requireadmin?


 Share

Recommended Posts

Hi, 

My main script is using #requireadmin,

I'm launching a command line tool from my script that also is evalated with admin rights, since i ran it from a script that was evalated.

 

Is there any possible way to run the command line tool from my script without evalated rights, without removing requireadmin?

I don't wish to use runas, as I don't wanna store any credentials.

 

EDIT: Found the answer here :) : 

https://sites.google.com/site/ascend4ntscode/runwithreducedprivileges

_RunWithReducedPrivileges

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