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.

81 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. wow.. it worked.. thank you very much :)

      Delete
    3. my wuauserv is not stopping showing access denied

      Delete
    4. UNABLE TO RENAME IT ...IT IS IN USE BY SOME OTHER PROGRAMME PLEASE 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. it wont rename the Folder to SDold

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

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

    ReplyDelete
  6. 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
  7. IT WORKS! I LOVE UUUUUUU! Thank you so much

    ReplyDelete
  8. 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
  9. 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
  10. 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
  11. Worked like a charm. Nice thinking

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

    ReplyDelete
  13. 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
  14. 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
  15. This comment has been removed by the author.

    ReplyDelete
  16. 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
  17. Thank you so much for this post...it works perfectly.. :)

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

    ReplyDelete
  19. 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
  20. you save my day mate..thank you for the great info !!!

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

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

    ReplyDelete
  23. THANK YOUUUUUUUUUUUUUUUUUUUU!!!!!!

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

    ReplyDelete
  25. 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
  26. when i type net start WuAuServ command in cmd but result is :- 'net' is not recognized as an internal or external command,
    operable program or batch file.

    why this command is not worked ? how to fix this?

    ReplyDelete
  27. when i type net start WuAuServ command in cmd but result is :- 'net' is not recognized as an internal or external command,
    operable program or batch file.

    why this command is not worked ? how to fix this?

    ReplyDelete
  28. Thanks man.... it worked like a charm....

    ReplyDelete
  29. how to enable oilpaint effect??

    ReplyDelete
  30. C:\Users\administrator>net start WuAuServ
    System error 1058 has occurred.

    ReplyDelete
  31. Oh wow this works like a charm!! Microsoft support solutions didn't help fixing mine but yours did! Thanks so much and now I can finally install my software!

    ReplyDelete
  32. i cannot rename that folder plzz help,,,

    ReplyDelete
  33. Thanks So Much.
    .Net Framework installed painlessly.
    You're the best

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

    ReplyDelete
  35. sofwaredistribution file cant rename what should i do?

    ReplyDelete
  36. sofwaredistribution file cant rename what should i do?

    ReplyDelete
  37. Ótimo funcionou perfeitamente valeu pelo tutorial.

    ReplyDelete
  38. thank you very much. It's working well..

    ReplyDelete
  39. This comment has been removed by the author.

    ReplyDelete
  40. wow i:m not ok (fatal error during installation) fall down pls help.

    ReplyDelete
  41. muito bom ! funcionou muito bem, obrigado !

    ReplyDelete
  42. when i type in command "net stop "WuAuServ" it just show system error 5 has occured. Access is denied. pls help me

    ReplyDelete
  43. It is very good blog and useful for students and developer , Thanks for sharing



    .Net Online Training

    ReplyDelete
  44. Great work... Am unable to send SCCM client installation before. Now its working fine.

    ReplyDelete
  45. Thanks a lot for sharing such a good source with all, i appreciate your efforts taken for the same. I found this worth sharing and must share this with all.




    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery

    ReplyDelete