Help and Support
 

powered byLive Search

How to use System Information (MSINFO32) command-line tool switches

Article ID:300887
Last Review:January 23, 2008
Revision:2.0
This article was previously published under Q300887
On This Page

SUMMARY

MSINFO32 displays a comprehensive view of your hardware, system components, and software environment. This article contains an overview of the available switches that can be used with the MSINFO32 command in Windows Vista and in Windows XP.

You can use the MSINFO32 command-line tool switches to do all of the following:
Use System Information from a batch file
Create .nfo or .txt files that contain information from specified categories.
Open System Information and display only specific categories.
Save a file silently (without opening System Information).
Start System Information connected to a remote computer.
Create a shortcut that opens System Information in a frequently-used configuration.

Back to the top

MORE INFORMATION

Use the following syntax to run the MSINFO32 command on computers that are running Windows Vista and Windows XP:
Msinfo32 [/?] [/pch] [/nfo Path] [/report Path] [/computer ComputerName] [/showcategories] [/category categoryID] [/categories categoryID]


Back to the top

Parameters

Path
Specifies the file to be opened in the format C:\folder1\file1.xxx where C is the drive letter, folder1 is the folder, file1 is the file and xxx is the file name extension.

ComputerName
This can be a Universal Naming Convention name, an IP address, or a Fully Qualified Domain Name.

categoryID
This parameter is obtained by using the /showcategories switch.

Back to the top

Command options that are supported in Windows Vista and Windows XP

/nfo {Path}
Saves the exported file as an .nfo file. If the file name that is specified in Path does not end in .nfo, an .nfo file name extension will be appended to the file name.

/report {Path}
Saves the file that is specified in Path in the .txt format. The file name will be saved exactly as it appears in path. The .txt file name extension will not be appended to the file unless it is specified in Path.

/computer {ComputerName}
Starts System Information for the specified remote computer.
Note When you connect to a remote computer, you must have appropriate permissions to access WMI on the remote computer.

Back to the top

Command options that are supported in Windows XP

/pch
Displays the history view.


/showcategories
Starts System Information with the category IDs displayed instead of the friendly names or the localized names. For example, when you use this switch, the Software Environment category is displayed as the SWEnv category. SWEnv is a valid categoryID argument for the /category switch and the /categories switch.

/category {categoryID}
Starts System Information with the specified category selected. Use /showcategories to display a list of available category IDs.

/categories {+categoryID(+categoryID)|+all(-categoryID)}
Starts System Information with only the specified category or categories displayed. It also limits the output to the selected category or categories. Use /showcategories to display a list of available category IDs.

/? Displays a brief summary of MSInfo32 command-line options.

Note Some System Information categories contain large amounts of data. You can use the start /wait command to optimize reporting performance for these categories. For more information, see Related Topics.

Examples

To open System Information in History view, type:
msinfo32 /pch
To create an .nfo file in the folder C:\Temp with a name of Test.nfo, type:
msinfo32 /nfo C:\TEMP\TEST.NFO
To create a .txt file in the folder C:\Temp with a name of Test.txt, type:
msinfo32 /report C:\TEMP\TEST.NFO
To view System Information from a remote computer with a UNC name of BIGSERVER, type:
msinfo32 /computer BIGSERVER
To list the available category IDs, type:
msinfo32 /showcategories
To start System Information with all available information displayed, except Loaded Modules, type:
msinfo32 /categories +all -loadedmodules
To create an .nfo file called SYSSUM.NFO in the C:\Temp folder that contains information in the System Summary category, type:
msinfo32 /nfo C:\TEMP\SYSSUM.NFO /categories +systemsummary
To create a .NFO file called CONFLICTS.NFO in the C:\TEMP folder that contains information about resource conflicts, type:
msinfo32 /nfo C:\TEMP\CONFLICTS.NFO /categories +componentsproblemdevices+resourcesconflicts+resourcesforcedhardware

Formatting legend

FormatMeaning
ItalicInformation that the user must supply
BoldElements that the user must type exactly as shown
Ellipsis (...)Parameter that can be repeated several times in a command line
Between brackets ([])Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd}Set of choices from which the user must choose only one

Back to the top


APPLIES TO
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
Windows Vista Enterprise
Windows Vista Home Premium
Windows Vista Ultimate
Windows Vista Starter
Windows Vista Business
Windows Vista Enterprise 64-bit Edition
Windows Vista Home Basic 64-bit Edition
Windows Vista Home Premium 64-bit Edition
Windows Vista Ultimate 64-bit Edition

Back to the top

Keywords: 
kbhowto kbexpertiseinter KB300887

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.