Skip to Content

Solved: How to Fix DISM Error 14098 on Windows Server 2012 R2

  • The article explains how to fix the DISM error 14098, which indicates that the component store has been corrupted, on Windows Server 2012 R2.
  • The article provides two possible solutions for the error: running CHKDSK to fix disk errors, or running DISM with a different source of files to repair the component store.
  • The article also answers some frequently asked questions about the error, such as how to check the SMB version, how to create a Windows installation media or a network share, and how to view the DISM log file.

If you are running Windows Server 2012 R2 and encounter the DISM error 14098, which indicates that the component store has been corrupted, you may be wondering how to fix it without reinstalling the operating system. In this article, we will explain what causes this error and how to resolve it using some simple methods.

What Causes DISM Error 14098?

DISM stands for Deployment Image Servicing and Management, which is a command-line tool that allows you to service and repair Windows images, including the Windows Recovery Environment, Windows Setup, and Windows PE. You can use the DISM tool to perform various tasks, such as scanning and restoring the health of the system image, adding or removing features or drivers, or mounting and unmounting images.

Solved: How to Fix DISM Error 14098 on Windows Server 2012 R2

However, sometimes the DISM tool may fail to run properly and display the error 14098, which means that the component store has been corrupted. The component store is a collection of files and metadata that are required to install, uninstall, and update features and roles on Windows. If the component store is corrupted, you may experience various problems, such as:

  • Windows Update errors or failures
  • Missing or damaged system files
  • Inability to install or remove features or roles
  • Poor system performance or stability

There are several possible reasons why the component store may get corrupted, such as:

  • Malware infection or virus attack
  • Power outage or improper shutdown
  • Disk errors or bad sectors
  • Faulty hardware or drivers
  • Incompatible software or updates

How to Fix DISM Error 14098?

Fortunately, there are some ways to fix the DISM error 14098 and repair the component store without reinstalling Windows. Here are some methods that you can try:

Solution 1: Run CHKDSK

CHKDSK is a built-in tool that can check and fix disk errors on your computer. Sometimes, disk errors can cause corruption in the component store and prevent the DISM tool from working properly. To run CHKDSK, follow these steps:

  1. Open Command Prompt as an administrator.
  2. Type chkdsk c: /f /r and press Enter. Replace c: with the drive letter of your system partition.
  3. You may be asked to schedule the scan on the next restart. Type Y and press Enter.
  4. Restart your computer and wait for the scan to complete.

After running CHKDSK, try to run the DISM tool again and see if the error 14098 is resolved.

Solution 2: Run SFC

SFC stands for System File Checker, which is another built-in tool that can scan and repair corrupted or missing system files on your computer. Sometimes, system file corruption can also affect the component store and cause the DISM error 14098. To run SFC, follow these steps:

  1. Open Command Prompt as an administrator.
  2. Type sfc /scannow and press Enter.
  3. Wait for the scan to complete and fix any issues found.

After running SFC, try to run the DISM tool again and see if the error 14098 is resolved.

Solution 3: Run DISM with a Different Source

If the previous methods did not work, you may need to run the DISM tool with a different source of files to repair the component store. By default, the DISM tool uses Windows Update as the source of files when performing a restore health operation. However, if Windows Update is not working properly or does not have the latest files available, you may need to use another source, such as a Windows installation media or a network share.

To run DISM with a different source, follow these steps:

  1. Insert a Windows installation media (such as a DVD or USB) that matches your current version and edition of Windows Server 2012 R2. Alternatively, you can use a network share that contains a copy of the Windows installation files.
  2. Open Command Prompt as an administrator.
  3. Type dism /online /cleanup-image /restorehealth /source:wim:X:\sources\install.wim:1 /limitaccess and press Enter. Replace X: with the drive letter of your installation media or network share.
  4. Wait for the operation to complete and fix any issues found.

After running DISM with a different source, try to run the DISM tool again without specifying a source and see if the error 14098 is resolved.

Frequently Asked Questions (FAQs)

Here are some frequently asked questions about DISM error 14098:

Question: How do I check which version and edition of Windows Server 2012 R2 I have?

Answer: To check which version and edition of Windows Server 2012 R2 you have, you can use one of these methods:

  1. Open Server Manager and click on Local Server. You will see your OS name and version under Properties.
  2. Open Command Prompt and type winver and press Enter. You will see a window that shows your OS name and version.
  3. Open PowerShell and type Get-WmiObject -Class Win32_OperatingSystem | Select-Object -Property Caption, Version and press Enter. You will see your OS name and version in the output.

Question: How do I create a Windows installation media or a network share?

Answer: To create a Windows installation media, you can use the Windows USB/DVD Download Tool or the Media Creation Tool from Microsoft. To create a network share, you can use the File Sharing Wizard or the Advanced Sharing Settings in Windows.

Question: How do I view the DISM log file?

Answer: The DISM log file is located at C:\Windows\Logs\DISM\dism.log. You can open it with any text editor, such as Notepad or WordPad. The log file contains detailed information about the DISM operations and errors.

Disclaimer: This article is for informational purposes only and does not constitute professional or legal advice. The information provided here is based on our own research and experience and may not be applicable to your specific situation. We do not guarantee the accuracy, completeness, or usefulness of this information. You should always consult a qualified professional before making any decisions or taking any actions based on this information. We are not liable for any damages or losses that may result from your use of this information.