Get rid of the Win 10 upgrade nag icon

I’m an IT professional. The last thing I need is some commercial behemoth harassing my children and tricking them into being disobedient to their parents. To all parents similarly situated I offer a way to fight back below.

We have exactly 3 Windows machines in the house. All of them on Windows 7. After thoroughly reviewing the pros and cons, I decided it would be best for my family if those machines were not upgraded to Windows 10.

But Microsoft, apparently, thinks it knows best, and continues to harangue my kids with the ubiquitous Windows 10 upgrade icon on the taskbar (and the big popup that opens every time they log in). Now Microsoft has been quite clear over the years that once a child reaches 13 years of age, their parents have nothing to say about their use of Microsoft products.

Anyway, as I’ve learned over the years, technology can be a force for liberation.

In my case Googling “windows 10 nag icon” brought me to Remove Windows Nag Icon To Upgrade To Windows 10, and the simple batch script (Remove_MS_Upgrade_To_Windows_10_Nag.bat) it discusses to remove the offending icon. It involves using a fairly blunt force method: renaming the executable that displays the icon so it can’t run. Genius.

This solution works, at least so far.

Echo off

taskkill.exe /F /IM "gwx.exe"
takeown /a /r /d Y /f "%windir%\System32\GWX" && icacls "%windir%\System32\GWX" /grant administrators:F
robocopy "%windir%\System32\GWX" "%windir%\System32\GWX_Old" /E
rmdir /s /q "%windir%\System32\GWX"

takeown /a /r /d Y /f "%windir%\System32\Tasks\Microsoft\Windows\Setup\GWXTriggers" && icacls "%windir%\System32\Tasks\Microsoft\Windows\Setup\GWXTriggers" /grant administrators:F
rmdir /s /q "%windir%\System32\Tasks\Microsoft\Windows\Setup\GWXTriggers"

This entry was posted in System Administration, Systems Analysis on by .

About phil

My name is Phil Lembo. In my day job I’m an enterprise IT architect for a leading distribution and services company. The rest of my time I try to maintain a semi-normal family life in the suburbs of Raleigh, NC. E-mail me at philipATlembobrothersDOTcom. The opinions expressed here are entirely my own and not those of my employers, past, present or future (except where I quote others, who will need to accept responsibility for their own rants).