Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Remove win10 upgrade option through group policy with .bat script

04 Dec 2015   #1
gordoclimbs

64 bit win7 pro
 
 
Remove win10 upgrade option through group policy with .bat script

So I found a thread by "Brink" that suggests removing the option to upgrade your OS (therefore remove the pesky win10 prompts) from the group policy editor. This is only available on win 7 pro. I work with many small networks literally over 1500 individual machines sub divided into hundreds of networks. I want to keep all these machines on win7 pro. So I'm wondering since this group policy editor change is so simple and effective can I script a .bat file deploy it out to all my machines and have the users run it once to make the change then its done. Otherwise I'm going to have to remote into each machine and do it manually or send out a word based doc. with screen shots on how to do it to my users. Much appreciate any help in advance.. Gordo


My System SpecsSystem Spec
.
04 Dec 2015   #2
Brds7t7

Windows 7 Pro 64-Bit, Windows 7 Ultimate 64-Bit, Windows 8.1 Pro 64-Bit
 
 

Hi Gordo, I don't know if there is any way of creating a batch file to change Group policies, somebody may be able to correct me on that though.
However, you could create a batch file using the below entries to remove all Windows 10 related updates and use that on each system. Then keep those updates hidden perhaps?
Here are the updates I would consider Windows 10 related, but you may want to google each one and see which ones you think are worth removing/keeping? The Windows update client updates seem to be updated every month though, so you may need to keep an eye on that each month.

wusa /uninstall /kb:2952664 /quiet /norestart
wusa /uninstall /kb:2990214 /quiet /norestart
wusa /uninstall /kb:3021917 /quiet /norestart
wusa /uninstall /kb:3022345 /quiet /norestart
wusa /uninstall /kb:3035583 /quiet /norestart
wusa /uninstall /kb:3050265 /quiet /norestart
wusa /uninstall /kb:3065987 /quiet /norestart
wusa /uninstall /kb:3068708 /quiet /norestart
wusa /uninstall /kb:3075249 /quiet /norestart
wusa /uninstall /kb:3075851 /quiet /norestart
wusa /uninstall /kb:3080149 /quiet /norestart
wusa /uninstall /kb:3083324 /quiet /norestart
wusa /uninstall /kb:3083710 /quiet /norestart
wusa /uninstall /kb:3102810 /quiet /norestart
wusa /uninstall /kb:3112343 /quiet /norestart
My System SpecsSystem Spec
07 Dec 2015   #3
gordoclimbs

64 bit win7 pro
 
 

Hi Brds7t7, thanks I think that you are correct that this method would be a temp fix and that it possibly would require monthly maintenance as they are really pushing win10 on users. However I am thinking more of a simple long term fix. I guess I also wasn't exactly clear earlier either.

What I ment is that when one makes the change through Group Policy it changes one registry key and I'd like to write a .bat to make that reg. change instead.

HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{E40E0910-88C2-4920-A10E-DFE6B595998F}Machine\Software\Policies\Microsoft\Windows\WindowsUpdate\DisableOSUpgrade this is the key that is changed.

I have also found that this other key essentially does the same thing it is just stored in another part of the registry
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\windowsUpdate\DisableOSUpgrade


I think this should be possible I am just a manual regedit kinda guy... thanks Gordo
My System SpecsSystem Spec
.

07 Dec 2015   #4
Brds7t7

Windows 7 Pro 64-Bit, Windows 7 Ultimate 64-Bit, Windows 8.1 Pro 64-Bit
 
 

Hi Gordo,

From what I've been reading and some reports on here just changing the registry entry doesn't always stick after some Windows updates. Some people have reported even though they have set it, after another Windows update client update it's been reset and it's started downloading the 10 upgrade files.

I personally haven't experienced this happen myself though. At least not yet anyway. 10 is getting nowhere near my system!
My System SpecsSystem Spec
07 Dec 2015   #5
gordoclimbs

64 bit win7 pro
 
 

Hey Brds7t7,

I really hope that does not happen, first I work with lots of machines in the hospitality industry we sell POS systems for retail, restaurants and bars and none of our software solutions work with win10 so its really bad when one of our clients unknowingly upgrades as everything breaks and can bring their whole system down. Its pretty inconsiderate of MS to not consider our needs and that for lots of industry using win7 they will never want to upgrade to 10. Hopefully there is light at the end of the tunnel as MS is only offering win10 free until July of 2016 so hopefully the intrusion into our systems will stop at that time. I have done the registry changes on a few of our most recent builds and also uninstalled and hid updates related to win10 on others and will continuously monitor them to see which ones take and keep everyone posted. Thanks Gordo
My System SpecsSystem Spec
08 Dec 2015   #6
BorisTheAnimal

Windows 7 Home Premium
 
 

Hi Gordo,

I found this thread on the Super User forum and I would recommend looking at user Opmet's answer though others might also work:

How to disable the "Get Windows 10" icon shown in the notification area (tray)? - Super User

Cheers Boris
My System SpecsSystem Spec
Reply

 Remove win10 upgrade option through group policy with .bat script




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Group Policy - Apply to a Specific User or Group
How to Apply Local Group Policies to Specific User or Group in Windows Windows has three layers of local GPOs: Local Group Policy Local Group Policy is the only local GPO that allows both computer configuration and user configuration settings to be applied to all users of the computer....
Tutorials
Remove the "Safety" tab from IE 11 tools with group policy
Is there any way to remove the "Safety" tab or it's contents from the tools button in the upper right hand corner of IE 11 with Group Policy 2008 r2. I am using a GPMC on a windows 8.1 computer running IE 11. All of the computers we manage are Windows 7 pro running IE 10 or IE 11. The computers I...
General Discussion
This program is blocked by a group policy, help me remove this message
http://i.imgur.com/uyA1iMT.png I blocked a application that gives at random times pop up ads for avira. The free antivirus program. Now its gone. YES! good but each time I start up my pc I get the error message above. I know I did that and I'm fine with it. What I would like however...
Software
Group Policy Applies Policy EXCEPT for 1 Setting!
Hi all! Windows 7 Pro 32 bit on a domain I've NEVER seen this before and I cant figure it out. I have a group policy set on an OU named LAPTOPS. The policy gets applied, however the User Config\Windows Setting\Scripts\Logon DOES NOT. When you run the GPRESULTS on the laptop, I see the...
General Discussion
Group Policy Editor or Local Security Policy
Will either of these allow me to restrict drive access to a single user only? I've tried to restrict drive access with Group Policy Editor but it applies the restriction globally--even to me the administrator. Could anyone let me know if this is possible and how to do it? Much thanks.
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App