Solved

How to change settings for 2 DCOM objects via script

Posted on 2009-05-05
1
923 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
ID: 24315131
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

830 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