Quoted from arcademojo:It keeps saying to restart for the upgrade and I click no then it sets an automatic time to upgrade.
Download the Stand-alone GWX Control Panel found here:
http://ultimateoutsider.com/downloads/
Open the program, acknowledge the UAC prompt if it appears and accept the agreement. Then click on "Disable Windows 10 App (Remove Icon). That will blow away the annoying prompt asking you to upgrade. Then click on "Click to Delete Windows 10 Download Folders" and allow it to delete the 4 - 6GB of data for the upgrade. Then click "Click to Prevent Windows 10 Upgrades". This will change a few settings that determine if Microsoft is able to upgrade the machine to Windows 10, along with removing the ads you sometimes get when on the Windows Update screen. It will not inhibit 'regular' Windows Updates.
EDIT -> I didn't see that Crash had already posted this advice.