OS: Windows server 2016 Datacenter Evaluation Build 14393
I think this may due to a suddenly shutdown during booing after "add roles and features".
I have tried to delete registry key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Reboot Pending\
However:
-
I still cannot do anything on Server Manager, they still found I have pending reboot;
-
After rebooting, this key shows again.
And I notice that there are a lots of pending packages (and they are not installed) under "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackagesPending"
So, how to get these pending packages installed? (or perform a revert?)
Best Answer
I'm not sure if these operations would cause any other problems (and if it safe to do so.), but at least I can install features now. And these are what I've done.
It's important to backup before doing these.
Basically, I'm cleaning CBS update pending records.
Open
regedit
, findHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
. You will seePackagesPending
, right click it, openPermission
. Click onAdvanced
, change owner to Administrator (or any other users you are using). CloseAdvanced
Window. Give that userFull Control
inPermission
Window. And deletePackagesPending
.Repeat 1. to
Reboot Pending
Open
X:\Windows\WinSxS
inexplorer
, you will seepending.xml
. In its Properties, repeat 1. And deletepending.xml
.Reboot and everything looks well now.
And, don't forget backup registry and files you deleted.