title: Error 0x800f0922 when installing IIS on Windows 10: "The changes couldn't be completed."
body: <p>On a new installation of Windows 10 Enterprise Version 1703 I tried turning on the IIS feature, default options selected, via "Turn Windows features on or off," but ran into the error shown below:</p>
  
  <p><a href="https://i.stack.imgur.com/UyjME.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UyjME.png" alt="Windows Features error"></a></p>
  
  <p>I then attempted to install the feature using DISM. I opened an admin command prompt and entered:</p>
  
  <pre><code>Dism /Online /Enable-Feature /FeatureName:IIS-DefaultDocument /All
  </code></pre>
  
  <p>This should be the same as installing the default set of features for IIS. This also failed with the same error code 0x800f0922.</p>
  
  <p>Lastly, I tried selecting IIS elements one piece at a time from the "Turn Windows features on and off" menu. This worked until I tried installing "HTTP Errors," which produced the window above again.</p>
  
  <p>Running this command:</p>
  
  <pre><code>Dism /Online /Enable-Feature /FeatureName:IIS-HttpErrors /All
  </code></pre>
  
  <p>resulted in the same error.</p>
  
  <p>How can I fix this?</p>