Logs display information to a file.
Syntax
dispdiag [-testacpi] [-d] [-delay <seconds>] [-out <filepath>]
Parameters
| Parameter | Description |
|---|---|
| - testacpi | Runs hotkey diagnostics test. Displays the key name, code and scan code for any key pressed during the test. |
| -d | Generates a dump file with test results. |
-delay <seconds> |
Delays the collection of data by specified time in seconds. |
-out <filepath> |
Specifies path and filename to save collected data. This must be the last parameter. |
| -? | Displays available command parameters and provides help for using them. |
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
