Cant add/remove role or feature

I have a Domain Controller running 2012r2 and recently installed NPS role ,which I had problems with so I decided to remove the role and start again. Unfortunatley this is where my problems begin , when I now open server manager I get "role and features refresh failed with the following error. The operation cannot be completed because the server requires a restart ( tried restarting several times).

when I go into windows logs \CBS

2014-07-23 13:19:43, Error                 CSI    00000005 (F) Current pending rollback transaction content precludes other operations; reboot to complete rollback.[gle=0x80004005]
2014-07-23 13:19:43, Info                  CBS    Failed to get transaction analysis because of pending operations. Disposition from Analyze: 0x1 [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2014-07-23 13:19:43, Info                  CBS    Failed to get inventory. [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2014-07-23 13:19:43, Info                  CSI    00000006@2014/7/23:03:19:43.961 CSI Transaction @0x3929858060 destroyed
2014-07-23 13:19:43, Info                  CBS    Failed to get CSI Inventory [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2014-07-23 13:19:43, Info                  CBS    Failed to get component state. [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2014-07-23 13:19:43, Info                  CBS    Failed to get current state of the deployment [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2014-07-23 13:19:43, Info                  CBS    Failed to get Transaction State for package: Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384, update: NetFx4 [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]
2014-07-23 13:19:43, Error                 CBS    Failed to get store state [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]

I have tried playing with these reg keys

The value of the UpdateExeVolatile registry key is anything other than 0.

  • The PendingFileRenameOperations registry key has any value.

and numerous other things still haven't fixed it i.e

dism /online /cleanup-image /restorehealth

Please any advice would be extremely gratefull , I do not want to have to rebuild DC ..

Many Thanks in advance

Paul

July 23rd, 2014 6:49am

Hi,

Is there any event in the event log?

Let's check that TrustedInstaller service is set to Automatic start, reboot and try again with

DISM /Online /Cleanup-Image /RestoreHealth

Regards.

Free Windows Admin Tool Kit Click here and download it now
July 25th, 2014 4:55am

Hi Vivian,

many thanks for yoyur suggestions however I tried several more times running DISM /Online /Cleanup-Image /RestoreHealth and also changing Trusted installed to Automatic before starting the process and verifying it was in place before a reboot.

I see nothing in the event log relating to it.

Do you have any other possible solutions I could try ?

I looked into maybe copying all the files from C:\Windows\servicing\Packages on a working server onto the 2012r2 dc 

due to this line

2014-07-23 13:19:43, Info                  CBS    Failed to get Transaction State for package: Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384, update: NetFx4 [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]

could this mean the framework package is corrupt ? I am so grabbing for anything.

Paul


July 25th, 2014 11:49pm

Hi Vivian,

many thanks for yoyur suggestions however I tried several more times running DISM /Online /Cleanup-Image /RestoreHealth and also changing Trusted installed to Automatic before starting the process and verifying it was in place before a reboot.

I see nothing in the event log relating to it.

Do you have any other possible solutions I could try ?

I looked into maybe copying all the files from C:\Windows\servicing\Packages on a working server onto the 2012r2 dc 

due to this line

2014-07-23 13:19:43, Info                  CBS    Failed to get Transaction State for package: Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384, update: NetFx4 [HRESULT = 0x80070bc9 - ERROR_FAIL_REBOOT_REQUIRED]

could this mean the framework package is corrupt ? I am so grabbing for anything.

Paul


  • Edited by Brocky101 Saturday, July 26, 2014 7:42 AM
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2014 6:20am

Hi,

Thanks for your response.

Please refer to the following article:

Installation Failures / CBS Store corruptions: Uncommon issues and troubleshooting

http://blogs.technet.com/b/roplatforms/archive/2011/04/28/installation-failures-cbs-store-corruptions-uncommon-issues-and-troubleshooting.aspx

Regards.

July 30th, 2014 6:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics