Unable to install IIS on Windows Server 2019 DC error 0x800f081f

Samuel Fikiru 0 Reputation points
2024-07-05T08:09:48.87+00:00

User's image

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,781 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Hania Lian 17,026 Reputation points Microsoft Vendor
    2024-07-05T08:38:48.1766667+00:00

    Hello,

    Sometimes, corruption in system components can cause this error. You can try cleaning up the system components and specifying an alternate Windows image repair source.

    To do this, open the Group Policy Editor by running gpedit.msc

    Navigate to the following settings:

    Computer Configuration > Administrative Templates > System

    Look for the setting named Specify settings for optional component installation and component repair.

    Enable it and specify an alternate source (you can use the original Windows installation media).

    After making these changes, retry installing IIS.

    Hope this helps.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


  2. Manu Philip 18,661 Reputation points MVP
    2024-07-05T08:41:02.7433333+00:00

    Hi,

    You can have a try installing IIS with PowerShell command as below

    Install-WindowsFeature -name Web-Server -IncludeManagementTools


  3. Manu Philip 18,661 Reputation points MVP
    2024-07-05T09:15:48.3333333+00:00

    We will need to try a step-by-step procedure to resolve the issues related to the source file not found during the installation

    After each step, try the installation again and see if it helps !

    1. Run the following command from an admin cmd window to search for and repair corrupted files DISM.exe /Online /Cleanup-image /Restorehealth
    2. Reset Windows Update component Stop the Windows Update service by using the net stop wuauserv command Stop Background Intelligent Transfer service with net stop bits Delete the contents of the software distribution folder (C:\Windows\SoftwareDistribution) Restart the service with net start wuauserv Restart the bits service with net start bits
    3. Try Disabling and Enabling .Net framework features from Control Panel → Programs and Features → Enable or disable Windows features
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.