DCOMCnfg settings

Posted: 03-29-2005, 06:32 PM
Hi

Is it possible to create a component that encapsulates the settings for
an object listed in DCOMCnfg? How would one do this? I have some COM
components that require the "identity" to be set manually under
DCOMCnfg and I would like to automate it.

Thanks for your help.

Reply With Quote

Responses to "DCOMCnfg settings"

Gordon Smith \(eMVP\)
Guest
Posts: n/a
 
Re: DCOMCnfg settings
Posted: 03-30-2005, 05:06 PM
tvle wrote:
> Hi
>
> Is it possible to create a component that encapsulates the settings
> for an object listed in DCOMCnfg? How would one do this? I have
> some COM components that require the "identity" to be set manually
> under DCOMCnfg and I would like to automate it.
>
> Thanks for your help.
I haven't done this personally, but it "should" be doable. You'll want to
use a tool like INCTRL5 or RegSnap/NTFILEMON/NTREGMON/etc. to take a
snapshots of the system before and after your change. Take a diff of those
snapshots and most likely it's simply a set of registry settings. You would
then build a component for those registry settings.

Possible gotchas:
1. I'm not sure if the settings they save have machine/instance specific
data. If so, this approach won't work.
2. Make sure you have a build order dependancy on any component which may
stomp over your registry settings.

If #1 is an issue, I'd look into a programmatic or scripted approach for
making those settings. You could then create a component which executes
that approach for you.

--
Gordon Smith (eMVP)
-- Avnet Applied Computing Solutions


Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DCOMCNFG Items are grayed out? Gerry Hickman Windows Vista Security 1 04-21-2007 03:11 PM
Clearing IP settings: duplicate ip settings and blank ip settings Tech_vs_Life Windows Vista Networking & Sharing 3 12-17-2006 02:42 AM
Danger in Purging \Documents and Settings\<User Name>\Local Settings\Temp ? rnott@lternet.edu Windows XP Configuration & Management 2 08-22-2006 01:50 AM
COMPUTER MANAGEMENT | LOCAL USERS settings. Will System Restore and/or Hardware Profiles save settings so I can mess with these? Thanks. newbie Windows XP Help & Support 2 09-30-2003 05:27 AM
User Account settings have resest and windows cant save settings when i shutdown I_R_Baboon_1469 Customize Windows XP 1 09-26-2003 03:35 AM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90