FIX: HRESULT 0xc8000222 .Net Framework by Bas Wijdenes

HRESULT 0xc8000222” and .NET Framework.

I do not have much to say about this subject. I saw this passing by at answers.microsoft.com about installing .Net Framework and I wanted to make it a more extensive tutorial.
The error message you get is:

“Installation Did Not Succeed

.Net Framework 4.5 has not been installed because:

HRESULT 0XC8000222″


Let’s Fix “HRESULT 0xc8000222“.

I have 2 tutorials below.
The tutorials are about the same solution, but the second one includes screenshots for when you need some better explanation.
In the second tutorial we also go through the Graphic User Interface (GUI) instead of Command Prompt(CMD).


Step-by-step for the techies among us.

  • Press Windows + R.
    Run
    will now be opened.
    Or search for CMD, Right click it and click Run as Administrator.
  • Type in CMD and click OK.
  • Type in Net Stop WuAuServ.
  • Re-open Run and type in %Windir%.
  • Search for SoftwareDistribution and re-name it to SoftwareDistributionOLD.
  • Type in Command Prompt Net start WuAuServ.

If this does not help you, you can also follow the steps below.


The steps with screenshots included to fix “HRESULT 0xc8000222″ for dummies.

Right click on start and choose Run.
Or simultaneously press Windows + R.
Run will now  be opened.

HRESULT 0xc8000222 .Net Framework
HRESULT 0xc8000222 .Net Framework.

Type in Services.msc and click OK.
You can also search in Start for Services.msc and then open the snap-in.

HRESULT 0xc8000222 .Net Framework
HRESULT 0xc8000222 .Net Framework.

Sort the services by name and then type in Windows Update.
Or search for Windows Update in the list.

HRESULT 0xc8000222 .Net Framework
HRESULT 0xc8000222 .Net Framework.

Click the Windows Update service, and then click Stop.

Now open your explorer and open the C-drive.
Here is a directory called Windows, also open it.

You can also do these steps in Run again.
Open Run again by pressing Windows + R for the same time, then type %winddir% including the percent characters.

HRESULT 0xc8000222 .Net Framework
HRESULT 0xc8000222 .Net Framework.

Search for the SoftwareDistribution directory, select the directory and press F2, rename the directory to something else, eg: SoftwareDistributionOLD. Never remove a system folder.

HRESULT 0xc8000222 .Net Framework
HRESULT 0xc8000222 .Net Framework.

Now go back to Services.msc and Start the Windows Update Services again.


The complete error message

Here the full error message when someone searches for another part of the error message.

Installation Did Not Succeed

.Net Framework 4.5 has not been installed because:

HRESULT 0XC8000222

For more information bout this problem, see the log file.

For information about the most current version of the .Net Framework, see Windows Update.

When you close this wizard, you will be prompted to send a problem report to Microsoft. For more information, see Microsoft Error Reporting Service.

Published by

Bas Wijdenes

My name is Bas Wijdenes and I work as a PowerShell Automation Engineer @ Wortell.

Leave a Reply

Your email address will not be published. Required fields are marked *