locked
Installation failed because a required role service or feature could not be installed. WS 2008 RRS feed

  • General discussion

  • Hi guys, i have a problem with a Server Windows 2008 SP1 Standar x86, when i tried to reinstall the role of WSUS 3.1 the ServerManager show this Error and i could install again the role.
    Thanks for your help:
    The Error of the event viewer is the nexT:

    Log Name:      Setup
    Source:        Microsoft-Windows-ServerManager
    Date:          27/03/2009 05:53:21 p.m.
    Event ID:      1617
    Task Category: None
    Level:         Error
    Keywords:     
    User:          DOMAIN\Administrator
    Computer:      SOOB.DOMAIN.COM
    Description:
    Installation failed. A restart is required.

    Roles:

    Web Server (IIS)
       Error: The server needs to be restarted to undo the changes.

    Windows Server Update Services
       Error: Installation failed because a required role service or feature could not be installed.


    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-ServerManager" Guid="{8c474092-13e4-430e-9f06-5b60a529bf38}" />
        <EventID>1617</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2009-03-28T00:53:21.056Z" />
        <EventRecordID>23</EventRecordID>
        <Correlation />
        <Execution ProcessID="1100" ThreadID="2736" />
        <Channel>Setup</Channel>
        <Computer>SOOB.DOMAIN.COM</Computer>
        <Security UserID="S-1-5-21-696557799-1245526101-3093723089-500" />
      </System>
      <UserData>
        <EventXML xmlns:auto-ns3="http://schemas.microsoft.com/win/2004/08/events" xmlns="Event_NS">
          <message>

    Roles:

    Web Server (IIS)
       Error: The server needs to be restarted to undo the changes.

    Windows Server Update Services
       Error: Installation failed because a required role service or feature could not be installed.

    </message>
          <identifiers>WsusRole, WebServerRole, WebServerComponent, CommonHttpFeatures, StaticContent, DefaultDocument, Performance, DynamicContentCompression, ApplicationDevelopment, AspNetPages, InternetServiceApiExtensions, InternetServiceApiFilters, NetFxExtensibility, SecurityComponents, RequestFiltering, WindowsAuthentication, WebServerManagementTools, InternetInformationServices6ManagementCompatibility, InternetInformationServices6DatabaseCompatibility</identifiers>
        </EventXML>
      </UserData>
    </Event>


    Alberto
    • Moved by Tim Quan Monday, March 30, 2009 9:36 AM wsus issue
    Saturday, March 28, 2009 6:51 PM

