Automating DCOMCNFG

Visual Studio138
Hi There all,



I've done extensive googling looking for a tool/script/anything to help

me do this to no avail...



What I need is a script/tool/utility that will automate the following

steps for me...



Open dcomcnfg

Go To Component Services/Computers

Right Click on My Computer, select Properties

Click on Default Com Security tab, and under "Access Permissions",

click "Edit Default"

Add a new user and close.



I know this maps to the

HKLM\Software\Microsoft\OLE\DefaultAccessPermissions Key but I can't

figure out how to add/remove to the encoded ACL in there... can anyone

help?



Rgds



Paul


-