czwartek, 28 maja 2020

inplace upgrade Windows 2008 to Windows 2012r2 - no GUI

Finally I upgraded one of out-of-support servers - from Windows 2008 through Windows 2008r2 to Windows 2012r2. I had some issue with no boot device error (0x7b), but at the end upgrade of the server was finished. After logon - black screen, no GUI, I could run task manager, from task manager I could run explorer.exe (but only with the highest privileges) and Start Menu was strange.
I tried to make Windows Update, no effect - searching for updates (from WSUS) was never ending - few hours so I installed kb3138615, after restart and few minutes - voile la - there are - missing 202 patches, but every attempt to download and install patches failed - from GUI and command prompt.
Quick investigation - plenty of 10020 DistributedCOM Errors "The machine wide Default Launch and Activation security descriptor is invalid... The security permission can be corrected using the Component Services administrative tool."
I modified permissions and GUI came back after restart.

wtorek, 26 maja 2020

Remove and Add GUI Windows Server

Remove-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra Add-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra