Advertisement
Ibra86

Win7 EOS KB4493132

Mar 20th, 2019
1,437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.20 KB | None | 0 0
  1. @echo off
  2. %windir%\system32\reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || (
  3. echo ==== ERROR ====
  4. echo This script require administrator privileges.
  5. echo To do so, right click on this script and select 'Run as administrator'
  6. echo.
  7. echo Press any key to exit...
  8. pause >nul
  9. goto :eof
  10. )
  11.  
  12. :: ############################
  13. :: # End Of Support KB4493132 #
  14. :: ############################
  15. reg add HKCU\Software\Microsoft\Windows\CurrentVersion\SipNotify /f /v DontRemindMe /t REG_DWORD /d 1
  16. reg add HKCU\Software\Microsoft\Windows\CurrentVersion\SipNotify /f /v DateModified /t REG_QWORD /d 0x0
  17. reg add HKCU\Software\Microsoft\Windows\CurrentVersion\SipNotify /f /v LastShown /t REG_QWORD /d 0x0
  18. schtasks /Change /DISABLE /TN "Microsoft\Windows\End Of Support\Notify1"
  19. schtasks /Change /DISABLE /TN "Microsoft\Windows\End Of Support\Notify2"
  20. schtasks /Delete /F /TN "Microsoft\Windows\End Of Support\Notify1"
  21. schtasks /Delete /F /TN "Microsoft\Windows\End Of Support\Notify2"
  22. set hosts=%windir%\system32\drivers\etc\hosts
  23. findstr /i "RE2JgkA" %hosts% 1>nul 2>nul || (
  24. attrib -r %hosts%
  25. echo 127.0.0.1 query.prod.cms.rt.microsoft.com/cms/api/am/binary/RE2JgkA>>%hosts%
  26. attrib +r %hosts%
  27. attrib -a %hosts%
  28. )
  29.  
  30.  
  31. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement