Sorry, I had lots of errands to do today so am just getting back online now.
There are a couple of factors at work here, and since you didn't tell us the Make/Model of your exact computer, we're kind of guessing. But, generally speaking, Win7 needs all of the updates in to get it to essentially Win8.1 level on your existing computer otherwise the W10 update will never work. This also pre-supposes that your Win7 factory restore has everything working again with Internet, wifi if a laptop/notebook, etc. We have done Win7-->W10 upgrades directly, but these almost are all problematic. The thing to do is to go into Windows Update and make sure it's set to Automatically download & install all updates.
Save those settings if not already set to them. Make sure your computer has a good Internet connection (a wired connection for instance is much better to get updates on that a wifi connection since it's often subject to random signal interruptions), and let the udpates come in and install. Additionally, if you are running any kind of antivirus, antispyware, or personal firewall programs, make sure you disable all of those until you get all your updates downloaded and installed. Most of those programs will see the Microsoft updates, especially the security ones that include the Microsoft Malicious Removal Tool as potential threats to your computer and block them. If you are using Windows Defender or MSE (Microsoft Security Essentials) and not any 3rd party av or as or firewall programs, you'll need to disable those as well.
This process can take up to 48 hrs. or even longer
depending on whether you have a desktop PC or notebook/laptop. Desktops will update faster, since they are typically faster with faster CPU chips, more RAM memory, bigger/faster hard drives, etc. I also suggest that if the updates appear to be working, but nothing seems to be happening, do a manual restart of the computer after 12 hrs.
If the updates don't seem to be working after that reboot, or they still appear to be stuck, do a hard shutdown of the computer (hold the power button down for 5-7 seconds continuously). Then power your computer back on and that unsticks things in most cases (unless you have failed hardware).
If you never get the W10 white flag in your computer's system tray in the lower right-hand portion of your desktop, you could have other problems with your computer such as failed hardware.
You can test your hardware if you like; post back here and we'll give you some links that will help you accomplish this. If you don't have much experience with this, or just are not confident, you should take your computer into your local Computer Pro and pay him to do the W10 upgrade for you. In my experience over 90% of my Clients who attempt to upgrade to W10 from W7 or W8x usually fail to do it correctly.
My procedure above will fix the majority of problems with any W10 upgrade or updates problems. Of course, if you have a bad RAM stick(s) or a failed hard drive, this solution will not fix it. *NO SOFTWARE ON THE PLANET CAN FIX BROKEN HARDWARE*.
Keep in mind that Win7 computers are now 6-7 years old, and if you have never replaced the hard drive in that computer, it could be the source of your Updates failures and your inability to get the W10 upgrade to work. In desktop PCs; hard drives are only designed to last 3 years; in notebooks/laptops only 2 years. That means that since your computer is 6-7 years old, the hard drive is 85% likely to have failed or is failing and in either case needs to be tested and replaced!
Let us know how it goes.
Best of luck to you, <<<BIGBEARJEDI>>>