Jump to content

DCOM Automation


 Share

Recommended Posts

I am very new to Autoit. My goal is to create a script that can do the following.

Set two local security policies. I got that working!

Add a local group, this I have working too!

Now what i need to do is four more things. I need to Edit limits in the dcomcnfg.exe my computer properties, Com Security tab, Access restrictions to allow "Remote access" to the Anonymous Log in user. Next add my custom user to the edit limits button for Launch and activaion permissions with local and remote launch and activation allowed.

The other two things I need to do is drill down the DCOM tree for my app and set Launch/Launch activation permissions and access permissions to custom and add my custom usergroup.

Can this be done? Where should I start?

Link to comment
Share on other sites

I once had to modify access permissions to a DCOM component and was able to do so with just a registry update. I believe how I approached it was I set the permissions I desired by hand, then found those reg keys under HKEY_CLASSES_ROOTAppID and exported a .REG file.

Alternatively you could use the AUInfo Tool included with AutoIt to determine the control IDs within the DCOMCNFG gui and manipulate them. The registry method has less room for error and you may find that sometimes (depending on how it is accomplished) automating a GUI in this way may be unreliable.

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...