Export System Information with msinfo32 /report

Dump msinfo32's hardware and software inventory to a text file from the command line.

WindowshardwareDiagnosticsmsinfo32Low risk
Run `msinfo32 /report "%USERPROFILE%\Desktop\msinfo.txt" /categories +SystemSummary` to write the system summary to a text file.

01Command

Command
$ msinfo32 /report "%USERPROFILE%\Desktop\msinfo.txt" /categories +SystemSummary

02What it does

msinfo32 GUI is easy to forget, and so is the fact that it can be driven entirely from the command line. /report writes the selected categories to a text or .nfo file; /categories +SystemSummary limits output to the summary, while `+All` (or omitting /categories) exports the complete inventory including components and software environment. This produces the exact file most IT support asks for.

03Risk

RiskLow risk
!Warning: The full report can run to thousands of lines and take a minute on slow machines; prefer SystemSummary unless asked for everything.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • msinfo32 - Windows Commands
    Microsoft Learn · vendor-doc · 2026-09-17
    Evidence: Documents msinfo32 /report to export system information to a file and /categories to limit the report to selected categories.

Last verified: 2026-09-17 · Category: System & Settings

06Related solutions