Unc3nZureD Posted June 4, 2014 Posted June 4, 2014 Hi guys. I'd like to Run() another process with the following 3 rights: - With admin rights - Without admin rights - Same as my process' level Here are some basic plots of it: - 1st case: My script is running without admin rights, but I'd like to start a process with admin rights. - 2nd case: (Vica-verse) My script is running with admin rights, but I wouldn't like if the other process would inherit it. - Running as the same level is a simple Run() since it does exactly what it should have. I've got no idea how to start it, since I can't have the password for RunAs(). [This way if I'm running in user mode, then the usual UAC would prompt if I run the target as admin]
jdelaney Posted June 4, 2014 Posted June 4, 2014 (edited) I like using PsExec or PaExec or scheduled tasks. You can specify all of the above with those, but all (I should say most) will require passwords. You can have the scheduled tasks setup, before hand, and then call them, to get around the storing of passwords. Edited June 4, 2014 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
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