2

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.

Kamil Kisiel
  • 12,184
  • 7
  • 48
  • 69
Jim
  • 1,555
  • 7
  • 25
  • 30

2 Answers2

1

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

user2278
  • 873
  • 5
  • 9
  • So, I assume the answer to my question is no, because dcomperm is not a built-in tool. But I will give it a look. Thanks. – Jim Oct 22 '09 at 18:02
0

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.

squillman
  • 37,883
  • 12
  • 92
  • 146