dispdiag
Logs display information to a file. Windows commands reference
On Windows File dispdiag.exe
Windows
dispdiag [-testacpi] [-d] [-delay <seconds>] [-out <filepath>]
- testacpiRuns hotkey diagnostics test. Displays the key name, code and scan code for any key pressed during the test.-dGenerates 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.