用 msinfo32 /report 导出系统信息报告

从命令行把 msinfo32 的软硬件清单导出为文本文件。

Windows硬件诊断msinfo32 系统信息低风险
运行 `msinfo32 /report "%USERPROFILE%\Desktop\msinfo.txt" /categories +SystemSummary`,把系统摘要写入文本文件。

01命令

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

02作用说明

msinfo32 的图形界面很多人记得,但它支持纯命令行调用这一点经常被忽略。/report 参数把选定的类别写入文本或 .nfo 文件;/categories +SystemSummary 只导出系统摘要,而 `+All`(或省略 /categories)会导出包含组件和软件环境的完整清单。导出的正是 IT 支持通常索要的那份文件。

03风险

风险低风险
!注意: 完整报告可能有数千行,在慢速机器上需要约一分钟;除非被要求,优先只导出 SystemSummary。

04撤销

✓无需撤销——该命令不会改变持久状态。

05来源

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

最后验证: 2026-09-17 · 分类: 系统与设置

06相关方案