Click here to Skip to main content
15,885,868 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have this problem: We need to configure >300 computers running Windows XP SP2. We need to configure DCOM. We have new user (dragon) added to the domain. Configuration "by hand" is very simple: see fig. 1.jpg (link to all 4 pictures), press "Edit default button", then appears window "Access permission", see fig. 2.jpg. Here press "Add" button, then appears window "Select user,...", see fig. 3.jpg. Here we select "dragon" user and click OK Appears window "Access permission". Here we select "dragon" user and check "Remote access". Then click OK.

That is vwery simple to make it by hand. But make the same more than 300 times is very difficult. So I want to make it programmatically using C#. But I am application programmer and am not good in such system things like security, users, permissions, accesses etc. Has somebody some script or source code to help me?

Thanks in advance.
Posted
Updated 12-Aug-13 5:57am
v2

1 solution

Determine all of the registry changes, directories to create, ownership etc. and embed the logic in a deployment package, which creates an installer (a .msi file). Install your 'product' on the machines.
 
Share this answer
 
Comments
pbrant123 12-Aug-13 17:51pm    
Thanks for reply. But I do not know, what to change in registry and which are the correct values. I should need any API to change everything what should be. Problem is not in deploying program to all comps, but in creating the program.
H.Brydon 12-Aug-13 17:59pm    
I assume that you use a domain (as stated). Start with a sample machine that has not seen activity from 'dragon' before, and login to the domain for the first time on that system with your 'dragon' username. Do any other setup you need to do, then logout. From an administrative username, search in the registry for references to 'dragon', and identify all of the fields associated with the username addition. Look to see where the directory/directories and file(s) were created when you logged in. Write an installer to duplicate this (don't forget about ownership and access).

Robert is your father's brother.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900