Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- ECHO Stopping Windows Update Automatic Update process
- net stop wuauserv
- ::::::::::::::::::::::::::::::::::::::::
- REM CD to the directory containing this script and the update files
- cd %~dp0
- ::::::::::::::::::::::::::::::::::::::::
- ECHO Installing Microsoft .NET Framework 4.6.2 (Offline Installer) for Windows 7 SP1, Windows 8.1, Windows 10, Windows 10 November Update, Windows Server 2008 R2 SP1, Windows Server 2012 and Windows Server 2012 R2
- NDP462-KB3151800-x86-x64-AllOS-ENU.exe /quiet /norestart
- ECHO Installing Update for the d3dcompiler_47.dll component on Windows Server 2012, Windows 7, and Windows Server 2008 R2
- wusa windows6.1-kb4019990-x64_35cc310e81ef23439ba0ec1f11d7b71dd34adfe5.msu /quiet /norestart
- ECHO Installing 2018-05 Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 on Windows 7 and Server 2008 R2 for x64 (KB4099633)
- ndp47-kb4096418-x64_09433765a4d90e1a2295da0a1a1cf9b1b8a64f56.exe /q /norestart
- ECHO Disabling Windows Feature for Microsoft .NET Framework 3.5.1 (since .NET Framework 4.6.2 is now installed)
- DISM /online /disable-feature /featurename:NetFx3 /NoRestart
- ::::::::::::::::::::::::::::::::::::::::
- ECHO Installing Windows Management Framework 5.1
- wusa Win7AndW2K8R2-KB3191566-x64.msu /quiet /norestart
- ::::::::::::::::::::::::::::::::::::::::
- ECHO Rebooting the PC in 30 seconds
- shutdown /r /f /t 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement