Jump to content

Hey there,

I've been trying to get the HardwareHash which is a property of the MDM_DevDetail_Ext01 class in the root/cimv2/mdm/dmmap namespace inside a WinPE instance. Problem is that WinPE even with all cab files installed doesn't have it. I tried working around that by including all .mof .mfl and .dll files from the webm folder. Then running regsvr32 for all dll files and mofcomp for all mof and mfl files to recompile the wmi library. Then I can find the MDM_DevDetail_Ext01 file with wbemtest, but trying to get the wmiobejct i receive a system.accessviolationexception: attempted to read or write protected memory.

I'm clueless and any idea would be greatly appreciated.

Kind Regards

Link to comment
https://linustechtips.com/topic/1461358-winpe-missing-rootcimv2mdmdmmap/
Share on other sites

Link to post
Share on other sites

50 minutes ago, sirn said:

Hey there,

I've been trying to get the HardwareHash which is a property of the MDM_DevDetail_Ext01 class in the root/cimv2/mdm/dmmap namespace inside a WinPE instance. Problem is that WinPE even with all cab files installed doesn't have it. I tried working around that by including all .mof .mfl and .dll files from the webm folder. Then running regsvr32 for all dll files and mofcomp for all mof and mfl files to recompile the wmi library. Then I can find the MDM_DevDetail_Ext01 file with wbemtest, but trying to get the wmiobejct i receive a system.accessviolationexception: attempted to read or write protected memory.

I'm clueless and any idea would be greatly appreciated.

Kind Regards

Well it’s an idea anyway.  It might not be a good one though:

I had to look up what winPE even was.  It seems to be a seperate OS used to debug windows instals.  I use a LinuxliveCD on a USB key for that. With maybe a bit of winRE if needed.  Generally by the time I need to reach for that sort of thing microsoft has already become a curse word in my mouth. I don’t know what you are actually trying to eventually do, but if it’s just something like fix a boot install or something it may be easier to just abandon it and go for something else that manipulates the hardware and doesn’t even know windows exists.

Not a pro, not even very good.  I’m just old and have time currently.  Assuming I know a lot about computers can be a mistake.

 

Life is like a bowl of chocolates: there are all these little crinkly paper cups everywhere.

Link to post
Share on other sites

22 hours ago, Bombastinator said:

Well it’s an idea anyway.  It might not be a good one though:

I had to look up what winPE even was.  It seems to be a seperate OS used to debug windows instals.  I use a LinuxliveCD on a USB key for that. With maybe a bit of winRE if needed.  Generally by the time I need to reach for that sort of thing microsoft has already become a curse word in my mouth. I don’t know what you are actually trying to eventually do, but if it’s just something like fix a boot install or something it may be easier to just abandon it and go for something else that manipulates the hardware and doesn’t even know windows exists.

It's not just for fixing but for windows installations. In fact all windows installations boot into winpe and then execute the setup.exe. My goal is to determine the identity of a conputer in that phase trough the hatdware hash to get the right config from the server

Link to post
Share on other sites

21 hours ago, Thomas4 said:

Turn off Windows Security, its whats preventing you from accessing the system directory.Just remember to reengage when you're done.

There is no file explorer in winpe, let alone windows security xd ...

Link to post
Share on other sites

  • 2 months later...
5 hours ago, 2Beers said:

Did you got any solution? I got the same issue here

Looking at it the problem is there’s no browser there in the first place or any way to add one.  Bothe pe and re are command line only.  My solution for messing with windows is to open another entirely different OS that has no respect for windows based hidden or read only files (I tend to use liveCDs of Linux) and deal with it using those.  I don’t know how easy it would be.  It’s kind of a janky kludge work around.  You can also really badly screw things up that way if you’re not quite careful

Not a pro, not even very good.  I’m just old and have time currently.  Assuming I know a lot about computers can be a mistake.

 

Life is like a bowl of chocolates: there are all these little crinkly paper cups everywhere.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×