Repair Windows server 2016 Install

We recently had problems with a development server not installing Windows Updates. The fix was to repair the installation using the Deployment Image Servicing and Management (DISM) tool.

All commands should be run from an elevated command prompt.

  1. Run dism /online /cleanup-image /scanhealth
  2. Run dism /online /cleanup-image /checkhealth
  3. Run dism /online /cleanup-image /restorehealth
  4. Mount the Windows Server 2016 ISO as a drive (E: in this case)
  5. Run dism /online /cleanup-image /restorehealth
    /source:WIM:E:\sources\install.wim:1 /limitaccess
  6. Run sfc /scannow
  7. Run Windows Update
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s