how to uninstall .net framework 4.8 from windows 11

Ben Achour, Reda 0 Reputation points
2024-02-15T16:30:22.2766667+00:00

have windows 11 and .net framework 4.5.2 installed and my program works fine. Then I figured to try the .net framework 4.8, after installation, my program doesn't work. I was trying to uninstall .net framework 4.8 but nothing work.

Windows for business Windows Client for IT Pros User experience Other
Developer technologies .NET Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 60,161 Reputation points
    2024-02-15T19:49:07.9366667+00:00

    You cannot easily do that. NET 4.x is part of Windows so you cannot just uninstall it. NET updates are generally done using Windows Updates so your choices are limited. All versions of NET 4.x use the same runtime so there is only 1 copy per machine.

    Option 1 is to go to the Windows Update history and see if there is a KB installed that updated it to NET 4.8. If so then remove it and reboot.

    Option 2 is to use System Restore and revert back to the version of Windows that was there before NET 4.8 was installed.

    Note however that you need to figure out why the app isn't working and fix it. NET 4.5.2 hasn't been supported for 2 years now as listed here. Any modern NET 4.x app is going to install a newer version of the framework and break your app again anyway. Windows itself, with an update, probably has already or will update the framework as well so rolling back is a temporary solution anyway.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.