Undetectable Humanizer: Lifetime Subscription
Transform AI-Generated Text into Human-Like, High-Ranking Content & Bypass Even the Most Sophisticated AI Detectors
Get 95% Deal

This preference (DisableOSUpgrade) prevents the upgrade to Windows 10

Martin Brinkmann
Jan 8, 2016
Updated • Jul 5, 2017
Windows, Windows 10
|
29

Windows users who run Windows 7 or Windows 8 on their devices have for the most part probably run into offers to upgrade to Windows 10 by now.

There are several solutions to prevent the upgrade from happening, but it seems difficult to block it permanently.

The effort required may increase when the updates of the January 2016 Patch Day are released, as Microsoft announced previously that it would make the upgrade to Windows 10 an important update in Windows Update.

Quite a few options are available to prevent the Windows 10 upgrade on devices running earlier versions of Windows.

Common methods include researching all updates for Windows before installing them on the system, and running a third-party software like GWX Control Panel which does a great job at informing you and blocking update attempts.

DisableOSUpgrade

It is interesting to note that Microsoft has made the information available with the release of Windows 10 but that many users don't know about these options.

Windows users have two options to block the upgrade to Windows 10. First, by using the Group Policy (only available on Pro, Business and Enterprise editions).

  1. Tap on the Windows-key, type gpedit.msc and hit enter.
  2. Navigate to the following location: Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Update
  3. Double-click on Turn off the upgrade to the latest version of Windows through Windows Update.
  4. Enable the policy.

To undo the change, set the policy to disabled.

If you don't have access to the Group Policy Editor, or prefer using the Registry, do the following:

  1. Tap on the Windows-key, type regedit and hit enter.
  2. Confirm the UAC prompt if it is displayed.
  3. Navigate to the following key: HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
  4. Check if the preference DisableOSUpgrade exists.
  5. If not, right-click on WindowsUpdate and select New > Dword (32-bit) Value.
  6. Name it DisableOSUpgrade.
  7. Double-click the preference.
  8. Set its value to 1.

To undo the change, delete the key or set it to 0.

Update: One additional Registry preference came to light recently that, when combined with the one described in this article, should prevent the upgrade to Windows 10 on all home and business machines running Windows 7 or 8.

  1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GWX
  2. Right-click on GWX and select New > Dword (32-bit) Value.
  3. Name it DisableGWX
  4. Double-click it and set its value to 1.

To hide the Get Windows 10 app

Microsoft reveals in a Knowledgebase article how to hide the Get Windows 10 app on older versions of Windows.

The company notes that the app is not displayed on certain systems automatically, and that users don't need to do anything in this case.

  1. Computer joined a domain.
  2. Computer is managed through MDM.
  3. The computer runs: Any Enterprise version of Windows, any Windows RT version, any Windows Embedded version.

A Registry key is provided that system administrators and users can set to block the Get Windows 10 application.

  1. Open the Registry Editor again.
  2. Navigate to the key: HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
  3. Right-click on OSUpgrade and select new > Dword (32-bit) Value.
  4. Name it ReservationsAllowed.
  5. Double-click the preference and set its value to 0.

Delete the key if you want to undo the change.

It makes sense to implement these preferences on devices running earlier versions of Windows if those devices should not be upgraded to Windows 10. Obviously, this should not be the only options and a program like GWX Control Panel or manually verifying all updates before they are installed are proper options to make sure nothing slips by.

Summary
This preferences (DisableOSUpgrade) prevents the upgrade to Windows 10
Article Name
This preferences (DisableOSUpgrade) prevents the upgrade to Windows 10
Description
The preferences DisableOSUpgrade and ReservationsAllowed can prevent the upgrade to Windows 10 on previous versions of Windows.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Anonymous said on October 8, 2016 at 1:57 am
    Reply

    I try some of these things , I do not need all the games etc, just Printer and email, I am very disappointed with Microsoft for putting us all through this I have wasted days and $$$$$$$ trying to get my printer to work not realizing at first that it was Windows 10 stopping the printer from working.

  2. Michael Green said on May 31, 2016 at 7:52 pm
    Reply

    I have Windows 7 home premium. My navigation to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate cannot find the last element/ “Windows Update”
    It offers, Current Version, Installer,IPSec,Network Connections, NetworkConnectivityStatusIndicator,safer, System,WSDAPI

    Do you have a recommendation?

  3. Install Gentoo said on March 26, 2016 at 6:33 pm
    Reply

    You have no GWX entries because you haven’t installed on your system.
    All GWX entries are related, also the reg-entry on your -second question paragraph tells you system is ready to be upgraded. Change its value to 0.

  4. Anonymous said on February 4, 2016 at 3:06 am
    Reply

    A couple of questions.

    – I added the DisableOSUpgrade Dword (32-bit) Value per instructions under HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate but there isn’t a GWX key already created at HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GWX in order to create the new Dword (32-bit) Value DisableGWX.

    Am I supposed to create a GWX key under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ first and then add the new Dword (32-bit) Value DisableGWX? Or does not having that HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\GWX entry already mean something else?

    I do find a HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\GWX\Reservation entry that has nothing in it. Related or just ignore?

    – Second question. I have a HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade\State key with the entry OSUpgradeState 1. Is that okay or should I still add the Dword (32-bit) Value ReservationsAllowed with a value of 0 under HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade?

    Thank you.

  5. livermore said on January 19, 2016 at 1:20 am
    Reply

    Unfortunately this didn’t work for me but the GWX Control Panel appplication did. It also freed up several Gb of space that Windows Update had filled with Windows 10 files.

  6. Ann said on January 13, 2016 at 8:30 pm
    Reply

    doen’t work,
    I had this setting and got the 3 nag kb’s yesterday with the update.

  7. PhoneyVirus said on January 11, 2016 at 11:45 pm
    Reply

    Group Policy option becomes available after you apply KB3050265 and still will exist after removing the KB update.

    Here’s how to turn off windows update from the command prompt type the following: sc config wuauserv start=disabled

    Turn Windows Update back on August 01 2016 after the promotion End! no more searching through this shit again.

    sc config wuauserv start= delayed-auto

    Your Welcome!

    Remove Microsoft’s Spybot!

    @echo off
    REM — uninstall updates
    echo uninstalling updates …
    echo Delete KB971033 (License Validation)
    start “title” /b /wait wusa.exe /kb:971033 /uninstall /quiet /norestart
    echo – next
    echo Delete KB2990214 (Get Windows 10 for Windows 7)
    start “title” /b /wait wusa.exe /kb:2990214 /uninstall /quiet /norestart
    echo – next
    echo Delete KB2952664 (Compatibility update for upgrading Windows 7)
    start “title” /b /wait wusa.exe /kb:2952664 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3112343 (Additional Upgrade Scenarios from Windows 7 to Windows 10 Group Policy Fix)
    start “title” /b /wait wusa.exe /kb:3112343 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3035583 (Get Windows 10 App)
    start “title” /b /wait wusa.exe /kb:3035583 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3021917 (Update to Windows 7 SP1 for Performance Improvements)
    start “title” /b /wait wusa.exe /kb:3021917 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3022345 (Update for Customer Experience and Diagnostic Telemetry)
    start “title” /b /wait wusa.exe /kb:3022345 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3046480 (Update helps to determine whether to migrate the .NET Framework 1.1)
    start “title” /b /wait wusa.exe /kb:3046480 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3050265 (Update for Windows Update on Windows 7 Group Policy)
    start “title” /b /wait wusa.exe /kb:3050265 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3068708 (Update for Customer Experience and Diagnostic Telemetry)
    start “title” /b /wait wusa.exe /kb:3068708 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3080149 (Update for Customer Experience and Diagnostic Telemetry)
    start “title” /b /wait wusa.exe /kb:3080149 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3083710 (Language Pack Fix 01)
    start “title” /b /wait wusa.exe /kb:3083710 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3083324 (Language Pack Fix 02)
    start “title” /b /wait wusa.exe /kb:3083324 /uninstall /quiet /norestart
    echo – next
    echo Delete KB3075851 (Language Pack Fix 03)
    start “title” /b /wait wusa.exe /kb:3075851 /uninstall /quiet /norestart
    echo – done.
    timeout 5

    echo Done Manually Reboot for changes to take effect
    shutdown -r -t 08 -f

  8. Taylor6 said on January 9, 2016 at 6:08 pm
    Reply

    Seems readily possible to design a simple WIN 7 executable program to defeat Microsoft WIN 10 upgrade efforts, longer term.

    We know Microsoft’s objective exactly… and their detailed software mechanisms employ to that objective. Just need to anticipate & defend against Microsoft’s next moves…get out of the pure reactive mode. Kinda like an Anti-Virus program against a specific, known virus and its probable/possible branchings.

    There’s been some part way efforts in this direction (GWX 10), but they are quickly out of date with each monthly Microsoft Patch Cycle. Microsoft is not using any brilliant, cutting edge technology to push WIN 10 — its strategy & tactics look relatively simple.

    Is Microsoft really that difficult to defeat on this stuff ??

    1. Ann said on January 12, 2016 at 3:56 pm
      Reply

      No,
      if you have the pre download folders $BT & $…. in your root or windows folders DON’T delete them, you can wipe them to save some space , but afterwards, go to the folders properties and change all security settings to deny for everything listed there, including you.

      in this way nothing can ever write to those locations, not even read them , let alone install something from it.
      as consequence each attempt to (pre)download W10 will fail.

      No program needed ;-)

  9. Peter in LA said on January 9, 2016 at 5:53 pm
    Reply

    Another possibility is to uninstall KB3035583, which seems to have done the trick for my wife’s Win8.1 machine. Time will tell.

  10. Pierre said on January 9, 2016 at 4:53 pm
    Reply

    It’s by far more complicated than upgrading to W10 !!!

  11. Caleb said on January 9, 2016 at 10:36 am
    Reply

    With the way things are going, Microsoft is loosing its ego. I don’t blame them though. If Windows 10 failed (atleast most people perceive it that way), i doubt if the company will remains tall as it used to be considering the current competition tides. They are doing all it takes to prevent that from happening.

  12. Owl said on January 9, 2016 at 9:20 am
    Reply

    Thanks Martin! Very much appreciated. Have a good holiday.:)

  13. J. said on January 9, 2016 at 8:36 am
    Reply

    Hey Martin, you should really dedicate a section that groups all the w10 hacks (and consequentialy win7/8) all together. Your constantly updates on the privacy and sexuruty focuses are so dedicated and significant that a pin on the site presented them as even more eminent.
    A devote reader
    Jeremy

  14. Ken Saunders said on January 9, 2016 at 5:09 am
    Reply

    Thanks Martin, I’ve set it using the Group Policy Editor.

    For those wanting to use a downloadable REG file.
    “Disable_Upgrade_to_Windows_10_update.reg”

    http://www.tenforums.com/tutorials/22322-upgrade-windows-10-update-enable-disable-windows-7-8-1-a.html

    Still a great site there.

  15. Zack said on January 8, 2016 at 10:24 pm
    Reply

    Lots of people knew about DisableOSUpdate. The problem is not long ago Microsoft issued a patch that toggle its registry value. If they could do it once they could do it again.

    1. Jeff said on January 8, 2016 at 10:52 pm
      Reply

      Someone should create a .reg file (i’m not sure how) that sets it to 1. After any windows updates you do, just re-run the reg file.

      1. Decent60 said on January 12, 2016 at 1:35 am
        Reply

        @Jeff,

        Best thing is to monitor what updates are wanting to be installed during the Patch Tuesdays, review them on Microsoft’s Website and see if they contain anything like that, or simply wait a few days and check sites like GHacks to find out if Micro$oft was trying to sneak in something.
        This is, of course, assuming you have automatic updates turned off.

      2. stilofilos said on January 9, 2016 at 11:00 am
        Reply

        I use Regseeker to search all registry items related to a certain software you entered the name of. It gives you an option to export all of them or a selected one into one single .reg file.
        (I routinely do this after each installation of a new software, and save the .reg file in a subfolder of the program’s root that I call ‘rescue kit’)

        This .reg file is stored in a subfolder called ‘backup’ under Regseeker’s root folder. You can move it from there to any folder you want, and, when needed, just launch it to restore the item if it had been modified or gotten lost.
        So, if you change the key’s value as Martin describes, and then export just this one key in Regseeker (or possibly in an other, similar tool), it should work IMO.

        The question remains of course, if they managed to modify your setting, what other damage did they cause in the process ? You’d have to keep checking every aspect again and again anyhow.

      3. Jeff said on January 9, 2016 at 12:27 am
        Reply

        @DVD Rambo: I fully agree but what can we do? MS has gone all in on this aggression thing and they’ve shown they don’t really care what their power users think.

        Apple made over $1Billion in app store sales for the holiday 2015 season, and MS is under the delusion that they can turn their own app store into something more than the joke it currently is.

      4. DVD Rambo said on January 8, 2016 at 11:30 pm
        Reply

        It seems to be a bit insane to have to do this to keep on Windows 7.

  16. fdsa said on January 8, 2016 at 9:11 pm
    Reply

    And where is the reg file to download?

  17. Tom Hawack said on January 8, 2016 at 8:55 pm
    Reply

    I’ve set for some time now this DisableOSUpgrade value to 1 via the Registry, here on Windows 7 64-BIT. Is it because of this setting, of this setting together with filtered Windows Updates that I haven’t had any Win10 upgrade bypass my refusal, no idea. I cross fingers to stay aware enough to continue on an upgrade-free Windows 7 system.

  18. SocialMediaGrandpa said on January 8, 2016 at 8:19 pm
    Reply

    The issue isn’t whether Windows 10 is good or not. It’s whether Microsoft should be allowed to install on users’ systems against their wishes.

    1. Anonymous said on October 8, 2016 at 1:50 am
      Reply

      Yes I agree it has really messed up my machine it has blocked the printer.

    2. Patrick said on January 12, 2016 at 11:00 pm
      Reply

      ABSOLUTELY!!!

  19. pcninja said on January 8, 2016 at 8:08 pm
    Reply

    TBH I moved from Widows 8.1 to Windows 10 and I’m fine as long as I have spying disabled/destroyed and all the resource hungry Metro apps deleted. For gaming, it has served me well so far: With my Pentium G3220 and my EVGA GeForce GTX 960 4GB, I can get at least 60fps on maximum settings at a resolution of 2048×1536 (but down scaled to my monitor’s maximum resolution, 1024×768).

    1. beta10 said on March 26, 2016 at 1:56 am
      Reply

      ….. Not everyone is using their computers for games, mostly use it for productivity/work where stability and program compatibility is utmost important w/c Windows Beta Forever 10 doesn’t have since it forces you to update your drivers(that usually botches the pc) & itself (even uninstalls programs that you installed & resets settings) that is a big no thank you.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.