Where does msinfo32.exe get it's data from?

5,772

Some of that info is obtained from the registry at

HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System

and some of the other locales in HARDWARE.

The other system information such as System Manufacturer and System Model can only be obtained with calls to the Windows API.

Open up the WMIC.

C:\Windows\System32\wbem\WMIC.exe

In the CLI type in ComputerSystem Get Model, Manufacturer

For a remote computer, you can use the following:

%windir%\System32\wbem\WMIC.exe /node:"ComputerNameORIpAddress" ComputerSystem Get Model, Manufacturer

Or if you need a password:

%windir%\System32\wbem\WMIC.exe /node:"ComputerNameORIpAddress" /user:"domain\username" /password:"password" ComputerSystem Get Model, Manufacturer

Share:
5,772

Related videos on Youtube

anil
Author by

anil

Updated on September 18, 2022

Comments

  • anil
    anil over 1 year

    Specifically, I'm looking for where System Manufacturer and System Model are located. I'm assuming the registry somewhere. I'm trying to identify the hardware for a few drive images i have backed up. Looking at the directories and driver's isn't telling me much.

  • anil
    anil almost 13 years
    interesting, never seen that command before. So I take it there wouldn't be a log or something with this info anywhere unless I made it a point to do it myself?
  • vladr
    vladr over 9 years
    See Retrieving System Information on TechNet, as it describes the mapping between what is displayed in the System Information snapin (very similar to msinfo32) and WMI.