Have you just installed Windows Server, and it keeps restarting? It’s most likely because you haven’t activated it.
Here’s how to activate your copy:
Press the Windows button, search for the Control Panel, and open it.

Change the view to small icons

Open Action Center

Press Go to Windows activation

Press Activate and then reboot your server.
