Unable to install .NET Framework on Windows 7 - fails with error code (0x80070643), "Fatal error during installation

Dell Optiplex 7020, Windows 7 Pro SP1, 64 Bit

I am unable to install the .NET framework.
Windows had become damaged, so I restored it from a previous image backup.
Everything worked fine after the backup except for the .NET framework.

I have downloaded the 4.7.1  stand-alone, but the installer stops with errors.  Same happened with 4.6.2
I used IOBit Uninstaller (free) and removed all the .NET components that could be found there.
I tried to turn off .NET  3 using the Windows features uninstall, but that gave me errors as well.
Features uninstall error
I ran CCleaner Free, did all the registry repairs.  I ran twice because the .NET issues weren't cleaned up after the first run.

I have included the simple Installation log below

OS Version = 6.1.7601, SP = 1.0, Platform 2, Service Pack 1
OS Description = Win7 - x64 Service Pack 1
MSI = 5.0.7601.23593
Windows version = amd64_windowsfoundation_31bf3856ad364e35_6.1.7601.17514_none_615fdfe2a739474c.manifest
Windows servicing = 6.1.7601.23505
CommandLine = C:\63b1d77f74f00749cc94e535\\Setup.exe /x86 /x64 /redist
TimeZone = Eastern Daylight Time
Initial LCID = 1033
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft .NET Framework 4.7.1 Setup
Package Version = 4.7.02558
User Experience Data Collection Policy: Disabled
Number of applicable items: 11
Exe (C:\63b1d77f74f00749cc94e535\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
ServiceControl operation succeeded!
ServiceControl operation succeeded!
ServiceControl operation succeeded!
ServiceControl operation succeeded!
Exe (C:\63b1d77f74f00749cc94e535\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
MSI (C:\63b1d77f74f00749cc94e535\netfx_Full_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4.7.1 Setup_20180407_224734192-MSI_netfx_Full_x64.msi.txt
Exe (C:\63b1d77f74f00749cc94e535\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
MSI (C:\63b1d77f74f00749cc94e535\netfx_Full_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4.7.1 Setup_20180407_224734192-MSI_netfx_Full_x64.msi.txt
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:17:01).
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

look if this helps you :   https://answers.microsoft.com/en-us/windows/forum/all/cannot-install-net-framework-4-error-0x80070643/f27106dd-cc23-41d6-86ae-96b2ca81185d?auth=1

Boot from the Windows 7 DVD, select your keyboard and language options, select Repair your computer, then select the Command Prompt.  From the Command Prompt run the following command:
Dism /image:c:\ /get-packages
This will produce a list of installed updates and packages.  They will look like this:
Package Identity : Package_for_KB978262~31bf3856ad364e35~x86~~
State : Installed
Release Type : Security Update
Install Time : 2/11/2010 1:01 PM
Find the most recent one and then make a note of the package identity.
Then run:
dism /image:c:\ /remove-package /PackageName:Package_for_KB978262~31bf3856ad364e35~x86~~ (name of update from previous step)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RyanHelp DeskCommented:
JohnBusiness Consultant (Owner)Commented:
In addition to the above, try making repairs with .NET Framework Setup Verifier.  Check all .NET versions it finds.

10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

computerlarryAuthor Commented:
.NET Framework Cleanup Tool doesn't help, stops with errors.
.NET Framework Setup Verifier doesn't help, links me to NetFxRepairTool.exe, which is unable to repair.
and was my post helpful?
JohnBusiness Consultant (Owner)Commented:
In addition to the repairs posted by nobus, try the repairs in the following Microsoft Technical Article.

computerlarryAuthor Commented:
Here's a development.  After running the Net Framework Repair tools, and doing the uninstall/repair of NET framework, I noticed that QuickBooks 2007 stopped working.  While reinstalling QuickBooks 2007, I noticed that NET Framework 1.1 needed to be installed.  This install was successful.

So - I can install version 1.1      I can try the repairs again.
JohnBusiness Consultant (Owner)Commented:
Thanks for the update. .NET Framework 1 should be OK on Windows 7 - nothing later.
computerlarryAuthor Commented:
Nothing seemed to help. I will have to reinstall Windows 7 Pro, or maybe upgrade to Windows 10
JohnBusiness Consultant (Owner)Commented:
Windows 10 works better than Windows 7 so that is the way to proceed if you are willing
computerlarryAuthor Commented:
If I upgraded to Windows 10, would the Windows 7 components that are preventing the proper installation of Dot-Net likely be removed and replaced?

I figure that I'm looking at a Windows reinstall as the only repair solution now, and there would be less work installing and configuring applications if I upgraded to 10 (and the upgrade didn't pull along what ever damaged software/settings are messing things up now)
JohnBusiness Consultant (Owner)Commented:
If you update to Windows 10, it will update all the .NET components
>>   and there would be less work installing and configuring applications if I upgraded to 10  <<  that may be so - but you never know what else happens. you decide if you go on with W7 or W10
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.