Is it possible to script commands using batch commands, VBScript, or anything else? I need to modify a few DCOM components to grant permissions to local groups.
Is it possible to script commands using batch commands, VBScript, or anything else? I need to modify a few DCOM components to grant permissions to local groups.
There's a tool called "dcomperm", which might really be a piece of sample code - a colleague of mine says he found a project for it in the visual studio 6 SDK. It apparently will do what you want, assuming you can find/build it.
See also http://www.myitforum.com/articles/11/view.asp?id=9323
Little late to the party here (ok, a lot late) but here's a post that may be of interest to you if you're still looking for something:
Set remote DCOM permissions programatically?
One suggestion in the post is to use psexec and reg files.