How do i schedule the built-in windows memory diagnostics from a server core installation?

Solution 1:

This command worked for me on Hyper-V Server 2019: -

bcdedit /bootsequence {memdiag}

It sets the memory diagnostic to boot and execute at the next server restart. After exiting the diagnostic the server will restart to Windows again. Microsoft documentation for bcdedit is here BCDEdit Options Reference. The {memdiag} is a well-known boot entry identifier, which you can find with: -

bcdedit /? id