Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » How to update Microsoft Defender Antivirus into the install image of Windows (install.wim)

How to update Microsoft Defender Antivirus into the install image of Windows (install.wim)

Posted on 14/09/202115/09/2023 Christian By Christian No Comments on How to update Microsoft Defender Antivirus into the install image of Windows (install.wim)
Windows Defender update

Microsoft Defender Antivirus, formerly known as Windows Defender, is an antivirus protection program that’s included with Windows 10. Unlike other antivirus programs like McAfee, Microsoft Defender is free and doesn’t require any additional installation. Therefore, in this guide, I will be showing you how to update the Windows installation image (install.wim) file with the latest security intelligence package available. Please see WDS/DHCP scenarios: How to configure DHCP Server option 60, 66, and 67 for Windows Deployment Services, Uninstall WDS: How to remove Windows Deployment Services role via the GUI and PowerShell.

After the installation of Windows 10, the built-in version of Microsoft Defender Antivirus will download and apply any recent updates automatically. But this process does not happen immediately, thereby leaving the system temporarily vulnerable to attacks during this period.

I have successfully tested this on Windows 10 Enterprise, Pro und Home-Edition and Windows Server 2016 and 2019. Here is a detailed guide on “how to install ADK, MDT, and WDS: How to deploy Windows images via Microsoft Deployment Toolkit and Windows Deployment Services“.

Install WIM File

However, The install. wim file (Windows Image File) is a compressed file that contains a set of many files and associated file system metadata and is included in any Windows installation Media under the “sources” folder (sources\install.wim).

Also, see What are the differences between Capture image, Discover image, Install and Boot images (Windows PE). How to fix Action cannot be complete because the computer is open in Wimserv.

Boot WIM File

A boot image is an image we can use to boot a bare-metal system in order to begin the process of installing Windows onto the system.

Please see the following guides: Install Wim: How to Add Packages to Windows image the DISM Tool. How to add boot and install images to WDS and configure Multicast transmission via the GUI and WDSUTIL.

How to update Microsoft Defender on Windows 10 image

To update the Microsoft Defender Antivirus for system installation image. You will need to download the Microsoft Defender kit for the 64-bit version. If you are using 32-bits version of Windows 10. You can download this.

Install.wim modification

Upon download, please extract the as shown below. For more information on the differences between ADK, MDT, Microsoft Endpoint Configuration Manager (SCCM), Intune, Autopilot, and WSUS. No bootable media found system halted: Unable to PXE boot WDS to Virtualbox,

Microsoft Defender installation
Antivirus integration Windows

Next, create a temporary location, in my case, I will name it “Windefprocess”

Windows Defender update

Next, you will have to launch PowerShell, right-click the top result, and select Run administrator.

Install.wim modification

Type the following command to open the directory with the extracted files and press Enter

cd PATH\TO\DEFENDER-UPDATE-KIT
C:\Users\Christian\Documents\defender-update-kit-x64

Next, type the command to update the Microsoft Defender Antivirus inside a Windows 10 image and press Enter:

.\DefenderUpdateWinImage.ps1 -WorkingDirectory "DEFINED_TEMP-LOCATION" -Action AddUpdate -ImagePath "PATH\TO\INSTALL.WIM" -Package "PATH\TO\DEFENDER\CAB\UPDATE"
.\DefenderUpdateWinImage.ps1 -WorkingDirectory "C:\Users\Christian\Documents\Windefprocess" -Action AddUpdate -ImagePath "C:\Users\Christian\Documents\Image\install.wim" -Package "C:\Users\Christian\Documents\defender-update-kit-x64\defender-dism-x64.cab
Screenshot-2021-10-18-at-22.28.31
Screenshot-2021-10-18-at-22.28.49
Screenshot-2021-10-18-at-22.41.38

Furthermore, As you can see below, the update has been successfully applied. Now, the PowerShell script will update the Windows 10 image with the most recent platform, engine, and signature version of Microsoft Defender Antivirus as shown below.

Here are some exciting guides: How to remove Microsoft Defender update on Windows 10 and Windows Server image, MDT accidental OS deletion: Mistakenly deleted your Operating Systems over Microsoft Deployment Toolkit, and how to fix “Error 0xc1420127: The specified image in the specified wim is already mounted for read and write access“

Screenshot-2021-10-18-at-22.45.55

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:AntiMalware, AntiVirus, Microsoft Deployment Toolkit (MDT), Microsoft Windows, WDS, Windows 10, Windows Defender, Windows Server 2016

Post navigation

Previous Post: Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines
Next Post: A Brief Introduction to Linux and How to Create Disk Partition in Ubuntu Linux

Related Posts

  • VMware workstation networking issues
    Network cable Unplugged: Fix VMware “Warning – Multiple default gateways are intended to provide redundancy to a single network Virtualization
  • Featured image Microsoft diagnostic feedback disabled
    Prevent your PC from sending Diagnostics Feedback off via Windows Settings and Group Policy Windows
  • Screenshot 2020 12 06 at 17.44.32
    Windows cannot connect to the printer: Operation Failed with error 0x000004f8 Windows
  • powershell auto run
    How to pause a PowerShell script Windows
  • screenshot 2020 03 13 at 20.24.17
    How to view installed packages in Cygwin on Windows Windows
  • maxresdefault
    Error 0x8007232B: Can’t activate Windows on this device as we can’t connect to your organization’s activation server Windows

More Related Articles

VMware workstation networking issues Network cable Unplugged: Fix VMware “Warning – Multiple default gateways are intended to provide redundancy to a single network Virtualization
Featured image Microsoft diagnostic feedback disabled Prevent your PC from sending Diagnostics Feedback off via Windows Settings and Group Policy Windows
Screenshot 2020 12 06 at 17.44.32 Windows cannot connect to the printer: Operation Failed with error 0x000004f8 Windows
powershell auto run How to pause a PowerShell script Windows
screenshot 2020 03 13 at 20.24.17 How to view installed packages in Cygwin on Windows Windows
maxresdefault Error 0x8007232B: Can’t activate Windows on this device as we can’t connect to your organization’s activation server Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • logon
    Configure logon hours for users in Active Directory Windows Server
  • LAPs on Windows Part of the OS
    How to configure Windows LAPS Windows
  • a Multiple SPF Records  Issues and Examples@2x
    How to setup SPF and TXT Records in AWS AWS/Azure/OpenShift
  • NTUSER Files in Windows
    What Is the NTUSER.DAT File in Windows? Windows
  • Screenshot 2020 11 17 at 02.06.58
    The PA Server Monitor review and product details Reviews
  • Screenshot 2020 08 28 at 12.51.10
    The service could not be started either because it is disabled or because it has no enabled devices associated with it Windows Server
  • Screenshot 2022 03 29 at 19.47.05
    CVE-2022-22948: Patch available to address vCenter Server information disclosure vulnerability  Security | Vulnerability Scans and Assessment
  • Update Wampserver
    How to update WampServer to Latest Version Web Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,817 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.