prevent an automatic upgrade to Windows 10
Never 10 is an easy to use utility which gives users control over whether their Windows 7 or 8.1 system will upgrade itself to Windows 10.
The program does not require any installation. Simple run Never10 and it will show you if your version of Windows is configured to automatically upgrade itself to Windows 10. If this is the case, you have the option to disable the automatic Windows 10 upgrade - regular system updates will not be affected.
You can also re-enable Win 10 upgrade at any time by simply running the program again.
Copyright Snapfiles.com

I am running a Windows 8.1 box and it detect that my OS is upgradable to Windows 10. I hit the disable and I'm done. I assume it is changing some registry key(s) so that the OS will not upgrade itself. Which is find with me. Granted Windows 8.1 with Classic Shell makes it Windows 7-ish enough to be usaably functional. Overall it has been stable but I don't need Windows 10 to cause additional issues.
Two-Thumbs Up!
Get it, use it, rate it!
Review details