The thing is, your installed updates stay installed, it just may help to get new updates faster, once you start searching updates again after this.
It may be that you need to try a few other fixes with this as well, just try, as I said , the updates you already have installed stay installed.
Do what I did, go to sleep then by morning you'll get more than a 1GB of updates. I really don't care for the updates beyond sp1. I use avast for protection
Do what I did, go to sleep then by morning you'll get more than a 1GB of updates. I really don't care for the updates beyond sp1. I use avast for protection
Nah, my Machine takes around 10 hours to find all updates, i have thought that the solutions posted were going to help to find updates in 1 or 2 hours, my mistake for no reading the whole thread, I can wait, it's not that I can't play games while Windows search for updates.
Of course you need all the updates - the security updates at least. Why would Microsoft spend all that time and money in developing and releasing them otherwise?
In short, it's because malware could get round the a/v app by exploiting a hole in Windows, ie it could have a chance to install itself before the a/v app can even see it. This is why you actually need all software running on your PC to be patched to the latest versions, whether it be the os, a/v or an application like Firefox or Steam. Flaws in any of them could allow malware to find a way to sneak past all the defences in the system. It doesn't have to be always, either. Just once is enough to screw you over and leave your PC riddled with malware - one infection tends to attract another as new security holes are opened and as the malware does its dirty work.
Just patch everything and only ever miss out a patch as a rare exception where it's known to cause a problem, such as a blue screen, etc.
Personally, I just accept all the patches going nowadays with only a very cursery look at them and almost never have a problem. I don't even remember the last time there was a problem with one of them for me.
Here is a quick and dirty. I havent had alot of time to test but it seemed to work on my VM. I will probably modify this and add support for other stuff later.
Right now it assumes you are running windows 7 x64 and not x86
EDIT: MAybe I should elaborate. I made this script to go through the steps in the link above automatically. The link is a method people have found that drastically speeds up the time it takes a fresh install of 7 to get updates.
I can personally confirm this. I wrote up a batch to download the msu install fiels for the updates themselves. I then made a mechanism to keep track of "stages" so that the batch can "keep track of progress" between reboots.
The batch will automatically skip to the next "Stage" of installation. Eventually cleaning itself up and finally leaving your system patched and in a state were you an pull windows updates in a reasonable amount of time.
EDIT2:: I updated it to support 32bit windows versions. I also have it copy itself to startup folder temporarily until all the stages are complete. It then deletes itself and lets you know everything is done.
Code below for the crazies.
Code:
@Echo off
SETLOCAL EnableDelayedExpansion
for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do (
set "DEL=%%a"
)
title Windows 7 Quick Patch V .2
cls
:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto start) else ( goto getPrivileges )
:getPrivileges
if '%1'=='ELEV' (shift & goto start)
for /f "delims=: tokens=*" %%A in ('findstr /b ::- "%~f0"') do @echo(%%A
setlocal DisableDelayedExpansion
set "batchPath=%~0"
setlocal EnableDelayedExpansion
Echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs"
Echo UAC.ShellExecute "!batchPath!", "ELEV", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
exit /B
:Start
Echo.
Echo This script is based off of information from http://www.freenode-windows.org/resources/vista-7/windows-update
Echo.
Echo This script is brought to you by Solaris17 of TPU
Echo.
Echo This script is for Windows 7. I didnt put alot of failsafe time into it.
Echo.
Echo This script should automatically run after rebooting.
Echo.
pause
copy %0 "%USERPROFILE%\Start Menu\Programs\Startup"
mkdir C:\Win7qUD
set /p var=<C:\Step.txt
call :%var% 2> NUL
:detect
@Echo off
cls
ver | findstr /i "5\.1\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "5\.2\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "6\.0\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "6\.1\." > nul
IF %ERRORLEVEL% EQU 0 goto archchk
ver | findstr /i "6\.2\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "6\.3\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "10\.0\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
goto warn
:warn
Echo.
Echo This is not Windows 7 this wont work for you.
Echo.
pause
goto exit
:archchk
Echo.
IF EXIST "%PROGRAMFILES(X86)%" (GOTO 64BIT) ELSE (GOTO 32BIT)
:64BIT
goto 64step1
:64step1
@echo 64step1 > C:\Step.txt
:: Kill Services and folders
cls
Echo.
Echo Step 1 of 6
Echo.
Echo Killing Services etc
SC stop wuauserv
rmdir c:\windows\softwaredistribution\WuRedir /s /q
:64step2
@echo 64step2 > C:\Step.txt
:: Download KB fixes x64
cls
echo.
Echo Step 2 of 6
Echo.
Echo Downloading KB updates.
Echo.
bitsadmin.exe /transfer "KB3020369" https://download.microsoft.com/download/5/D/0/5D0821EB-A92D-4CA2-9020-EC41D56B074F/Windows6.1-KB3020369-x64.msu C:\Win7qUD\1st.msu
bitsadmin.exe /transfer "KB3172605" https://download.microsoft.com/download/5/6/0/560504D4-F91A-4DEB-867F-C713F7821374/Windows6.1-KB3172605-x64.msu C:\Win7qUD\2nd.msu
bitsadmin.exe /transfer "KB3125574" http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/05/windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu C:\Win7qUD\3rd.msu
:64step3
Echo.
@echo 64step3 > C:\Step.txt
:: Installing first MSU
cls
Echo Step 3 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\1st.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 64step4 > C:\Step.txt
exit
:64step4
Echo.
@echo 64step4 > C:\Step.txt
:: Installing second MSU
cls
Echo Step 4 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\2nd.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 64step5 > C:\Step.txt
exit
:64step5
Echo.
@echo 64step5 > C:\Step.txt
:: Installing third MSU
cls
Echo Step 5 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 30min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\3rd.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 64step6 > C:\Step.txt
exit
:64step6
Echo.
:: Cleaning up files etc
cls
rmdir C:\Win7qUD /s /q
del C:\Step.txt
Echo Step 6 of 6
Echo.
Echo Complete!
Echo.
Echo You should now be able to continue Windows updates as normal.
Echo.
Echo You can delete this script after it closes if you wish.
Echo.
Echo This script will now delete itself from startup.
Echo.
pause
del "%USERPROFILE%\Start Menu\Programs\Startup\*.bat"
goto exit
:32BIT
goto 32step1
:32step1
@echo 32step1 > C:\Step.txt
:: Kill Services and folders
cls
Echo.
Echo Step 1 of 6
Echo.
Echo Killing Services etc
SC stop wuauserv
rmdir c:\windows\softwaredistribution\WuRedir /s /q
:32step2
@echo 32step2 > C:\Step.txt
:: Download KB fixes x86
cls
echo.
Echo Step 2 of 6
Echo.
Echo Downloading KB updates.
Echo.
bitsadmin.exe /transfer "KB3020369" https://download.microsoft.com/download/C/0/8/C0823F43-BFE9-4147-9B0A-35769CBBE6B0/Windows6.1-KB3020369-x86.msu C:\Win7qUD\1st.msu
bitsadmin.exe /transfer "KB3172605" https://download.microsoft.com/download/C/D/5/CD5DE7B2-E857-4BD4-AA9C-6B30C3E1735A/Windows6.1-KB3172605-x86.msu C:\Win7qUD\2nd.msu
bitsadmin.exe /transfer "KB3125574" http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/05/windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu C:\Win7qUD\3rd.msu
:32step3
Echo.
@echo 32step3 > C:\Step.txt
:: Installing first MSU
cls
Echo Step 3 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\1st.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 32step4 > C:\Step.txt
exit
:32step4
Echo.
@echo 32step4 > C:\Step.txt
:: Installing second MSU
cls
Echo Step 4 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\2nd.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 32step5 > C:\Step.txt
exit
:32step5
Echo.
@echo 32step5 > C:\Step.txt
:: Installing third MSU
cls
Echo Step 5 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 30min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\3rd.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 32step6 > C:\Step.txt
exit
:32step6
Echo.
:: Cleaning up files etc
cls
rmdir C:\Win7qUD /s /q
del C:\Step.txt
Echo Step 6 of 6
Echo.
Echo Complete!
Echo.
Echo You should now be able to continue Windows updates as normal.
Echo.
Echo You can delete this script after it closes if you wish.
Echo.
Echo This script will now delete itself from startup.
Echo.
pause
del "%USERPROFILE%\Start Menu\Programs\Startup\*.bat"
goto exit
:exit
exit
lmk! im exhausted and kinda scatter brained doing the other guide and work, so ignore spelling errors, ill make everything look pretty later. the stage markers and code are solid though.
The KB3172605 - July 2016 update rollup for Windows 7 SP1 is supposed to include the fix from the KB3161608 - June 2016 update rollup for Windows 7 SP1, KB3161647, which is supposed to help fix the long search time for updates problem.
Here is a quick and dirty. I havent had alot of time to test but it seemed to work on my VM. I will probably modify this and add support for other stuff later.
Right now it assumes you are running windows 7 x64 and not x86
EDIT: MAybe I should elaborate. I made this script to go through the steps in the link above automatically. The link is a method people have found that drastically speeds up the time it takes a fresh install of 7 to get updates.
I can personally confirm this. I wrote up a batch to download the msu install fiels for the updates themselves. I then made a mechanism to keep track of "stages" so that the batch can "keep track of progress" between reboots.
The batch will automatically skip to the next "Stage" of installation. Eventually cleaning itself up and finally leaving your system patched and in a state were you an pull windows updates in a reasonable amount of time.
Code below for the crazies.
Code:
@Echo off
SETLOCAL EnableDelayedExpansion
for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do (
set "DEL=%%a"
)
title Windows 7 Quick Patch
cls
:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto start) else ( goto getPrivileges )
:getPrivileges
if '%1'=='ELEV' (shift & goto start)
for /f "delims=: tokens=*" %%A in ('findstr /b ::- "%~f0"') do @echo(%%A
setlocal DisableDelayedExpansion
set "batchPath=%~0"
setlocal EnableDelayedExpansion
Echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs"
Echo UAC.ShellExecute "!batchPath!", "ELEV", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
exit /B
:Start
Echo.
Echo This script is based off of information from http://www.freenode-windows.org/resources/vista-7/windows-update
Echo.
Echo This script is brought to you by Solaris17 of TPU
Echo.
Echo This script is for Windows 7. I didnt put alot of failsafe time into it.
Echo.
Echo At tis time this script assumes you are using Win 7 x64
Echo.
pause
mkdir C:\Win7qUD
set /p var=<C:\Step.txt
call :%var% 2> NUL
:step1
@echo Step1 > C:\Step.txt
:: Kill Services and folders
Echo.
Echo Step 1
Echo Killing Services etc
SC stop wuauserv
rmdir c:\windows\softwaredistribution\WuRedir /s /q
:step2
@echo Step2 > C:\Step.txt
:: Download KB fixes x64
echo.
Echo Step 2
Echo Downloading KB updates.
Echo.
bitsadmin.exe /transfer "KB3020369" https://download.microsoft.com/download/5/D/0/5D0821EB-A92D-4CA2-9020-EC41D56B074F/Windows6.1-KB3020369-x64.msu C:\Win7qUD\1st.msu
bitsadmin.exe /transfer "KB3172605" https://download.microsoft.com/download/5/6/0/560504D4-F91A-4DEB-867F-C713F7821374/Windows6.1-KB3172605-x64.msu C:\Win7qUD\2nd.msu
bitsadmin.exe /transfer "KB3125574" http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/05/windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu C:\Win7qUD\3rd.msu
:Step3
Echo.
@echo Step3 > C:\Step.txt
:: Installing first MSU
Echo Step 3
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Start /wait C:\Win7qUD\1st.msu
shutdown /r /t 60 /c "Reboot in Progress Restart script after boot."
@echo Step4 > C:\Step.txt
exit
:Step4
Echo.
@echo Step4 > C:\Step.txt
:: Installing second MSU
Echo Step 4
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Start /wait C:\Win7qUD\2nd.msu
shutdown /r /t 60 /c "Reboot in Progress Restart script after boot."
@echo Step5 > C:\Step.txt
exit
:Step5
Echo.
@echo Step5 > C:\Step.txt
:: Installing third MSU
Echo Step 5
Echo Starting Install
Echo.
Echo If this hangs for longer than about 30min reboot the machine and run the batch again.
Start /wait C:\Win7qUD\3rd.msu
shutdown /r /t 60 /c "Reboot in Progress Restart script after boot."
@echo Step6 > C:\Step.txt
exit
:Step6
Echo.
:: Cleaning up files etc
rmdir C:\Win7qUD /s /q
del C:\Step.txt
Echo Complete!
Echo.
Echo You should now be able to continue Windows updates as normal!
pause
exit
Gets worse every day, guys.
Yesterday I had to re-install a Win7 x86 on a very old Dell laptop, and even with all the fixes I listed earlier, it took over 12 hours to update (had to restart several dozen times, because some updates kept failing)!
Last year x86 version was the only one that did not hang during the update process, and did not suffer from high CPU load and memory usage.
My legit (and unused) Windows 7 key also failed to activate by internet and by phone: I had to go through 2 call redirects and 20 minutes of talking to M$ tech support, instead of simply clicking "Activate" button.
Here is a quick and dirty. I havent had alot of time to test but it seemed to work on my VM. I will probably modify this and add support for other stuff later.
Right now it assumes you are running windows 7 x64 and not x86
EDIT: MAybe I should elaborate. I made this script to go through the steps in the link above automatically. The link is a method people have found that drastically speeds up the time it takes a fresh install of 7 to get updates.
I can personally confirm this. I wrote up a batch to download the msu install fiels for the updates themselves. I then made a mechanism to keep track of "stages" so that the batch can "keep track of progress" between reboots.
The batch will automatically skip to the next "Stage" of installation. Eventually cleaning itself up and finally leaving your system patched and in a state were you an pull windows updates in a reasonable amount of time.
EDIT2:: I updated it to support 32bit windows versions. I also have it copy itself to startup folder temporarily until all the stages are complete. It then deletes itself and lets you know everything is done.
Code below for the crazies.
Code:
@Echo off
SETLOCAL EnableDelayedExpansion
for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) do rem"') do (
set "DEL=%%a"
)
title Windows 7 Quick Patch V .2
cls
:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto start) else ( goto getPrivileges )
:getPrivileges
if '%1'=='ELEV' (shift & goto start)
for /f "delims=: tokens=*" %%A in ('findstr /b ::- "%~f0"') do @echo(%%A
setlocal DisableDelayedExpansion
set "batchPath=%~0"
setlocal EnableDelayedExpansion
Echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs"
Echo UAC.ShellExecute "!batchPath!", "ELEV", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
exit /B
:Start
Echo.
Echo This script is based off of information from http://www.freenode-windows.org/resources/vista-7/windows-update
Echo.
Echo This script is brought to you by Solaris17 of TPU
Echo.
Echo This script is for Windows 7. I didnt put alot of failsafe time into it.
Echo.
Echo This script should automatically run after rebooting.
Echo.
pause
copy %0 "%USERPROFILE%\Start Menu\Programs\Startup"
mkdir C:\Win7qUD
set /p var=<C:\Step.txt
call :%var% 2> NUL
:detect
@Echo off
cls
ver | findstr /i "5\.1\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "5\.2\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "6\.0\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "6\.1\." > nul
IF %ERRORLEVEL% EQU 0 goto archchk
ver | findstr /i "6\.2\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "6\.3\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
ver | findstr /i "10\.0\." > nul
IF %ERRORLEVEL% EQU 0 goto warn
goto warn
:warn
Echo.
Echo This is not Windows 7 this wont work for you.
Echo.
pause
goto exit
:archchk
Echo.
IF EXIST "%PROGRAMFILES(X86)%" (GOTO 64BIT) ELSE (GOTO 32BIT)
:64BIT
goto 64step1
:64step1
@echo 64step1 > C:\Step.txt
:: Kill Services and folders
cls
Echo.
Echo Step 1 of 6
Echo.
Echo Killing Services etc
SC stop wuauserv
rmdir c:\windows\softwaredistribution\WuRedir /s /q
:64step2
@echo 64step2 > C:\Step.txt
:: Download KB fixes x64
cls
echo.
Echo Step 2 of 6
Echo.
Echo Downloading KB updates.
Echo.
bitsadmin.exe /transfer "KB3020369" https://download.microsoft.com/download/5/D/0/5D0821EB-A92D-4CA2-9020-EC41D56B074F/Windows6.1-KB3020369-x64.msu C:\Win7qUD\1st.msu
bitsadmin.exe /transfer "KB3172605" https://download.microsoft.com/download/5/6/0/560504D4-F91A-4DEB-867F-C713F7821374/Windows6.1-KB3172605-x64.msu C:\Win7qUD\2nd.msu
bitsadmin.exe /transfer "KB3125574" http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/05/windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu C:\Win7qUD\3rd.msu
:64step3
Echo.
@echo 64step3 > C:\Step.txt
:: Installing first MSU
cls
Echo Step 3 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\1st.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 64step4 > C:\Step.txt
exit
:64step4
Echo.
@echo 64step4 > C:\Step.txt
:: Installing second MSU
cls
Echo Step 4 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\2nd.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 64step5 > C:\Step.txt
exit
:64step5
Echo.
@echo 64step5 > C:\Step.txt
:: Installing third MSU
cls
Echo Step 5 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 30min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\3rd.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 64step6 > C:\Step.txt
exit
:64step6
Echo.
:: Cleaning up files etc
cls
rmdir C:\Win7qUD /s /q
del C:\Step.txt
Echo Step 6 of 6
Echo.
Echo Complete!
Echo.
Echo You should now be able to continue Windows updates as normal.
Echo.
Echo You can delete this script after it closes if you wish.
Echo.
Echo This script will now delete itself from startup.
Echo.
pause
del "%USERPROFILE%\Start Menu\Programs\Startup\*.bat"
goto exit
:32BIT
goto 32step1
:32step1
@echo 32step1 > C:\Step.txt
:: Kill Services and folders
cls
Echo.
Echo Step 1 of 6
Echo.
Echo Killing Services etc
SC stop wuauserv
rmdir c:\windows\softwaredistribution\WuRedir /s /q
:32step2
@echo 32step2 > C:\Step.txt
:: Download KB fixes x86
cls
echo.
Echo Step 2 of 6
Echo.
Echo Downloading KB updates.
Echo.
bitsadmin.exe /transfer "KB3020369" https://download.microsoft.com/download/C/0/8/C0823F43-BFE9-4147-9B0A-35769CBBE6B0/Windows6.1-KB3020369-x86.msu C:\Win7qUD\1st.msu
bitsadmin.exe /transfer "KB3172605" https://download.microsoft.com/download/C/D/5/CD5DE7B2-E857-4BD4-AA9C-6B30C3E1735A/Windows6.1-KB3172605-x86.msu C:\Win7qUD\2nd.msu
bitsadmin.exe /transfer "KB3125574" http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/05/windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu C:\Win7qUD\3rd.msu
:32step3
Echo.
@echo 32step3 > C:\Step.txt
:: Installing first MSU
cls
Echo Step 3 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\1st.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 32step4 > C:\Step.txt
exit
:32step4
Echo.
@echo 32step4 > C:\Step.txt
:: Installing second MSU
cls
Echo Step 4 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 15min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\2nd.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 32step5 > C:\Step.txt
exit
:32step5
Echo.
@echo 32step5 > C:\Step.txt
:: Installing third MSU
cls
Echo Step 5 of 6
Echo.
Echo Starting Install
Echo.
Echo If this hangs for longer than about 30min reboot the machine and run the batch again.
Echo.
Echo If the installer prompts for reboot just hit CLOSE
Echo.
Echo You need to run the script again after reboot anyway.
Start /wait C:\Win7qUD\3rd.msu
shutdown /r /t 60 /c "Rebooting:Process will continue after restart."
@echo 32step6 > C:\Step.txt
exit
:32step6
Echo.
:: Cleaning up files etc
cls
rmdir C:\Win7qUD /s /q
del C:\Step.txt
Echo Step 6 of 6
Echo.
Echo Complete!
Echo.
Echo You should now be able to continue Windows updates as normal.
Echo.
Echo You can delete this script after it closes if you wish.
Echo.
Echo This script will now delete itself from startup.
Echo.
pause
del "%USERPROFILE%\Start Menu\Programs\Startup\*.bat"
goto exit
:exit
exit
I just updated this. It now detects windows version (so it wont attempt on anything other than windows 7) and architecture. So you can do 32 and 64 bit installs. I also now have it copy to startup so that it continues after it reboots your machine. It deletes itself and cleans up after of course. New zip and code in spilers if you want to take a look.
Total reboots are like 4 IIRC. Just let it do its thing it will tell you when its done.
I just updated this. It now detects windows version (so it wont attempt on anything other than windows 7) and architecture. So you can do 32 and 64 bit installs. I also now have it copy to startup so that it continues after it reboots your machine. It deletes itself and cleans up after of course. New zip and code in spilers if you want to take a look.
Total reboots are like 4 IIRC. Just let it do its thing it will tell you when its done.
This thread should be stickied... or you should create a new post that is stickied with your instructions and script. I am testing it now and so far so good! Saves me the effort of doing this myself and I appreciate that.
This thread should be stickied... or you should create a new post that is stickied with your instructions and script. I am testing it now and so far so good! Saves me the effort of doing this myself and I appreciate that.
haha I do appreciate it, dont hold it in high regard just yet, you do need to manually deal with the occasional box. I cant interact with them in batch. So hitting "Close" is still something the user needs to handle.