@echo off
title Disable WSUS
echo Disabling WSUS...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v UseWUServer /t REG_DWORD /d 0 /f
echo Restarting Windows Update service...
net stop wuauserv
net start wuauserv