Adele Posted October 3, 2014 Share Posted October 3, 2014 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. Link to comment Share on other sites More sharing options...
Morthawt Posted October 3, 2014 Share Posted October 3, 2014 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. Free and easy Autoit scripting video tutorials (plus more videos always coming!) General video tutorials, especially correct and safe TeamSpeak permissions tutorials. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now