Close Menu
    Facebook X (Twitter) Instagram
    Sunday, June 22
    X (Twitter) LinkedIn
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»CM2012»Configuration Manager-Failed to install IIS feature-the source files could not be found error code 0x800f081f

    Configuration Manager-Failed to install IIS feature-the source files could not be found error code 0x800f081f

    Eswar KonetiBy Eswar KonetiJuly 09, 12:34 am2 Mins Read CM2012 8,672 Views
    Share
    Facebook Twitter LinkedIn Reddit

    This is a quick post on an issue that I come across recently at a customer who was unable to install the IIS role for setting up a distribution point.

    As we all know, IIS is a prerequisite for setting up a distribution point in Configuration Manager.

    During the installation of the IIS feature, you need to provide the path to source files, this will be usually the SXS folder from the OS media file as shown below.

    I have specified the SxS folder during the installation of IIS and made sure that, the OS version matches the ISO file that was downloaded.

     This is the usual procedure that we all do to install the IIS feature and it always works, but in this case, it never worked for me.

    Following is the error code:

    The request to add or remove features on the specified server failed. The source files could not be found. Error Code 0x800f081f.

    I tried a couple of times by changing the ISO to the latest one, but it failed with the same error code.

    what other options do we have to install the IIS role now for DP to work?

    If the SxS source files cannot be used by the server to install IIS, we will use the WIM file from the same ISO to install the IIS feature using Powershell cmdlet.

    Following is the PowerShell syntax.

    Install-windowsfeature web-server –source wim:D:\sources\install.wim:2

    Here 2 refers to the image index.

    How do we know what index to use? This is based on the OS edition installed on the server.

    You can check the OS edition on the server using WINVER from the RUN command.

    Once you are done with this, run the following DISM command against the source wim file to know the index.

    dism /get-wiminfo /wimfile:E:\sources\install.wim

    Index 2 refers windows server 2019 standard with desktop experience

    If your OS is datacenter with desktop experience, you need to use index 4.

    once we have all the necessary information, run the PowerShell to install the IIS role.

    Install-windowsfeature web-server –source wim:D:\sources\install.wim:2

    Status after the Powershell command.

    likewise, you can install all other features using the same format.

    If the standard practice doesn’t work, we take other routes to make things work 😊

    Hope it helps!

    configmgr Distribution Point DP error code 0x800f081f failed to install IIS IIS MEMCM SCCM source files not found
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    Optimize Your Intune Workflow with a Powerful Browser Extension

    March 22, 10:39 am

    Migrate Microsoft 365 Updates from SCCM/MECM to Intune for Co-Managed Devices

    February 11, 9:50 pm

    How to detect the source of registry key modifications on windows devices – Intune

    November 21, 8:49 pm

    2 Comments

    1. Shailendra Kumar on July 9, 2020 12:43 AM

      can we use powershell to uninstall any windows features if any uninstall error using GUI ?

      Reply
      • Eswar Koneti on July 9, 2020 11:17 AM

        Hi,
        Yes, you can use powershell cmdlet Uninstall-WindowsFeature to uninstall windows feature.
        More information on https://docs.microsoft.com/en-us/powershell/module/servermanager/uninstall-windowsfeature?view=winserver2012r2-ps

        Thanks,
        Eswar

        Reply

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

    © Copyright 2009-2024 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

     

    Loading Comments...