Windows Server > Windows Server Forums > Server Core Developers > Windows 2003 x64 - Automate DCOM security permissions on components
Ask a questionAsk a question
 

AnswerWindows 2003 x64 - Automate DCOM security permissions on components

  • Monday, October 19, 2009 12:38 PMRHUM2 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello World !

    In my automated deployment of Windows 2003 Server x64, I need to configure security of some DCOM components (IIS WAM Reg admin Service, COM+ Event System, ...). I need to change security configuration for this components (actions:

    - properties -> security tab -> launch and activation permissions (customize) -> Edit

    I add two accounts from an Active Directory with these security permissions : local launch / local activation

    How can I automate theses actions (certainly by script or by API code) ? I'm searching on Web but I don't find what I want. If you have some code examples ...

    Thanks for all these links (for the second link, there are no example)

    It seems that DCOM is always coded with VB or VBS and for C# ???

    I'm not good in development but it seems very complicated to realize what I want. I'm interesting by an example of code if possible.

    Can DCOM manipulations code with Power Shell ?

    Thanks for advance for your ideas / help

    Regards,
    Have a nice day !
    Rhum2

Answers

All Replies