When there is a failed upgrade from Windows 7 to Windows 10 the options are to troubleshoot the failed upgrade or to clean install Windows 10.
The clean install method is using gatherosstate.exe.
.
.
It is always best to make free or pay backup images and save the images to another disk drive or the cloud before major upgrades.
Acronis, Aoemi, EaseUS, Macrium, Paragon, etc.)
.
.
One or more of these links may be useful:
https://www.tenforums.com/tutorials/139745-upgrade-windows-10-windows-7-free.html
https://www.tenforums.com/tutorials/2267-upgrade-windows-10-a.html