Skip to content

Commit f8b560f

Browse files
authored
Update master.cmd
1 parent c3ef02a commit f8b560f

File tree

1 file changed

+2
-44
lines changed

1 file changed

+2
-44
lines changed

master.cmd

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,10 @@ echo. +------------------------------------------------+
7979
choice /c 1234 /n
8080
if %errorlevel% EQU 1 set custom=false && goto termsOfUse
8181
if %errorlevel% EQU 2 goto chooseCustom
82-
if %errorlevel% EQU 3 goto aboutThisScript
83-
if %errorlevel% EQU 4 goto githubRepo
82+
if %errorlevel% EQU 3 start https://github.com/aakkam22/windowsUpdateLoopFix/blob/master/README.md && goto :mainMenu
83+
if %errorlevel% EQU 4 start https://github.com/aakkam22/windowsUpdateLoopFix && goto :mainMenu
8484
if %errorlevel% EQU 5 exit
8585

86-
:githubRepo
87-
start https://github.com/aakkam22/windowsUpdateLoopFix
88-
goto :mainMenu
89-
9086
:chooseCustom
9187
set screen=Advanced Options (Advanced Users Only)
9288
call :printHeader
@@ -111,44 +107,6 @@ choice /c 1234 /n
111107
if %errorlevel% EQU 3 set custom=3 && goto termsOfUse
112108
if %errorlevel% EQU 4 goto mainMenu
113109

114-
:aboutThisScript
115-
cls
116-
mode con cols=102 lines=42
117-
echo.
118-
echo Windows Update Loop Fix
119-
echo Version 5.0
120-
echo.
121-
echo About This Script
122-
echo.
123-
echo This script was written to fix the "Checking for Updates" loop that occurs on Windows 7 systems.
124-
echo.
125-
echo The systems that encounter this problem don't have the latest updates for Windows Update installed.
126-
echo These updates include:
127-
echo.
128-
echo "April 2015 servicing stack update for Windows 7 and Windows Server 2008 R2 (KB3020369)"
129-
echo "July 2016 update rollup for Windows 7 SP1 and Windows Server 2008 R2 SP1 (KB3172605)"
130-
echo The latest Windows Update Agent for Windows 7 (v7.6.7600.256)
131-
echo.
132-
echo This script automates the installation of these updates. The script is divided into three stages:
133-
echo.
134-
echo Stage 1 downloads the updates to your hard drive and then resets Windows Update Components using the
135-
echo aggresive options detailed in Microsoft's support Article "How do I reset Windows Update Components?"
136-
echo.
137-
echo Stage 2 installs the Windows Update Agent
138-
echo.
139-
echo Stage 3 unpacks the .msu update files into .cab files which are then installed using DISM.EXE.
140-
echo.
141-
echo After Stage 3, the script deletes the files that were downloaded to your system.
142-
echo.
143-
echo For help, please open an issue on GitHub or email aakkam22@gmail.com.
144-
echo With the sunset of Windows 7, support for that OS will be limited.
145-
echo.
146-
echo.
147-
echo.
148-
echo Press any key to go back.
149-
pause>nul
150-
goto :mainMenu
151-
152110
:termsOfUse
153111
set screen=Important Information
154112
call :printHeader

0 commit comments

Comments
 (0)