Solved

How to change settings for 2 DCOM objects via script

Posted on 2009-05-05
1
915 Views
Last Modified: 2013-11-25
I work with a piece of software that installs two DCOM objects into DCOM config under component services.  Part of out installation requires that we manually

1.  Set the general authentication level to none.
2.  Add the 'Anonymous' and 'Everyone' group to have 'full access' for 'launch and activation permissions' along with full  rights for 'access permissions'
3.  Under the identity tab, set a particular user to run the application.

The easy answer would be to have this added to the install shield but I can't get this done.

As the groups are generic I would have thought this could be automated.  Can someone show me a script or point me in the direction of a script which can do this for me?

Thanks in advance.

Ben
0
Comment
Question by:benowens
1 Comment
 
LVL 24

Accepted Solution

by:
Kenneniah earned 500 total points
Comment Utility
All those permissions etc. are stored in HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\XXXXXX
Therefore exporting a reg file after settings permissions then importing it on the target machines should work. The only problem though is while it does add a RunAs section with the user, it doesn't store the password there.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now