jlf Posted August 29, 2013 Posted August 29, 2013 Hi, Under Windows7, if I run the command bellow, this program is started (show its GUI with help for command parameters). If I do exactly the same thing under Windows8, nothing happens. And 'RunWait' command return the error code = 0. RunWait("wusa.exe") Now, if I repeat this test with "notepad.exe", both Win7/Win8 work fine. I suppose this is an administration restriction under Win8, and tryed with RunAs with an administrator account. I got exactly the same behavior : notepad is OK for both Win7/Win8, wusa starts only under Win7. Even if this maybe (MS "idea") considered as a security problem, I need to run such a script. Thanks in advance for help
NewPlaza Posted August 29, 2013 Posted August 29, 2013 Try this at the top of your script. #RequireAdmin
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