Might try booting the installation media and Repair You Computer
--please don't forget to Accept as answer if the reply is helpful--
I have win server 2012 I am using it for sun material app.
a week ago I started to face the black screen after the logging and I can't do anything or management the server except through safe mode despite the app running properly .
I did the following to solve the problem but I didn't find anything wrong:
1: Running Dism /Online /Cleanup-Image /CheckHealth
2: running SFC /SCANNOW
3: bootrec / fixmbr
4: bootrec / fixboot
5: bootrec / rebuildbcd
6: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon (Shell key)
Although I found this error in the event viewer and repeat it self continuously :
DCOM got error "1084" attempting to start the service ShellHWDetection with arguments "Unavailable" in order to run the server: