This procedure will add the MiniNt registry key, making various Windows components think they’re running in the
Windows Preinstallation Environment (WinPE), causing eventlog to be unable to write new events or display the current
ones on Event Viewer.