Advertisement
Guest User

Install_KB5005633

a guest
Jan 16th, 2022
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.43 KB | None | 0 0
  1. @echo off
  2. reg query HKU\S-1-5-19 1>nul 2>nul || (echo Run as administrator&pause&goto :eof)
  3. cd /d "%~dp0"
  4. set KB=KB5005633
  5. if not exist "*%KB%*.msu" (echo %KB% msu not found&pause&goto :eof)
  6. mkdir .\%KB%
  7. expand.exe -f:*%KB%*.cab *%KB%*.msu . >nul
  8. expand.exe -f:* *%KB%*.cab %KB% >nul
  9. del /f /q *%KB%*.cab
  10. dism /norestart /online /add-package /packagepath:%KB%\update.mum
  11. rd /s /q %KB%
  12. echo Restart the system
  13. pause
  14. goto :eof
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement