View system information using the msinfo32 Tool

Source: Internet
Author: User
Tags xml parser
Summary Windows 2000 contains Microsoft System Information (msinfo32.exe), which is an updated version of Microsoft Windows NT diagnostic tool (winmsd.exe.  

You can use winmsd.exe to start Microsoft system information like in Windows NT 4.0, but the difference is that in Windows 2000, winmsd.exe is a stub executable file that can start msinfo32.exe. Msinfo32.exe is located in the Program Files \ common files \ microsoft shared \ msinfo folder.  

System Information Displays comprehensive information about the hardware, system components, and software environment. The displayed system information is divided into three top-level categories, which correspond to the following nodes on the console tree:

hardware resource: this node displays hardware-specific settings, such as Direct Memory Access (DMA), IRQ, I/O address, and memory address. The "conflict/share" Node identifies a device that is sharing resources or in conflict. This helps identify device problems.
component: this node displays information about your windows configurations, determines the status of the Program , network, and multimedia software that your device drives.
Software environment: this node displays the software snapshots attached to the computer memory. You can use this information to determine whether a process is still running or to check the version information.

Note:: Other programs may add nodes to system information to display information specific to the program.

Back to Top

For more information, you can use various command line options to automatically execute msinfo32.exe. You can call msinfo32.exe instead of winmsd.exe to control the execution process.  

Back to Top

Msinfo32.exe usage /?   -The "help" dialog box is displayed.  

/Msinfo_file =File Name   -Open the specified. nfo or. cab file.  

/Nfo   Or   /S File Name   -Output the. nfo file to the specified file.  

/Report File Name   -Output a text file to the specified file.  

/Computer Computer Name   -Connect to the specified computer  

/Categories (+ |-) (ALL | Category name) + | -(Category name)... -Display or output the specified category  

/Category Category name   -Set the focus to a specific category at startup.

Back to Top

Advanced category
 
Class title category switch ================================================== ========= System Overview systemsummary hardware resources Resources resources component components software environment swenv

The following items may or may not exist.

 
Class title category switch ================================================== ========= Internet Explorer 5 internetexplorer application apps
Sub-category of hardware resources
 
Subcategory title subcategory switch ======================================== ===================== conflicting/sharing resourcesconflictsdma resourcesdma enforces hardware resourcesforcedhardwarei/o resourcesioirq resourcesirqs memory resourcesmemory
Child category of the component
Subcategory title subcategory switch ======================================== =================== multimedia componentsmultimedia display componentsdisplay infrared inputs componentsinput modem componentsmodem network componentsnetwork port componentsports storage componentsstorage print componentsprinting faulty Devices componentsproblemdevicesusb componentsusb
Sub-category of software environment
 
Subcategory title subcategory switch ======================================== =================== driver swenvdrivers environment variable swenvenvvars job swenvjobs network connection swenvnetconn module swenvloadedmodules service swenvservices swenvprogramgroup Startup Program swenvstartupprogramsole registers swenvolereg

The following example collects various advanced categories into a separate. nfo file, and msinfo32.exe can read the file.

Start/Wait msinfo32.exe/nfo syssum. nfo/Categories + systemsummarystart/Wait msinfo32.exe/nfo cmpnt. nfo/Categories + componentsstart/Wait msinfo32.exe/nfo swenv. nfo/Categories + swenvstart/Wait msinfo32.exe/nfo hwdres. nfo/Categories + resourcesstart/Wait msinfo32.exe/nfo IE. nfo/Categories + internetexplorerstart/Wait msinfo32.exe/nfo apps. nfo/Categories + apps

The following example collects basic system summary information and conflicts into A. nfo file. msinfo32.exe can read the file. 

 
Start/Wait msinfo32.exe/nfo conflicts. nfo/Categories + systemsummary + componentsproblemdevices + resourcesconflicts + resourcesforcedhardware

The created conflicts. nfo file contains the following top-level categories:

System Overview
Hardware resources
Components

Under "hardware resources", there are two sub-categories: "conflict/sharing" and "forced Hardware. Under "component", there is a "faulty device" subcategory. 

The following example collects software environment information, but does not include the program group and Startup Program subcategories. The created. nfo file can be read using msinfo32.exe. 

 
Start/Wait msinfo32.exe/nfo swenv. nfo/Categories + swenv-swenvprogramgroup-swenvstartupprograms

note : In this example, Start/Wait switch, to execute the batch file and/or command line from the cmd.exe command prompt. To start msinfo32.exe, you must use Start switch; if you use /Wait switch, the next project is not processed until the current project is completed. Use Start/Wait switch ensures that the computer does not take a large amount of CPU time due to some msinfo32.exe categories. overload.

Supplement: The file is in the c: \ Program Files \ common files \ microsoft shared \ msinfo directory. Open Mode ① run → msinfo32 ② run → cmd → msinfo32 (here you can enter the various commands described in this article ). Files in. nfo format are stored in XML format. You can use the XML parser to parse the content. To view the English version of msinfo32, open it on the console and add Parameters/Showcategories

In addition, you can find a library getcpu on the Internet to obtain CPU information. The Assembly command is used:CpuidLibrary: http://dl.dbank.com/c0a577jrmt

[Thank you for your reference]
Windows 2000 command line parameters for msinfo32.exe: http://hi.baidu.com/myvbscript/blog/item/21eb25fa0ece7b8b9e514696.html
How to use the system information (msinfo32) Switch: http://support.microsoft.com/kb/300887

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.