Jump to content
Sign in to follow this  
koresho

Running from Vista's system dir

Recommended Posts

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.

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  

×
×
  • Create New...