Advertisement
zero2dash

install updates and ie11

Aug 9th, 2018
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 5.40 KB | None | 0 0
  1. @ECHO OFF
  2.  
  3. ECHO Stopping Windows Update Automatic Update process
  4. net stop wuauserv
  5.  
  6. ::::::::::::::::::::::::::::::::::::::::
  7.  
  8. REM CD to the directory containing this script and the update files
  9. cd %~dp0
  10.  
  11. ::::::::::::::::::::::::::::::::::::::::
  12.  
  13. ECHO Installing Servicing stack update for Windows 7 SP1 and Windows Server 2008 R2 SP1: September 20, 2016
  14. wusa Windows6.1-KB3177467-x64.msu /quiet /norestart
  15.  
  16. ::::::::::::::::::::::::::::::::::::::::
  17.  
  18. ECHO Installing July 2016 update rollup for Windows 7 for x64-based Systems (KB3172605)
  19. wusa windows6.1-kb3172605-x64_2bb9bc55f347eee34b1454b50c436eb6fd9301fc.msu /quiet /norestart
  20.  
  21. ECHO Installing August 2016 update rollup for Windows 7 for x64-based Systems (KB3179573)
  22. wusa windows6.1-kb3179573-x64_0ec541490b3f7b02e41f26cb2c444cbd9e13df4d.msu /quiet /norestart
  23.  
  24. ECHO Installing September 2016 update rollup for Windows 7 for x64-based Systems (KB3185278)
  25. wusa windows6.1-kb3185278-x64_8134ec9d31dc04f4f47f832016a0a3f4b17e610b.msu /quiet /norestart
  26.  
  27. ECHO Installing October, 2016 Security Only Quality Update for Windows 7 for x64-based Systems (KB3192391)
  28. wusa windows6.1-kb3192391-x64_8acd94d8d268a6507c2852b0d9917f4ae1349b6c.msu /quiet /norestart
  29.  
  30. ECHO Installing November, 2016 Security Only Quality Update for Windows 7 for x64-based Systems (KB3197867)
  31. wusa windows6.1-kb3197867-x64_6f8f45a5706eeee8ac05aa16fa91c984a9edb929.msu /quiet /norestart
  32.  
  33. ECHO Installing December, 2016 Security Only Quality Update for Windows 7 for x64-based Systems (KB3205394)
  34. wusa windows6.1-kb3205394-x64_71d0c657d24bc852f074996c32987fb936c07774.msu /quiet /norestart
  35.  
  36. ECHO Installing January, 2017 Security Only Quality Update for Windows 7 for x64-based Systems (KB3212642)
  37. wusa windows6.1-kb3212642-x64_f3633176091129fc428d899c93545bdc7821e689.msu /quiet /norestart
  38.  
  39. ECHO February, 2017 had no patches, skipping
  40.  
  41. ECHO Installing March, 2017 Security Only Quality Update for Windows 7 for x64-based Systems (KB4012212)
  42. wusa windows6.1-kb4012212-x64_2decefaa02e2058dcd965702509a992d8c4e92b3.msu /quiet /norestart
  43.  
  44. ECHO Installing April, 2017 Security Only Quality Update for Windows 7 for x64-based Systems (KB4015546)
  45. wusa windows6.1-kb4015546-x64_4ff5653990d74c465d48adfba21aca6453be99aa.msu /quiet /norestart
  46.  
  47. ECHO Installing 2017-05 Security Only Quality Update for Windows 7 for x64-based Systems (KB4019263)
  48. wusa windows6.1-kb4019263-x64_d64d8b6f91434754fdd2a552d8732c95a6e64f30.msu /quiet /norestart
  49.  
  50. ECHO Installing 2017-06 Security Only Quality Update for Windows 7 for x64-based Systems (KB4022722)
  51. wusa windows6.1-kb4022722-x64_ee5b5fae02d1c48dbd94beaff4d3ee4fe3cd2ac2.msu /quiet /norestart
  52.  
  53. ECHO Installing 2017-07 Security Only Quality Update for Windows 7 for x64-based Systems (KB4025337)
  54. wusa windows6.1-kb4025337-x64_c013b7fcf3486a0f71c4f58fc361bfdb715c4e94.msu /quiet /norestart
  55.  
  56. ECHO Installing 2017-08 Security Only Quality Update for Windows 7 for x64-based Systems (KB4034679)
  57. wusa windows6.1-kb4034679-x64_ccabab6aefd6c16454fac39163ae5abc2f4f1303.msu /quiet /norestart
  58.  
  59. ECHO Installing 2017-09 Security Only Quality Update for Windows 7 for x64-based Systems (KB4038779)
  60. wusa windows6.1-kb4038779-x64_101eabd1c808a526c500d2589dc7077417693d79.msu /quiet /norestart
  61.  
  62. ECHO Installing 2017-10 Security Only Quality Update for Windows 7 for x64-based Systems (KB4041678)
  63. wusa windows6.1-kb4041678-x64_f55123caaf35a98d2056dc81a5d4a185f148601a.msu /quiet /norestart
  64.  
  65. ECHO Installing 2017-11 Security Only Quality Update for Windows 7 for x64-based Systems (KB4048960)
  66. wusa windows6.1-kb4048960-x64_e86abddbeecff64956c21d98e329372edb54a413.msu /quiet /norestart
  67.  
  68. ECHO Installing 2017-12 Security Only Quality Update for Windows 7 for x64-based Systems (KB4054521)
  69. wusa windows6.1-kb4054521-x64_8db86e8518b1254d044f9633a205ec1077a29cd9.msu /quiet /norestart
  70.  
  71. ECHO Installing 2018-01 Security Only Quality Update for Windows 7 for x64-based Systems (KB4056897)
  72. wusa windows6.1-kb4056897-x64_2af35062f69ce80c4cd6eef030eda31ca5c109ed.msu /quiet /norestart
  73.  
  74. ECHO Installing 2018-02 Security Only Quality Update for Windows 7 for x64-based Systems (KB4074587)
  75. wusa windows6.1-kb4074587-x64_cdc1b385546eca73c15e870e3b5f9e55e2d0ba3a.msu /quiet /norestart
  76.  
  77. ECHO 2018-03 skipping this month's Spectre Meltdown patches since they decrease performance
  78.  
  79. ECHO Installing 2018-04 Security Only Quality Update for Windows 7 for x64-based Systems (KB4093108)
  80. wusa windows6.1-kb4093108-x64_fe804365f849cc61b133fda1efae299c534b830f.msu /quiet /norestart
  81.  
  82. ECHO Installing 2018-05 Security Only Quality Update for Windows 7 for x64-based Systems (KB4103712)
  83. wusa windows6.1-kb4103712-x64_44bc3455369066d70f52da47c30ca765f511cf68.msu /quiet /norestart
  84.  
  85. ECHO Installing 2018-06 Security Only Quality Update for Windows 7 for x64-based Systems (KB4284867)
  86. wusa windows6.1-kb4284867-x64_c2ecdf5620a36f257537e2e10c797f3ab572a7fe.msu /quiet /norestart
  87.  
  88. ::::::::::::::::::::::::::::::::::::::::
  89.  
  90. ECHO Installing Internet Explorer 11 for IT Professionals and Developers--Windows 7 64-bit Edition and Windows Server 2008 R2 64-bit Edition
  91. IE11-Windows6.1-x64-en-us.exe /quiet /norestart
  92.  
  93. ECHO Installing Cumulative Security Update for Internet Explorer 11 for Windows 7 for x64-based Systems (KB4230450)
  94. wusa ie11-windows6.1-kb4230450-x64_15e3db473d1629895526a03c721649289e0b5799.msu /quiet /norestart
  95.  
  96. ::::::::::::::::::::::::::::::::::::::::
  97.  
  98. ECHO Rebooting the PC in 30 seconds
  99. shutdown /r /f /t 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement