Method 1: Repair the .NET Framework 4 installation
If you run Windows Vista or Windows 7, follow these steps:- Exit all running programs.
- Click Start, type Uninstall in the Search box, and then click Uninstall a program.
- Double-click Microsoft .NET Framework 4 Client Profile.
- Select Repair .NET Framework 4 Client Profile to its original state, and then click Next.
- When the repair is complete, click Finish.
- Click Restart Now to restart your computer.
- To install the latest Windows updates, click Start, click All Programs, and then click Windows Update.
If you run Windows XP, follow these steps:
- Exit all running programs.
- Click Start, click Control Panel, and then click Add or Remove Programs.
- Click Microsoft .NET Framework 4 Client Profile in the list of installed applications, and then click Change\Remove.
- Select Repair .NET Framework 4 Client Profile to its original state, and then click Next.
- When the repair is complete, click Finish.
- Click Restart Now to restart your computer.
- After you log on to Windows, click Start, click All Programs, click Windows Updates, and then click Check for updates.
- When the scan is complete, click Install Windows Updates, and then follow the instructions.
If Method 1 does not resolve the issue, try Method 2.
Method 2: Fix MSI software update registry corruption issues
You may receive one of these error codes if the registry is corrupted. To fix this issue automatically, click�Learn More in the �Resolution� section of How to fix MSI software update registration corruption issues.After you run the Fix it tool, click Start, click All Programs, and then click Windows Update and try to install the updates again.
If Method 2 does not resolve the issue, go on to Method 3.
Method 3: Manually download and install the update
To manually download and install the updates, follow these steps:- Click Start, click All Programs, and then click Windows Update or Microsoft Update.
- To view your update history, do one of the following, depending on your version of Windows:
- If you are running Windows XP, click Review your update history in the left pane of Control Panel.
- If you are running Windows Vista or Windows 7, click View update history in the left pane of Control Panel.
- In the list of updates, find the update that contains the error code, and note the Knowledge Base (KB) article number for the update that you want to install.
- Go to Windows Downloads.
- In the Search Download Center box at the top of the page, type KB and then type the article number for the update.
- Press Enter, or click the search icon.
For example, if the KB article number that�s listed for the update is 123456, type KB123456 in the search box, and then press Enter, or click the search icon. (The search icon looks like a white magnifying glass on an orange square.) - In the Search Results list, locate the KB article that you searched for, and then go to that article.
- Click Download, and then click Save in the File Download dialog box.
- In the Save in list, click Desktop, and then click Save.
- On your desktop, locate the file that you downloaded, and then double-click the file to install the update.
Note If the update is not needed for your computer, the update will not be installed. If the update still fails with one of the error codes, try Method 4.
Method 4: Reinstall the .NET Framework
To repair the .NET Framework, you must first uninstall multiple versions of the .NET Framework by using the .NET Framework Cleanup Tool. Then, reinstall the components.To do this, follow these steps:
- Download the tool from the .NET Framework Cleanup Tool User's Guide.
- After the download is complete, click View downloads.
- In the Downloads folder, right-click dotnetfx_cleanup_tool.zip, click Extract all, and then click Extract.
- In the list of files that you extracted, double-click cleanup_tool.exe.
Note If you are prompted for an administrator password or for confirmation, provide the password or confirmation, or click Continue. - In the Do you want to run the .NET Framework Setup Cleanup Utility message, click Yes.
Note This tool may be in English only, but it also works for other language versions of Windows. - Click Yes to accept the license agreement, and then wait for the .NET Framework Cleanup Tool to start.
- In the Product to cleanup list, select NET Framework - All Versions, and then click Cleanup Now.
Note The cleanup tool does not let you remove the .NET Framework 2.0 in Windows Vista or later versions of Windows because the .NET Framework is installed as an operating system component. - After the .NET Framework is removed, restart the computer.
- Download and install the following components:
- The .NET Framework 1.1
- The .NET Framework 1.1 SP1
- The NET Framework 3.5 SP1 (this also installs the.NET Framework 2.0 SP2 and the .NET Framework 3.0 SP2)
- Shut down and then restart your computer.
- Click Start, click All Programs, click Windows Update, and then try to install the updates again.
For more information, see the .NET Framework Cleanup Tool User's Guide blog post.