Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to change settings for 2 DCOM objects via script

Posted on 2009-05-05
1
Medium Priority
?
927 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 24

Accepted Solution

by:
Kenneniah earned 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

715 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