Solved

How to change settings for 2 DCOM objects via script

Posted on 2009-05-05
1
920 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

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

815 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

8 Experts available now in Live!

Get 1:1 Help Now