Jump to content

#RequireAdmin with AutoItX3 in a VB script.


grwork1
 Share

Recommended Posts

I am failing to control MMC Internet Information Services (IIS) Manager dialog. Searching the forum; the answer would seem to be to add #RequireAdmin. Problem is #RequireAdmin is not defined in AutoItX help and gives syntax error in VB script. How do I achieve the #RequireAdmin fuctionality in a VB script using AutoItX. My script, preceded by some notes, is attached.

Grateful for any help.[update: Calling IsAdmin reveals that true so perhaps this is not a permissions issue but a basic error on my part in using ControlClick?

Edited by grwork1
Link to comment
Share on other sites

Thanks for replies so far.

Re. IDE. I am not using one but running a VB script via cscript at a Win 7 Admin Command Prompt.

Re. Admin permissions. I'm not convinced that this is my problem as I can ControlClick on other controls in the MMC IIS dialog.

In short, could somebody with AutoItX knowledge Run the MMC IIS Manager and try to activate the 'View Sites' control in the right-hand pane because I sure as hell can't.

New simplified VB test script attached.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...