Jump to content
Sign in to follow this  
legend

[SOLVED] Stop using #requireadmin?

Recommended Posts

legend

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
  • Like 1

Share this post


Link to post
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
Sign in to follow this  

×