How to Fix Dism Error 0x800f0922 For Install IIS in Code?

Kitchens, Najee 21 Reputation points
2022-08-03T20:11:25.45+00:00

I know that the manual fix for this error code is the following step, but is there a way to regenerate this file using dism, sfc, etc.? Or is the only solution to add 401-1.htm as an empty file?

  1. Create an empty file "C:\inetpub\custerr\en-US\401-1.htm"
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Kitchens, Najee 21 Reputation points
    2022-08-09T18:44:19.083+00:00

    Resolution:

    1. Open up "Turn Windows Features on or off"
    2. Go to WCF section under ASP.NET 4.5 or greater advanced services
    3. Check HTTP Activation.
    4. You'll be asked to restart the system.

    See resource: https://stackoverflow.com/questions/20048486/http-error-500-19-and-error-code-0x80070021

    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.