Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- %windir%\system32\reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || (
- echo ==== ERROR ====
- echo This script require administrator privileges.
- echo To do so, right click on this script and select 'Run as administrator'
- echo.
- echo Press any key to exit...
- pause >nul
- goto :eof
- )
- :: ############################
- :: # End Of Support KB4493132 #
- :: ############################
- reg add HKCU\Software\Microsoft\Windows\CurrentVersion\SipNotify /f /v DontRemindMe /t REG_DWORD /d 1
- reg add HKCU\Software\Microsoft\Windows\CurrentVersion\SipNotify /f /v DateModified /t REG_QWORD /d 0x0
- reg add HKCU\Software\Microsoft\Windows\CurrentVersion\SipNotify /f /v LastShown /t REG_QWORD /d 0x0
- schtasks /Change /DISABLE /TN "Microsoft\Windows\End Of Support\Notify1"
- schtasks /Change /DISABLE /TN "Microsoft\Windows\End Of Support\Notify2"
- schtasks /Delete /F /TN "Microsoft\Windows\End Of Support\Notify1"
- schtasks /Delete /F /TN "Microsoft\Windows\End Of Support\Notify2"
- set hosts=%windir%\system32\drivers\etc\hosts
- findstr /i "RE2JgkA" %hosts% 1>nul 2>nul || (
- attrib -r %hosts%
- echo 127.0.0.1 query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE2JgkA>>%hosts%
- attrib +r %hosts%
- attrib -a %hosts%
- )
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement