Command line to disable Windows 10 update

Put this in a batch file

rem Take ownership
takeown /f C:\Windows\System32\GWX /r /d y

rem Set Permission
icacls C:\Windows\System32\GWX\* /grant %USERNAME%:F

Rem Kill process
taskkill /f /im gwx.exe
taskkill /f /im GWX.exe

Rem Remove Folder
rd /S /q C:\Windows\System32\GWX


Leave a Reply

Your email address will not be published. Required fields are marked *