Jump to content

Possible to load the windows update files and let system auto run?


rootz

Recommended Posts

Hi all,

I would like to find out whether is there any way that I can load the windows updates files (downloaded via WUD) onto nLite (or anything else), and let the system self run to install all the updates.

The reason why I need to do this is because I need to update a few laptops and they range from XP SP 2 to XP SP 3, and it would be very tedious to do so 1 by 1.

Thus, appreciate all feedback / advise on how I can go about resolving my problem.

Thanks and regards,

Rootz

Link to comment
Share on other sites


You could download them, but you'll need a CMD (or "other") script to install them.

nLite integrates for the purpose of (generally) New Installs.

Alternative? AutoPatcher, however you will still have to update each and you may have to repeatedly run it until completely updated.

Link to comment
Share on other sites

try this code, put all your updates in a folder and this batch script next to the folder

@echo off
cls
title Windows 7 Offline Updater
color 1F

rem [Select Current Directory]
set BATDIR1=%~dp0
cd /d %BATDIR1%

:Intro Credits
echo Windows 7 Offline Updater
echo+
timeout /t 2 >Nul
cls
Rem Next Part
echo -==//Created By: ColdZero\\==-
timeout /t 1 >Nul
echo Support available @ My Digital Life -Forums-
timeout /t 3 >Nul
cls


:Menu
cls
Echo+
Echo -------------------------------------------------------------------------------
Echo Windows 7 Off-Line Updates Package: 2012
Echo -------------------------------------------------------------------------------
Echo+
echo Hello %USERNAME%, what do you want to do?
echo+
echo A) Install Critical Updates
echo B) View Installed Updates
echo Q) Exit
echo+
::Choose Option
set /p userinp= ^> Select Option :
set userinp=%userinp:~0,1%
if /i "%userinp%"=="Q" exit
if /i "%userinp%"=="A" goto :Patches_Install
if /i "%userinp%"=="B" goto :Patches_List
goto :Menu

:Patches_List
If exist patchlist.txt del patchlist.txt
wmic qfe get hotfixid >patchlist.txt
start patchlist.txt
goto :Menu
exit



:Patches_Install
rem "Start /Wait File.exe /quiet /norestart"
rem "KB00000.msu /quiet /norestart
cls
Echo+
Echo -------------------------------------------------------------------------------
Echo Windows 7 Off-Line Updates Package: 2012
Echo -------------------------------------------------------------------------------
Echo+
echo+

cd "Critical Updates"
echo Installing 2012 Patches...
echo+
@for %%V in (*.msu) do (
echo %%V
%%V /quiet /norestart
If %errorlevel% NEQ 0 echo Warning: Minor error! "dont worry"
)
echo+
echo ***********
echo Complete!
echo ***********
echo+
Pause
cd..
Exit


ColdZero's Page

http://forums.mydigitallife.info/threads/20043-Windows-7-Offline-Updates

you may need to edit the batch script as it is meant for Windows 7 updates

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...