Reply to post: Batch File Fix

Microsoft’s Get Windows 10 nagware shows signs of sentience

Deadly Headshot

Batch File Fix

I thought I'd post the contents of the batch file I've been using to get rid of GWX. It only seems to work until the next update, at which point it needs to be run again, but you could always add it to the startup folder or something (though it needs admin permissions to run).

[Code:]

c:

cd \Windows\System32

attrib -H -S GWX

ren GWX GWX%RANDOM%

if not exist "C:\Windows\System32\GWX\GWX.EXE" GOTO :dodir

ren C:\Windows\System32\GWX\GWX.EXE GWX%RANDOM%.EXE

dir gwx\gwx*

:dodir

REM Check it's gone

dir gwx*

pause

REM Kill the task itself

tskill gwx

taskkill /IM gwx*

[/Code]

I hope that this helps someone.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon