Share via

DISMAPI Error Failed To Enable Updates

Osama Milhem 20 Reputation points
2025-09-16T15:10:47.4066667+00:00

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

                                                                                                                                                                                                     Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows                                                                                                                                                                                                                                                                                                                         PS C:\Users\trustisadmin> Install-WindowsFeature Web-Mgmt-Console -IncludeManagementTools -Verbose                                                                                                       VERBOSE: Installation started...                                                                                                                                                                         VERBOSE: Continue with installation?
```VERBOSE: Prerequisite processing started...

VERBOSE: Prerequisite processing succeeded.

Install-WindowsFeature : The request to add or remove features on the specified server failed.

Installation of one or more roles, role services, or features failed. Error: 0x800f0922

At line:1 char:1

+ Install-WindowsFeature Web-Mgmt-Console -IncludeManagementTools -Verb ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature], Exception

    + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand

Success Restart Needed Exit Code      Feature Result

------- -------------- ---------      --------------

False   No             Failed         {}

VERBOSE: Installation succeeded.

PS C:\Users\trustisadmin>
Windows for business | Windows Server | Devices and deployment | Install Windows updates, features, or roles
0 comments No comments

2 answers

Sort by: Most helpful
  1. Osama Milhem 20 Reputation points
    2025-09-22T10:14:26.67+00:00

    Hello Henry,

    Thank you for your assistance.

    I do have all the above already installed. Please check the below:-

    PS C:\Users\xxxxxxAdmin> Install-WindowsFeature Web-WebServer, Web-Static-Content, Web-Default-Doc, Web-Dir-Browsing, Web-Http-Errors, Web-Net-Ext45, Web-Asp-Net45, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Filtering, Web-Stat-Compression

    Success Restart Needed Exit Code Feature Result


    True No NoChangeNeeded {}

    PS C:\Users\xxxxxxAdmin>

    Do you have any other suggestions?

    Was this answer helpful?

    0 comments No comments

  2. Henry Mai 8,225 Reputation points Independent Advisor
    2025-09-16T16:17:14.14+00:00

    Hello Osama, I am Henry and I want to share my insight about your issue.

    The error 0x800f0922 means the system cannot find the source files required to install the feature, either locally or from Windows Update. This happens frequently when adding IIS management tools or other server features.

    Solution 1: Specify the Installation Source. Use your Windows Server installation media to provide a known-good source.

    1. Mount the Windows Server ISO (or insert the USB). Assume it’s the D: drive.
    2. Check the correct image index for your edition (Standard/Datacenter): Dism /Get-ImageInfo /ImageFile:D:\sources\install.wim Note the index number that matches your edition.
    3. Run the installation again with the source path: Install-WindowsFeature Web-Mgmt-Console -IncludeManagementTools -Source WIM:D:\sources\install.wim:2

    This forces installation directly from the ISO and resolves the error in most cases.

    Solution 2: Repair Component Store & Ensure Update Connectivity

    If you don’t have the ISO handy, or the issue persists:

    1. Make sure the server can reach Windows Update (or WSUS if used).
    2. Run these commands to repair the component store:
      1. sfc /scannow
      2. DISM /Online /Cleanup-Image /RestoreHealth
    3. Retry the installation: Install-WindowsFeature Web-Mgmt-Console -IncludeManagementTools

    I hope you’ll give my recommendation a try and let me know how it goes.

    Was this answer helpful?


Your answer

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