If the Get Windows 10 icon has become either an annoyance or a serious problem, you can easily remove it with Ultimate Outsider’s free and portable GWX Control Panel. You download this program as a single EXE file.

Once it’s up, you might want to look at some of the information on the top part of the program.
Click two of the buttons near the bottom, Disable ‘Get Windows 10’ App (permanently remove icon) and Disable Operating System Upgrades in Windows Update.

If Windows Update is trying and failing to install Windows 10, run Microsoft’s Windows Update Troubleshooter after you haverun GWX.