All replies

  • Have you restarted?
    Tuesday, March 31, 2009 1:31 PM
  • Received same error, Unable to install IIS on Windows Server 2008 x 64 VM environments. Installation keep on failing even after restarting the VM.

    Any help will be appreciated.
    Wednesday, September 16, 2009 1:52 PM
  • Received same error, Unable to install IIS on Windows Server 2008 x 64 VM environments. Installation keep on failing even after restarting the VM.

    Any help will be appreciated.

    This is a Windows Server 2008 / IIS 7.0 question; I would recommend asking this question in that forum.
    Lawrence Garvin, M.S., MCITP:EA, MCDBA
    Principal/CTO, Onsite Technology Solutions, Houston, Texas
    Microsoft MVP - Software Distribution (2005-2009)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
    My Blog: http://onsitechsolutions.spaces.live.com
    Wednesday, September 16, 2009 11:01 PM
  • Unistall all roles and features and try again


    Alberto
    Thursday, September 17, 2009 1:10 AM
  • Hi

    I faced the same trouble and solved it.
    In the meantime, you might have solved.
    Anyway, the process is very simple.
    Simply remove "Windows Activation Process" from windows 2008 feature roles (Automatically
    installs while you install Web server (IIS) role.Then reboot your server.Then Install IIS 7.0 and
    it works.Hope you got your way.

    Regrads

    Manzur Mahtab
    MCITP,CCA,CCSP
    Tokyo,Japan.
    Friday, October 2, 2009 8:39 AM
  • When i reached to this error

     

    Web Server (IIS)
       Error: The server needs to be restarted to undo the changes.

    Windows Server Update Services
       Error: Installation failed because a required role service or feature could not be installed.

     

    "Windows Activation Process" don't exist any rules (option) so i can not remove it. any idea ?

     

    i reboot my server a lot times but i can not install IIS

    thanks

    Tuesday, April 6, 2010 9:46 AM
  • As always, the first place to start is by following the installation instructions as documented in the Product Documentation -- in this case, I specifically recommend the Step-By-Step (Installation) Guide.
    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    Principal/CTO, Onsite Technology Solutions, Houston, Texas
    Microsoft MVP - Software Distribution (2005-2010)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
    My Blog: http://onsitechsolutions.spaces.live.com
    Tuesday, April 6, 2010 10:28 PM
  • Hi

    Launch Server Manager→Features→Select Remove Feature → Select Windows Activation Process → Remove and Reboot

    Then try to reinstall IIS.

    Hope you find the way!

    Cheers

    Manzur Mahtab

    MCITP,CCA,CCSP
    Tokyo,Japan.

    Wednesday, April 7, 2010 3:33 AM
  • The above suggestions did not resolve issue in my case;

    I did the below to resolve this after lot of research and same worked for me in 3 servers;

    1)      Disable UAC  by Disabling the setting "User Account Control: Run all administrators in Admin Approval Mode", under Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\Security Options. And reboot the server

    2)      Remove all existing installed  features of dotnet 3.5 and reboot the server

    3)      Install Windows Process activation service using add features and reboot the server

    4)      NowInstalled Web(IIS) role  features which resulted in successfull installation

     

     

     

     

     

    Wednesday, December 8, 2010 10:16 PM
  • When i reached to this error

     

    Web Server (IIS)
       Error: The server needs to be restarted to undo the changes.

    Windows Server Update Services
       Error: Installation failed because a required role service or feature could not be installed.

     

    "Windows Activation Process" don't exist any rules (option) so i can not remove it. any idea ?

     

    i reboot my server a lot times but i can not install IIS

    thanks

    It worked, thanks :)
    Tuesday, April 19, 2011 4:40 PM
  • Hi Sooraj,

    I followed the exact same procedure.

    1. Disabled UAC using the gpedit.msc to edit Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\Security Options and reboot.
    2. Removed Dotnet 3.5 feature and reboot. 
    3. I tried to install the WPA (windows process activation) feature and now I get the same error, now I cant install WPA too. It fails as the same way IIS installation fails. :-/

    Please help.

    Thanks,

    Suresh

    Wednesday, June 13, 2012 6:21 AM
  • I too got the same error, but I followed below steps,

    1) Uninstalled the .net framework 3.5 sp1 and restarted

    2) Ran the windows update, which includes .Net framework

    3) Opened the server manager tried to install Web Server (IIS) with default settings it came up.

    4) Again opened the server manager tried to install the Application requirements (CGI, .ASP..)

    It got resolved now.

    Thanks,

    Jo.

    Thursday, December 6, 2012 6:36 AM
  • Thanks man you saved rest of the day, spent around 8 hours and 30 restrats on the issue.
    Monday, August 18, 2014 7:14 PM
  • Hello Guys.. I just want to share my experience. My running server is Windows Server 2008 R2 and I am having the same issue. WSUS rely on IIS role. Investigating C:\Windows\iis7.log, I found this FAIL:

    [11/12/2014 17:25:41] < !!FAIL!! > Failed to acquire the NetFrameworkConfigurationKey key container context (result=0x8009000b)
    [11/12/2014 17:25:41] < !!FAIL!! > Install of component SharedLibraries result=0x8009000b
    [11/12/2014 17:25:41] < !!FAIL!! > COMPONENT::ExecuteCommand result=0x8009000b

    After seeking this forum:
    http://forums.iis.net/t/1115738.aspx
    http://support2.microsoft.com/?id=271865

    I finally can install WSUS role by doing this step:
    1. Remove all folders/files in C:\ProgramData\Microsoft\Crypto\RSA
    2. Install IIS Role with default settings
    3. Install WSUS Role with default settings
    4. Follow the wizard to configure WSUS

    Regards,
    HENDHY


    Thursday, November 13, 2014 12:34 AM
  • Yes, the steps mentioned by Manzur,works for windows 2012 R2, i have tested. Most like you will be able to resolve the issue by following these simple steps.

    Regards,

    Naren Nadh

    Tuesday, June 16, 2020 11:12 AM