in reply to Re: WindowsRegistry{ServiceName} V.S. wmic{ServiceName}
in thread WindowsRegistry{ServiceName} V.S. wmic{ServiceName} UPDATE: Solved

Can I not hide anything from you perlmonk wizards? :-)

You are correct goibhniu, this is an XY problem, which is why I didn't bother to attach this side issue to the original thread id:639048. I'm actually working on a solution to the original problem, and got stuck on this side issue, trying to understand how to get the hex servicename from the not-hex servicename.

Given that this whole problem may become moot, I'm still interested in knowing if it is possible to find the hex servicename for something without "hardcoding" a probable path in for it. The vague mists of my memory nag at me that there is a way to do this I once explored, but I can't come up with what it is to save my life.

Yes, yes, yes, everyones observations on wmic and the registry are helping very much. I apologize if I can't respond to everyone's thoughts, but I am dole-ing out my meager XP points as fast as I'm allowed.

Thanks to everyone for holding my hand through this uncharted (and spooky) adventure!

-Craig

  • Comment on Re^2: WindowsRegistry{ServiceName} V.S. wmic{ServiceName}

Replies are listed 'Best First'.
Re^3: WindowsRegistry{ServiceName} V.S. wmic{ServiceName}
by goibhniu (Hermit) on Sep 19, 2007 at 19:37 UTC

    I remembered Getting MAC Address(s) on Windows PCs. I wasn't so much thinking that service name was a distraction from finding the two MAC address problem. I was wondering if the two MAC address problem might be hiding another problem. Maybe that makes this an XYZ problem?

    You can hide all you want form perlmonks. We'll try to help anyway. :)

    (total side note here: the way to link to a node is [id://nodeid], not [id:nodeid]. Note the slashes.)


    I humbly seek wisdom.
Re^3: WindowsRegistry{ServiceName} V.S. wmic{ServiceName}
by Anonymous Monk on Jan 18, 2008 at 11:02 UTC
    this can be done easily if u have the HEX service name with you .... browse thru the registry to HKCR\CLSID\ you will find it there. another way is to go to DCOMCNFG.exe component services\computers\mycomputer\dcom config.