Upon installing Microsoft .NET Framework 4, the following error message is displayed:
HRESULT 0x8000222

Now to fix this error follow above tutorial.

  1. Click on Start, type cmd in the search bar, right-click cmd.exe
  2. Select run as administrator.
  3. Stop the Windows Update service by typing the following command: net stop wuauserv
  4. Rename the “softwaredistribution” file by typing the following command: ren %windir%\SoftwareDistribution SoftwareDistribution.Old
  5. Restart Windows Update service: net start wuauserv
  6. Try to install .NET Framework 4 again.
Sumber : https://ketu1405.wordpress.com/