koresho Posted December 14, 2007 Posted December 14, 2007 Hey guys, I am trying to automate the launch of Microsoft's MRT without using the Run dialogue box... the path is C:\Windows\System32\mrt.exe but when I try to shellexecute, run, or run(@comspec... ) this file it comes up with a path not found error. I am having this issue with anything in the system32 folder. the script has admin rights because of the #requireadmin control, so I dont know why it is being denied access. Also, does any program the script launches with that control automatically recieve admin rights or is there a way to pass that on in Vista? thanks.
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