Dism Install Drivers Online

Posted on by admin

Using DISM with an install.ESD file. To use the install.esd to repair the Windows image in your computer use the following steps: Use the Windows key + X keyboard shortcut to open the Power User menu and select Command Prompt (Admin). How can I install an INF driver to WinPE 3.0 when it is mounted with DISM? Once WinPE 3.0 is running, how can I install drivers, using their INF, to an offline system? The offline system can be Wi.

Windows 10 ships with the Deployment Image Servicing and Management (DISM) command tool, which has been designed to allow administrators prepare, modify, and repair Windows images, including the Windows Recovery Environment, Windows Setup, and Windows PE. However, you can also use the command-line tool to fix problems with the recovery image included with every installation of the OS.

Usually, when your device is experiencing performance issues, doesn't start correctly, or you're dealing with unexpected errors, you can use the System File Checker command tool to scan, detect, and replace any corrupted or missing system files using the recovery image.

The problem is that if SFC can't fix the issue, it's likely because it can't retrieve the replacement files from the Windows 10 image as a result of corruption or other errors. In this particular case, you can use DISM to scan and repair the install.wim image, which you can use with SFC to repair your actual installation.

In this Windows 10 guide, we'll walk you through the steps to use the DISM command tool with Command Prompt to bring your device back to a healthy system state.

Warning: Although these are non-destructive command-line tools, you'll be making system changes. As a result, it's recommended to create a temporary full backup before proceeding.

How to run DISM to repair an image of Windows 10

Using the Deployment Image Servicing and Management command tool you get three main options to repair an image of Windows 10, including CheckHealth, ScanHealth, and RestoreHealth, and you want to run them in that hierarchy. Also, depending on the severity of the issue, there are additional settings to run RestoreHealth option to repair an image using different sources.

Checking issues with DISM using CheckHealth option

You can use the CheckHealth option with DISM to quickly determine if there are any corruptions in the local image. However, this option won't perform any repairs.

To check for issues with DISM, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command and press Enter:

    DISM /Online /Cleanup-Image /CheckHealth

Once you complete the steps, the command will run and will quickly verify if any corruptions need fixing.

Checking issues with DISM using ScanHealth option

Alternatively, you can also run DISM with the ScanHealth option to perform and more advanced scan to find out if the Windows 10 image has any corruptions.

To perform an advanced scan with DISM, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command and press Enter:

    DISM /Online /Cleanup-Image /ScanHealth

After you complete the steps, the advanced scan will start, and it could take several minutes to determine if the local image has any problems.

Repairing issues with DISM using RestoreHealth option

If there are issues, then you can use DISM with the RestoreHealth option, which will run an advanced scan and repair any problems automatically.

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth

    Quick note: While the command is running is normal to see the process stuck at 20 or 40 percent, after a few minutes, the process will complete successfully.

Once you complete the steps, the Deployment Image Servicing and Management command tool will connect to the Windows Update servers to download and replace any damaged files in the local image for Windows 10.

Repairing issues with DISM using WIM image

Usually, you won't experience problems using DISM, but if there are issues with Windows Update, you'll have to use a different source to repair the files using another image with the Source option.

Before you can specify a different source, you'll need an install.wim or install.esd file from another computer, bootable installation media, or Windows 10 ISO file. It's also crucial that the source of the known good files matches the same version, edition, and language of the OS that you're using.

Download Windows 10 ISO file

The best way to get access to a good image is to use the Media Creation Tool to download an ISO image of Windows 10.

Dism Install Drivers Online

To download the Windows 10 ISO file, use these steps:

  1. Open this Microsoft support website.
  2. Click the Download tool now button.
  3. Double-click the MediaCreationTool1xxxx.exe file to launch the app.
  4. Click the Accept button to agree to the terms.
  5. Select the Create installation media (USB flash drive, DVD, or ISO file) for another PC option.

  6. Click the Next button.
  7. Click the Next button again.

  8. Select the ISO file option.

  9. Click the Next button.
  10. Select the destination for the ISO file.
  11. Click the Save button.
  12. Click the file location link to open File Explorer.

  13. Click the Finish button.
  14. Double-click the Windows.iso file to mount the image.
  15. In File Explorer, note the drive letter for the mounted image.

After you complete the steps, you can use DISM with the Source option to repair the local image of Windows 10.

Fix Windows 10 recovery image

To run DISM specifying a source (install.wim) image, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:F:sourcesinstall.wim

    In the command, make sure to change 'F,' for the letter that corresponds to your mount point.

  4. Or type the following command to limit the use of Windows Update and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:Esourcesinstall.wim /LimitAccess

  5. Or type the following variant of the previous command to accomplish the same task and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:F:sourcesinstall.wim:1 /LimitAccess

Once you complete the steps, the command will scan and repair any issues using the install.wim image that you specified.

Repairing issues with DISM using ESD image

Alternatively, if you have an encrypted install.esd image from a recent upgrade to the latest version of Windows 10, you can use to repair the damaged files.

To run DISM specifying a source (install.esd) image, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:C:$Windows.~BTSourcesInstall.esd

    In the command, make sure to change 'C:$Windows.~BTSources,' for the path that corresponds to the location of the install.esd file (if applicable).

  4. Or type the following command to limit the use of Windows Update and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:C:$Windows.~BTSourcesInstall.esd /LimitAccess

  5. Or type the following variant of the previous command to accomplish the same task and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:C:$Windows.~BTSourcesInstall.esd:1 /LimitAccess

  6. Or type the following command to use an install.esd file located in another drive and press Enter:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:D:SourcesInstall.esd

    In the command, make sure to change 'D:Sources,' for the path that corresponds to the location of the install.esd file.

After you complete the steps, the Deployment Image Servicing and Management command tool will run and repair the damaged files using the files included in the install.esd image. Once the process completes, the log files will be saved on %windir%/Logs/CBS/CBS.log and %windir%LogsDISMdism.log capturing any issues found and fixed.

How to run SFC to repair installation problems on Windows 10

The above instructions outline the steps to repair any issues inside the image that's part of the installation, but they don't fix any problems with the actual Windows 10 installation. However, now that you have a good image, you can use the System File Checker to repair common issues preventing Windows 10 from running smoothly.

To use the SFC command tool to repair the Windows 10 installation, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command and press Enter:

    SFC /scannow

    Quick tip: If errors were found, you may want to run the command about three times to make sure that everything is fixed correctly.

Once you complete the steps, the System File Checker will scan your device and repair any system files using the good files from the local image to restore the health of Windows 10.

Although the above command should be enough to fix an installation, there are a lot of SFC commands that you can use to repair an installation of Windows 10.

We're focusing this guide on Windows 10, but you can also use DISM to service images on Windows 8.1 and Windows 7, but the options available will vary depending on the OS.

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

Mauro recommends all these affordable accessories

Hi, I'm Mauro Huculak, Windows Central's help and how-to guru. I wrote the post you're reading now, and I know the Windows OS inside and out. But I'm also a bit of a hardware geek. These are some of the affordable gadgets on my desk today.

Logitech MX Master Wireless Mouse($72 at Amazon)

I know mice, and this is the one I use every day. The MX Master is a wireless high-precision mouse that's very comfortable to use and has many great features, including the ability to connect with multiple devices, an infinite scroll wheel, back and forward buttons, all of which you can customize.

Ktrio Extended Gaming Mouse Pad($12 at Amazon)

If you spend a lot of time typing, your palms and mouse will leave tracks on your desk. My solution was to start using gaming mouse pads, which are big enough for you to use the keyboard and the mouse comfortably. This is the one I use and recommend.

Supernight LED light strip($20 at Amazon)

You could just use a regular light bulb in your office, but if you want to add some ambient lighting with different colors, an RGB LED strip is the way to go. This one is Mauro-approved.

We may earn a commission for purchases using our links. Learn more.

Windows updates are released as packages with the MSU or CAB extensions. If Windows Update service is not working (or specifically disabled), you can manually download and install the necessary cumulative or security updates for your system. In this article we’ll show how to download and offline install updates in the MSU or CAB file formats in Windows 10.

How to Manually Download the MSU Windows Update File

Initially, Microsoft released security updates and patches in the CAB (Windows cabinet) file format. This is how your computer receives updates from Microsoft update servers or a local WSUS server. To make manual distribution of separate updates using Microsoft Update Catalog more convenient, these CAB files are packed in a special MSU format (Microsoft Update Standalone Installer Package).

You can download MSU Windows updates files (sometimes also CAB files) or files for other Microsoft products from Microsoft Update Catalog (https://www.catalog.update.microsoft.com/). Go to Microsoft Update Catalog, find and download the update you need. For example, I want to install an Adobe Flash Player security update for Windows 10 x64 1507 – KB4056887. Click Download.

Those paramters shouldn't be able to be set if the schema isn't up to date, but also, the NFS server should be seing them if they're there. C map nt selector download skype. I'm wondering if your DCs might not be syncing properly for some reason. That is a bit strange.

Move the file windows10.0-kb4056887-x64_fca8a311f0495e669715ae5aa0e0d8720f945049.msu you have downloaded to the C:temp folder. Rename it, to get a shorter name: windows10.0-kb4056887-x64.msu

Installing MSU Update File in Windows

To start the installation of a Windows update package, just double-click the MSU file you have downloaded. If the update is applicable to this computer, a Windows Update Standalone Installer window will open, where you will be prompted to confirm the update installation.

You can also install an MSU update package using wusa.exe in the command prompt.

To install the update in a silent mode (a user won’t see any pop-up windows) with a later restart, open the command prompt as administrator and run the following command:

wusa.exe c:Tempwindows10.0-kb4056887-x64.msu /quiet /norestart

Tip. Using wusa, you can also remove an update if necessary.

In some time make sure that the update has been installed successfully by running this command:

wmic qfe list findstr 4056887

Or in the Setup event log, find an entry with the Event ID 2 from the source WUSA and the following message:

Windows update “Security Update for Windows (KB4056887)” was successfully installed. (Command line: “wusa.exe c:Tempwindows10.0-kb4056887-x64.msu /quiet /norestart”)

Please note that the installation of updates in MSU format in Windows via wusa.exe is slower than when installing the same update as CAB file. The reason is the execution of additional processing with scanning on WU / WSUS servers. See the article Slow MSU update installation.

How to Extract a CAB File from an MSU Update Package

In some cases when Windows Update that is used by wusa works incorrectly (try to reset Windows Update agent settings first), you can’t install an update in the MSU format. In this case you can unpack MSU package manually, extract a CAB file from it and install it manually in your system.

To unpack an MSU package to C:Tempkb4056887 (you have to create this folder in advance), run this command:

expand _f:* “C:Tempwindows10.0-kb4056887-x64.msu” C:Tempkb4056887

Microsoft (R) File Expansion Utility Version 10.0.10011.16384
Copyright (c) Microsoft Corporation. All rights reserved.
Adding C:Tmpkb4056887WSUSSCAN.cab to Extraction Queue
Adding C:Tmpkb4056887Windows10.0-KB4056887-x64.cab to Extraction Queue
Adding C:Tmpkb4056887Windows10.0-KB4056887-x64-pkgProperties.txt to Extraction Queue
Adding C:Tmpkb4056887Windows10.0-KB4056887-x64.xml to Extraction Queue
Expanding Files ….
Expanding Files Complete …
4 files total.

As you can see, 4 file types have appeared in the folder:

  • An .xml file (Windows10.0-KB4056887-x64.xml) that contains MSU package metadata and used by wusa.exe;
  • A .cab file (Windows10.0-KB4056887-x64.cab — one or more) is an archive with Windows update;
  • *pkgProperties.txt file (Windows10.0-KB4056887-x64-pkgProperties.txt) that contains package properties (release date, architecture, package type, a link to the KB, etc.).

Installing a CAB Update File in Windows 10

You can install a CAB update file obtained from an MSU package in two ways.

Install

The most common way to install an update from a CAB file is using DISM.exe. The installation command can look like this:

DISM.exe /Online /Add-Package /PackagePath:c:Tempkb4056887Windows10.0-KB4056887-x64.cab

Deployment Image Servicing and Management tool
Version: 10.0.10240.16384
Image Version: 10.0.10240.16384
Processing 1 of 1 — Adding package Package_for_KB4056887~31bf3856ad364e35~amd64~~10.0.1.0
[100.0%]
The operation completed successfully.

Note. Please note that the installation of a package using DISM goes faster compared to the installation of the update from an MSU file using wusa.exe.

If you have to install a CAB package in a silent mode with a later restart, use the following DISM command:

start /wait DISM.exe /Online /Add-Package /PackagePath: c:Tempkb4056887Windows10.0-KB4056887-x64.cab /Quiet /NoRestart

In Windows 8 and Windows 7, you can install an update using Pkgmgr. The command is:

start /w Pkgmgr /ip /m:c:'c:Tempkb4056887Windows10.0-KB4056887-x64.cab'

Note. The PkgMgr.exe package manager is no longer supported in Windows 10 / Windows Server 2016. When you run it, you receive a warning that you need to use DISM.exe to manage the packages.

Note: The PkgMgr.exe has been deprecated. Please update your scripts to use dism.exe to extract, install, uninstall, configure and update features and packages for Windows.


Note. Please note that Windows language packs (MUI) are also distributed in CAB format. However, you won’t be able to use a DISM command to install them. You will have to use a separate tool, lpksetup.exe, to install new languages in your system instead.

This guide on manual installation of cumulative or any other Windows updates is applicable to all supported Windows OS versions: Windows 10 / 8.1 / 7 and Windows Server 2016 / 2012 / R2 / 2008 / R2.

Disks and Partitions Management with Windows PowerShell

August 6, 2019

Updating List of Trusted Root Certificates in Windows..

August 2, 2019

SSL Error: This Site Can’t Provide a Secure..

July 28, 2019

Remote Desktop Cannot Verify the Identity of Remote..

July 15, 2019

Fix: RDP Authentication Error Has Occurred – The..

July 12, 2019