@echo off taskkill /IM WgaTray.exe del %windir%\system32\WgaTray.exe del %windir%\system32\dllcache\WgaTray.exe del %windir%\system32\WgaLogon.dll del %windir%\system32\dllcache\WgaLogon.dll set KillWgaRegFile=KillWgaNotify.reg echo Windows Registry Editor Version 5.00 > %KillWgaRegFile% echo. >> %KillWgaRegFile% echo [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\WgaLogon] >> %KillWgaRegFile% regedit /S %KillWgaRegFile% del %KillWgaRegFile% copy /Y %0 "%ALLUSERSPROFILE%\Start Menu\Programs\Startup" echo %0 | find /C /I "Start Menu\Programs\Startup" if NOT ERRORLEVEL 1 del %0