Share via


Windows Server 2012 R2 - Automatic refresh - Refresh failed - role and feature refresh failed with the following error: Server execution failed

Question

Tuesday, January 24, 2017 12:17 PM

Running Server 2012 R2, using Administrator

Server manager is not refreshing, giving the error:

Automatic refresh - Refresh failed

The detail is : role and feature refresh failed with the following error: Server execution failed

I also cannot access Network Policy Server snap-in in MMC

Tried the following without luck:

* run SFC /SCANNOW

* run DISM /Online /Cleanup-Image /RestoreHealth

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Administrator>dism /online /cleanup-image /restorehealth

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

[==========================100.0%==========================]

Error: 0x80240021

DISM failed. No operation was performed.
For more information, review the log file.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

C:\Users\Administrator>

* These http://how-2-do.blogspot.co.za/2016/04/can-list-installed-roles-and-features.html

Any other suggestions ?

All replies (6)

Friday, January 27, 2017 1:50 PM ✅Answered

To do an in-place repair you can run setup.exe from the root of the installation media.

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Tuesday, January 24, 2017 3:42 PM

You might check the log for error details or possibly try a repair install.

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Wednesday, January 25, 2017 6:42 AM

Hi,

Does it work after reboot?

In addition, I want to confirm with you that under what kind of circumstance the problem occurred.

I suggest you could open Event Viewer to see whether some Event ID has been logged.

And please also try Dave's suggestion, do a repair install.

Best Regards,

Mary

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Wednesday, January 25, 2017 8:34 AM

No luck after reboot also.

The problem is persistent, so there is no trigger.

Event viewer shows:

Setup: Warning (yesterday when I ran the repair)

-
<Event xmlns="{}schemas.microsoft.com/win/2004/08/events/event">

  • <System>

  <Provider Name="Microsoft-Windows-Servicing" Guid="{BD12F3B8-FC40-4A61-A307-B7A013A069C1}" /> 

  <EventID>1015</EventID> 

  <Version>0</Version> 

  <Level>3</Level> 

  <Task>0</Task> 

  <Opcode>0</Opcode> 

  <Keywords>0x8000000000000000</Keywords> 

  <TimeCreated SystemTime="2017-01-24T12:17:56.118153000Z" /> 

  <EventRecordID>4898</EventRecordID> 

  <Correlation /> 

  <Execution ProcessID="24316" ThreadID="5024" /> 

  <Channel>Setup</Channel> 

  <Computer>WIN-8LMKRVFDRQT.AWCHETZ.local</Computer> 

  <Security UserID="S-1-5-18" /> 
  </System>

  • <UserData>

  • <CbsStoreCorruptionRepairFinish xmlns="{}manifests.microsoft.com/win/2004/08/windows/setup_provider">

  <Repaired>0x0</Repaired> 

  <TotalCorruption>0</TotalCorruption> 
  </CbsStoreCorruptionRepairFinish>
  </UserData>
  </Event>
I see these application Information events, that regard the corruption: 

NPD

  • <Event xmlns="{}schemas.microsoft.com/win/2004/08/events/event">

  • <System>
      <Provider Name="NPS" /> 
      <EventID Qualifiers="16384">4400</EventID> 
      <Level>4</Level> 
      <Task>0</Task> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2017-01-25T08:12:17.000000000Z" /> 
      <EventRecordID>3591629</EventRecordID> 
      <Channel>Application</Channel> 
      <Computer>WIN-8LMKRVFDRQT.AWCHETZ.local</Computer> 
      <Security /> 
      </System>

  • <EventData>
      <Data>WIN-8LMKRVFDRQT.AWCHETZ.local</Data> 
      <Data>AWCHETZ</Data> 
      </EventData>
      </Event>
    dbupdate

  • <Event xmlns="{}schemas.microsoft.com/win/2004/08/events/event">

  • <System>
      <Provider Name="dbupdate" /> 
      <EventID Qualifiers="0">0</EventID> 
      <Level>4</Level> 
      <Task>0</Task> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2017-01-25T08:11:01.000000000Z" /> 
      <EventRecordID>3591628</EventRecordID> 
      <Channel>Application</Channel> 
      <Computer>WIN-8LMKRVFDRQT.AWCHETZ.local</Computer> 
      <Security /> 
      </System>

  • <EventData>
      <Data>Service stopped</Data> 
      </EventData>
      </Event>

There are DCOM errors also, but I don't think this is related

  • <Event xmlns="{}schemas.microsoft.com/win/2004/08/events/event">
  • <System>
      <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" /> 
      <EventID Qualifiers="0">10010</EventID> 
      <Version>0</Version> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Opcode>0</Opcode> 
      <Keywords>0x8080000000000000</Keywords> 
      <TimeCreated SystemTime="2017-01-25T07:45:27.056253200Z" /> 
      <EventRecordID>288023</EventRecordID> 
      <Correlation /> 
      <Execution ProcessID="1012" ThreadID="22996" /> 
      <Channel>System</Channel> 
      <Computer>WIN-8LMKRVFDRQT.AWCHETZ.local</Computer> 
      <Security UserID="S-1-5-18" /> 
      </System>
  • <EventData>
      <Data Name="param1">{73E709EA-5D93-4B2E-BBB0-99B7938DA9E4}</Data> 
      </EventData>
      </Event>
    I will try a repair install, but it being a live server, it may not be done today

Wednesday, January 25, 2017 9:05 AM

Hi,

For these events, that seems to be some service wrong.

You may also try the services.msc to do a check.

In addition, here is the related events information. Maybe you could also take a look.

https://technet.microsoft.com/en-us/library/cc734010(v=ws.10).aspx

DistributedCOM Error ID 10010 
http://social.technet.microsoft.com/Forums/en-SG/winservergen/thread/77b1db1d-f186-4515-8f7d-2241942eb9b7

Event ID 10010 — COM General Functionality
http://technet.microsoft.com/en-us/library/cc774175(WS.10).aspx

Best Regards,

Mary

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, January 27, 2017 10:14 AM

I don't see a repair install option for Windows server 2012. There is only a load image and cmd option (or a complete re-install). Please advise.