Sign in to follow this  
Followers 0
Adele

Running A Program In Limited With Elevated Script

2 posts in this topic

Hello all. How can I run a program in limited with elevated script? I want to run explorer.exe but when script runs with administrator rigths, explorer.exe runs eleveted and Windows 8 applications don't run.

Thank you in advance.

Share this post


Link to post
Share on other sites



The way I have done it in the past is run the main script as normal user level privileges, then have a separate script run with admin privileges which waits for an ini file to be updated with encrypted information on what commands to run. That way I was able to run non-elevated programs in the main script and then encrypt the path and write that to an ini file that the elevated script was waiting for and then it would decrypt the commandline and execute.

There may be a better method but I am just sharing how I did it.

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  
Followers 0