IF %PROCESSOR_ARCHITECTURE% == x86 (IF NOT DEFINED PROCESSOR_ARCHITEW6432 goto bit32) goto bit64 :bit32 wusa.exe Win7-KB3191566-x86.msu /quiet /norestart goto cont :bit64 wusa.exe Win7AndW2K8R2-KB3191566-x64.msu /quiet /norestart :cont timeout 10 SmartFix.exe /Recovery timeout 10 @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" timeout 10 choco install 7zip.install sysinternals choco-cleanervcredist-all --Y