Important This section contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
For converting Server GUI to Server Core, you need to remove the registry keys mentioned above.
To delete the unwanted WINEVT registry keys, follow these steps:
From the Command prompt or Powershell prompt, run the following commands: