locked
Cant add/remove role or feature RRS feed

  • Question

  • 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

    Wednesday, July 23, 2014 3:49 AM

Answers

  • Hi,

    Sorry for the delay reply.

    Did you install any updates before the issue occured?

    Could you please post the detail error message in event log?

    http://support.microsoft.com/kb/2461206/en-gb

    Please feel free to let us know if you need further assistance.

    Regards.


    Vivian Wang

    • Marked as answer by Vivian_Wang Tuesday, August 12, 2014 4:29 AM
    Thursday, August 7, 2014 3:02 AM

All replies

  • 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.


    Vivian Wang

    Friday, July 25, 2014 1:55 AM
  • 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
    Saturday, July 26, 2014 3:20 AM
  • 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.


    Vivian Wang

    Monday, July 28, 2014 9:43 AM
  • I am having the same issue, were you able to resolve it?
    Thursday, July 31, 2014 4:52 PM
  • Hi John,

    Unfortunately after countless hours of trying I am still no closer to resolving the issue. For Myself its looking like a reimage , however as its a DC and I cant go into server manager to demote it   that adds another layer of complexity .

    Thursday, July 31, 2014 9:50 PM
  • Hi,

    Sorry for the delay reply.

    Did you install any updates before the issue occured?

    Could you please post the detail error message in event log?

    http://support.microsoft.com/kb/2461206/en-gb

    Please feel free to let us know if you need further assistance.

    Regards.


    Vivian Wang

    • Marked as answer by Vivian_Wang Tuesday, August 12, 2014 4:29 AM
    Thursday, August 7, 2014 3:02 AM