wsus oflline update 10 7

Integrate WSUS Offline Updater with MDT 2013 to Deploy Windows 10


In this article we will show you how to install updates offline gained using WSUS Offline Updater, inside MDT 2013 task sequences to deploy fully patched Windows 10 image over network.

How to Install Updates Offline with MDT 2013?

The first thing you need to do — download the latest version of WSUS Offline Updater from this website. At this moment the last available version of WSUS Offline Updater is 10.7.

wsus offline update with mdt

Note. WSUS Offline Updater is a free utility which is designed to automatically download all critical and security updates for specified Microsoft products from Microsoft Update or local WSUS server. Updates are stored in the local folder, so Administrator can install updates offline on any system without internet connection or an internal WSUS server. The utility allows you to download updates for all supported versions of Windows (Windows Vista, 7, 8, 10 / Windows Server 2008, 2008 R2, 2012, 2012 R2), Office 2010, 2013 and 2016, .Net Frameworks, C ++ Runtime libraries, Windows Defender definitions, Microsoft Security Essentials and so on.

Now we need to download and extract wsusoffline107.zip to any folder (C:\Distr\wsusoffline in our case).

Launch executable file UpdateGenerator.exe (WSUS Offline Update Generator).

mdt wsus

Select Windows OS version which you want to receive the list of mandatory security updates for. This time in section Windows 10 / Server 2016 (w100 / w100-x64) we choose version x64 Global (multilingual updates) and click on Start.

READ ALSO  Using Application Bundles in MDT 2013

mdt install offline updates wsus

At first the program will get a list of available patches and then begin to download ones that have not yet been downloaded. This means that you can run the program periodically to check for new updates without having to download all completely anew. Depending on your internet channel and product selection download, it can take a long time.

mdt wsus offline

Tips.

  • In the programs settings you can specify that the updates were taken not from the Microsoft Update site, but from internal WSUS server (WSUS button)
  • If you connect to the internet using proxy server, the address of proxy and credentials can be set by pressing on button Proxy

All downloaded updates are stored in Client folder.

wsus offline mdt folder

To install updates on the clients computers use program UpdateInstaller.exe with graphical interface. But in our case we will not use it, because GUI is not needed. For this case, there is a file with a batch script Update.cmd (which runs another script — \cmd\DoUpdate.cmd). MDT 2013 will run file update.cmd when deploying Windows 10 on clients.

  • Catalog wsus contains the latest version of the Windows Update Agent
  • Catalog w100-x64\glb — contains downloaded update files for Windows 10 in *.cab format
    wsus offline mdt cab

After all update files are downloaded on your local disk, close WSUS Offline Updater application and fully copy folder Client to your MDT deployment server to folder C:\DeploymentShare\Scripts (by default).

READ ALSO  Use your Windows 10 Task view to access to all open apps and programs

wsus offline mdt scripts

It remains to integrate the installation of downloaded updates into the MDT Task Sequence.

Integrate installation of updates offline into MDT

Open Deployment Workbench (MDT) console, go to the Task Sequences and select Deployment task in which you want to add a task to install updates (in our example task name Deploy Win 10 x64 Pro). Open its Properties and click on the Task Sequence tab.

mdt wsus server

With MDT task we need to create a script that would be mounted Client folder as a network drive (because the batch file update.cmd is not working with UNC path) and run update.cmd, which will start updates installation.

Select group named Custom Task, which is located in the State Restore section right after Windows Update (Post-Application Installation) task.

Within this group, we need to create two tasks:

  1. Mount UNC share Client as a network drive
  2. Run script update.cmd, which performs the installation of updates.

Create a task  (Add->General->Run Command Line) with name Mount Network Folder.

mdt wsus command line

In Command line field you need to specify following command:

cscript.exe "%SCRIPTROOT%\ZTIConnect.wsf" /uncpath:\\10.24.0.70\DeploymentShare\Scripts\client

mdt wsus mount folder

Tip. ZTIConnect script mount network folder as a drive with Y: letter.

Create following task called Install Windows Updates Offline:

Cmd.exe /c “Y:\DeploymentShare\Scripts\client\update.bat”

install windows updates offline

Preform the update of deployment share and MDT regenerates images and configuration files for OS deployment.

READ ALSO  Return the classic look of date and time panel in Windows 10

install updates offline wsus mdt

It remains to check Windows 10 MDT deployment task on a virtual or physical machine. Power on your test system and boot it from LAN using PXE loader.

Select your Task Sequence and wait for the Windows 10 installation. After installation is complete, a window will appear with title Administrator DoUpdate, string Starting WSUS Offline Update… indicates that installation of updates is started successfully.

install updates offline mdt wsus

Wait for the update is installed and restart your computer.

So, this time we have configured an automatic install updates offline in the process of deploying Windows 10 using MDT 2013. Hope it was useful for you!


You may also like:

How to Convert ESD to WIM File on Windows 10 In this tutorial we will show you how to convert ESD to WIM file using Command Prompt. ESD file is a new thing within Windows 10 OS, that Microsoft is...
Sysprep Windows 10 Machine: Step by Step Guide In this article we will show you how to use PowerShell and Windows System Preparation Tool to prepare a highly customized, personal Windows 10 install...
Deploy LGPO with MDT 2013 Local Group Policy (LGPO) of computer is configured through gpedit.msc snap-in, which does not provide the possibility to export/import settings. That...
Capture Windows 10 Image using MDT 2013 In this article we are going to show you how to capture Windows 10 image using Microsoft Deployment Toolkit 2013 (MDT 2013). Later you can use such im...
How to perform a RAM Check in Windows 10 RAM is the part of computer hardware, which is often the cause of many system problems. If your computer frequently hangs, blue screen of death (BSOD)...
  • Tonyonot

    First, a big thank you for creating this walkthrough. First, are we to run the Wsus Offline Updater on the computer we are updating, or on the computer containing MDT? I ask because is WOU getting all the updates possible, or only the updates the image requires? Second, the uncpath:\10.24.0.70DeploymentShareScriptsclient, is that the same everywhere, for everyone? I would think the IP address would be based on your network infrastructure, but from the directions, everyone is to use the same path. Lastly, what if this is an offline MDT installation, how do you configure your path statements? Thank you.

    • We are glad that you liked it! Here are the answers:

      1) You can run WSUS Offline Updater on any computer
      connected to the Internet. All security updates for the selected system will be downloaded;

      2) Change \10.24.0.70 to the Name/IP of your MDT server;

      3) To install updates in this way, your client must have
      network access to the MDT server.

  • disqus_rksMKkqYWD

    Microsoft Deployment Workbench
    Microsoft
    Version: 6.3.8443.1000

    Thanks for the detailed notes. I’ve run into a problem, however. The network share never connects. It appears that there are several mistakes in your documentation:

    DeploymentShare should be DeploymentShare$ (It’s a hidden Windows share, you won’t be able to attach without the dollar sign)

    There is no need to include DeploymentShareScriptsclient in the path for the second command. (Your mounting to this point, hence it shouldn’t be in the path.)

    After correcting these mistakes, unfortunately, it still does not work.

    That being said, your the second “helpful” guide that has gotten the details completely wrong.

    Has anyone actually gotten this to work?

    • Jonas Colin

      you right i also fix his mistake and still won’t work, the command wont run the file and there is no update.bat