I like this post

I am going to share how I resolved .NET error of xC8000222 on my PC with you.

I initially noticed that automatic update on my PC precisely EliteBook 8540p 64bit windows 7, did not work and later wanted to install a software that requires .NET installation first.

After some search online, I got this solution that resolved it.

Select Start >> All Programs>>Accessories, right click Command Prompt, and click Run as administrator from the drop down menu.. Type cd\ and press ENTER.
Type net stop wuauserv and press the ENTER key.
Type ren c:\windows\SoftwareDistribution softwaredistribution.old and press the ENTER key.
Type: net start wuauserv and press the ENTER key.
Type: exit and press the ENTER key.

And it fixed the automatic update problem and .NET perfectly.
Thanks to Gerry C J Cornell  reply.