Jump to content
Sign in to follow this  
jlf

Windows8 and administrator program

Recommended Posts

jlf

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 ;)

Share this post


Link to post
Share on other sites
jlf

well done ;)

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  

×