Saturday, January 26, 2013

Fix! Failed install Code Error HRESULT 0xc8000222 .NET Framework 4.0


Most of having issue installing. Code Error HRESULT 0xc8000222 NET Framework 4. 0. Which have no descriptive malfunction message, there's no choice yet to search for the solution emerged by non-Microsoft folks.  

 Here come the solution: Just before installing. NET Framework 4. 0:




 1.) open "cmd"

 2.) type in command "net stop "WuAuServ" (disable windows update)

 3.) Head over to Run ( Win+R ) and type in "%windir%" (this command line enable you to head over to your microsoft windows system folder)

4.) Find the folder "SoftwareDistribution" and rename it as "SDold"

5.) Then, go back the previous command prompt and also run the command line "net start WuAuServ"

6.) At this point, try to install. NET Framework again.


I hope this will help solve the problem if you have questions in mind please do comment it below the post I will be glad to answer them all.

45 comments:

  1. Thank you! I was getting this on Server 2008 and had Googled and tried three other solutions before finding the one that worked (this one).

    ReplyDelete
    Replies
    1. Thanks for visiting and I am glad that my post help :)

      Delete
  2. it worked. but how about the renamed directory? will i leave it as renamed? does that directory now in no use? thanks.

    ReplyDelete
  3. so please reply to me what should i do on my fb acc if you would like > takijo@ymail.com thanks :D

    ReplyDelete
  4. thanks bro! nice solution.....it's worked perfectly.

    ReplyDelete
  5. Hi Jerry, why it doesnt worked for me when i renamed the folder? here the status :"the action can't be completed because the folder or a file in it is open in another program". I don't know what an another program which is open.

    ReplyDelete
    Replies
    1. Try to go to Windows Task Manager, then select Services tab. See if there is "wuauserv", if yes, try to disable it by right click to the wuauserv process, then select Stop Service.

      Delete
    2. I had the same problem of renaming the folder. Now, I am unable to disable this service also. It says operation not allowed. Please suggest.

      Delete
  6. IT WORKS! I LOVE UUUUUUU! Thank you so much

    ReplyDelete
  7. Wow...It worked perfectly for me...!!!
    Cheers...!!! Have a small query for this, does it require Internet Connection available ? Or simply offline also it will work ???!!!
    Moreover, would like to know that which is the MS Hotfix Number start showing "Your windows is NOT Genuine !"
    Can anybody tell me for this ???!!!
    Regards,
    [AD]

    ReplyDelete
  8. I was trying to install Family Tree Maker 12 and this silly issue with Framework made me lose half the morning... butthis solution worked, and it was so easy! Thanks a lot!

    ReplyDelete
  9. ehm, it doesnt work with me..
    it's written in my cmd "System error 1058 has occured. The Service cannot be started, either because it is disabled or because it has no enabeld devices associated with it."

    what shud i do?
    thx...

    ReplyDelete
  10. Worked like a charm. Nice thinking

    ReplyDelete
  11. WOWOWOWOW IT's worked, I love u, thank you guys, it is perfectly worked

    ReplyDelete
  12. when i renamed the folder? here the status :"the action can't be completed because the folder or a file in it is open in another program".
    whyyyyyyyyyyyy?

    ReplyDelete
    Replies
    1. Right Click My Computer > Manage > Services and Applications > Services > Windows Update
      Right Click Windows Update > Stop
      Rename the Software Distribution Folder
      Again Right Click Windows Update > Start

      Delete
  13. other ways ?>>>
    run>notepad type " net stop WuAuServ
    rd /s /q "%Windir%\SoftwareDistribution"
    net start WuAuServ "
    save as batch and run if win7 then run as administrator
    its worked

    ReplyDelete
    Replies
    1. after I try all suggestion from all people on the top, your suggestion only work with my PC. thank you bro.. nice solution.

      Delete
  14. This comment has been removed by the author.

    ReplyDelete
  15. When I run cmd and type "net stop WuAuServ", it is said that system error 5 has occured.. Access is denied.. :( Why this is happen?

    ReplyDelete
  16. Thank you so much for this post...it works perfectly.. :)

    ReplyDelete
  17. This comment has been removed by a blog administrator.

    ReplyDelete
  18. After I renamed the folder to SDold. Do i need to rename it back after I installed .net framework? or just leave it that way?

    ReplyDelete
  19. you save my day mate..thank you for the great info !!!

    ReplyDelete
  20. Saved my day.....Nice post... :-)

    ReplyDelete
  21. thank you so much man. It worked like a charm :)

    ReplyDelete
  22. THANK YOUUUUUUUUUUUUUUUUUUUU!!!!!!

    ReplyDelete
  23. Yes, this is working.
    In step just 4 rename the folder to anything.
    I skiped step 5 i.e. net start WuAuServ"
    Thanks

    ReplyDelete
  24. for /F %D in ('dir %WINDIR%\assembly %WINDIR%\Microsoft.NET\assembly /s /b /a:d') do takeown /F %D && icacls %D /reset /T"



    type above in cmd (run as admin )

    start setup (run as admin )

    ReplyDelete