{"id":29438,"date":"2022-10-23T19:34:25","date_gmt":"2022-10-23T14:04:25","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=29438"},"modified":"2022-10-23T19:41:11","modified_gmt":"2022-10-23T14:11:11","slug":"dism-error-2-start-servicing-process","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/dism-error-2-start-servicing-process\/","title":{"rendered":"DISM Error 2 While Attempting to Start the Servicing Process"},"content":{"rendered":"<p>When you run the DISM utility in Windows to clean up the <a href=\"https:\/\/www.winhelponline.com\/blog\/disk-cleanup-3-99-tb-bug-windows-update-cleanup\/\">component store<\/a> or <a href=\"https:\/\/www.winhelponline.com\/blog\/repair-windows-10-using-dism-sfc\/\">repair Windows<\/a> system files, error <code>2<\/code> (<code>0x80070002<\/code> &#8211; <code>ERROR_FILE_NOT_FOUND<\/code>) may appear:<!--more--><\/p>\n<pre class=\"err\">Deployment Image Servicing and Management tool\r\nVersion: 10.0.22621.1\r\n\r\nError: 2\r\n\r\nAn error occurred while attempting to start the servicing process for the image located at C:\\.\r\nFor more information, review the log file.\r\n\r\nThe DISM log file can be found at C:\\WINDOWS\\Logs\\DISM\\dism.log<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29442\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/10\/dism-error-2.png\" alt=\"80070002 dism error 2\" width=\"674\" height=\"318\" \/><\/p>\n<p>For example, you may get the above error when running the following command:<\/p>\n<pre>Dism \/Online \/Cleanup-Image \/RestoreHealth<\/pre>\n<p>As the DISM tool is inoperable, you may be unable to install any Feature Update on your computer. For example, the Windows 11 22H2 Feature update setup may throw the error 0x80070002. The error message reads:<\/p>\n<pre class=\"err\">We couldn't install this update, but you can try again (0x80070002).<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29439\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/10\/feature-update-error-80070002.png\" alt=\"\" width=\"1280\" height=\"282\" srcset=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/10\/feature-update-error-80070002.png 1280w, https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/10\/feature-update-error-80070002-768x169.png 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<p><strong>Dism.log<\/strong><\/p>\n<p>The DISM.log file may show these entries:<\/p>\n<pre>Info                  DISM   DISM.EXE: &lt;----- Starting Dism.exe session -----&gt;\r\nInfo                  DISM   DISM.EXE: \r\nInfo                  DISM   DISM.EXE: Host machine information: OS Version=10.0.22621, Running architecture=amd64, Number of processors=4\r\nInfo                  DISM   DISM.EXE: Dism.exe version: 10.0.22621.1\r\nInfo                  DISM   DISM.EXE: Executing command line: Dism  \/Online \/Cleanup-Image \/RestoreHealth \r\nInfo                  DISM   DISM Manager: PID=13076 TID=12028 physical location path: C:\\ - CDISMManager::CreateImageSession\r\nInfo                  DISM   DISM Manager: PID=13076 TID=12028 Event name for current DISM session is Global\\{2483B0E8-E9E7-45CC-9373-EF4A63CE3DFE} - CDISMManager::CheckSessionAndLock\r\nInfo                  DISM   DISM Manager: PID=13076 TID=12028 Create session event 0x21c for current DISM session and event name is Global\\{2483B0E8-E9E7-45CC-9373-EF4A63CE3DFE}  - CDISMManager::CheckSessionAndLock\r\nInfo                  DISM   DISM Manager: PID=13076 TID=12028 Copying DISM from \"C:\\WINDOWS\\System32\\Dism\" - CDISMManager::CreateImageSessionFromLocation\r\nInfo                  DISM   DISM Manager: PID=13076 TID=12028 No Sandbox was created, DISM running in-place. - CDISMManager::CreateImageSessionFromLocation\r\nError                 DISM   <strong>DismHostLib: Failed to create dismhost.exe servicing process<\/strong>.\r\nError                 DISM   DISM Manager: PID=13076 TID=12028 Failed to create Dism Image Session in host. - CDISMManager::LoadRemoteImageSession(hr:<strong>0x80070002<\/strong>)\r\nWarning               DISM   DISM Manager: PID=13076 TID=12028 A problem ocurred loading the image session. Retrying...  - CDISMManager::CreateImageSession(hr:0x80070002)\r\nInfo                  DISM   DISM Manager: PID=13076 TID=12028 Copying DISM from \"C:\\WINDOWS\\System32\\Dism\" - CDISMManager::CreateImageSessionFromLocation\r\nInfo                  DISM   DISM Manager: PID=13076 TID=12028 No Sandbox was created, DISM running in-place. - CDISMManager::CreateImageSessionFromLocation\r\nError                 DISM   DismHostLib: Failed to create dismhost.exe servicing process.\r\nError                 DISM   DISM Manager: PID=13076 TID=12028 Failed to create Dism Image Session in host. - CDISMManager::LoadRemoteImageSession(hr:0x80070002)\r\nError                 DISM   DISM Manager: PID=13076 TID=12028 Failed to load the image session from location: C:\\WINDOWS\\System32\\Dism - CDISMManager::CreateImageSession(hr:0x80070002)\r\nError                 DISM   DISM.EXE: Could not load the image session. HRESULT=80070002\r\nError                 DISM   DISM.EXE: Unable to start the servicing process for the image at 'C:\\'. HRESULT=80070002\r\nInfo                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.\r\nInfo                  DISM   DISM.EXE: \r\nInfo                  DISM   DISM.EXE: &lt;----- Ending Dism.exe session -----&gt;<\/pre>\n<p><strong>SetupDiagResults.log:<\/strong><\/p>\n<p>The SetupDiag tool may show the following entry after the Feature Update fails:<\/p>\n<pre>Error: SetupDiag reports DISM Image Session failure.\r\nLast Phase: Pre-Finalize \r\nLast Operation: Add [1] package C:\\$WINDOWS.~BT\\DUImageSandbox\\SSU-22621.378-x64.cab to C:\\$WINDOWS.~BT\\Sources\\SafeOS\\SafeOS.Mount\r\nMessage = Failed to create Dism Image Session in host.\r\nFunction: CDISMManager::LoadRemoteImageSession\r\nError: 0x80070002\r\nRecommend you re-download the update source files, reboot and try the update again.<\/pre>\n<p>Error 2 (<code>0x80070002<\/code>) means &#8220;The system cannot find the file specified.&#8221;<\/p>\n<h2>Cause<\/h2>\n<p>The DISM error 2 occurs if the dismhost.exe is blocked from running by setting a Debugger in the &#8220;Image File Execution Options&#8221; (IFEO) registry key. The debugger value prevents DismHost.exe and TiWorker.exe from starting.<\/p>\n<h2>Solution<\/h2>\n<p>To fix DISM Error 2, follow these steps:<\/p>\n<ol>\n<li>Launch <code>regedit.exe<\/code><\/li>\n<li>Go to the following branch:\n<pre>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Image File Execution Options\\dismhost.exe<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29440\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/10\/dismhost-debugger.png\" alt=\"dismhost.exe debugger *\" width=\"660\" height=\"192\" \/><\/li>\n<li>Right-click dismhost.exe and choose Delete.<\/li>\n<li>Exit the Registry Editor.<\/li>\n<\/ol>\n<h3>Additional Information<\/h3>\n<p>This IFEO entry for <code>dismhost.exe<\/code> was probably set by Malware. Or, if you&#8217;ve used tools such as &#8220;StopUpdates10&#8221; in the past to block Windows Update, the following IFEO \u2192 Debugger\u00a0entry is added.<\/p>\n<pre>[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Image File Execution Options\\dismHost.exe] \r\n\"Debugger\"=\"*\"<\/pre>\n<p>The wildcard (*) causes DISM to look for dismhost.exe on non-existent locations on your hard drive. It then generates the &#8220;Error 2: The system cannot find the file specified.&#8221; error.<\/p>\n<p><em>I hope that helped. Let&#8217;s know your comments.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you run the DISM utility in Windows to clean up the component store or repair Windows system files, error 2 (0x80070002 &#8211; ERROR_FILE_NOT_FOUND) may appear:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,869],"tags":[160,191,441],"class_list":["post-29438","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-dism","tag-error-messages","tag-registry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":5957,"url":"https:\/\/www.winhelponline.com\/blog\/fix-dism-error-50-minint-windows-pe-servicing\/","url_meta":{"origin":29438,"position":0},"title":"DISM Error 50 or Error 87 &#8220;DISM does not support servicing Windows PE&#8221;","author":"Ramesh","date":"November 22, 2017","format":false,"excerpt":"When you run the DISM tool (with the \/online switch) to scan or restore the health of the operating system components, the tool may throw up Error 50. Here is the full error message verbatim: Deployment Image Servicing and Management tool Version: 10.0.19041.844 Error: 50 DISM does not support servicing\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"dism error 87 minint registry key","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/dism-error-87-minint-registry.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/dism-error-87-minint-registry.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/dism-error-87-minint-registry.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":31441,"url":"https:\/\/www.winhelponline.com\/blog\/error-0x800703e6-998-dism-windows-update\/","url_meta":{"origin":29438,"position":1},"title":"Errors 0x800703e6 (998) in DISM and Windows Update","author":"Ramesh","date":"January 2, 2023","format":false,"excerpt":"Symptoms Installing Windows Updates results in the error 0x800703e6 on a Windows 10 or 11 computer. The user is unable to install new updates or uninstall a previously installed update. Attempting to repair (in-place upgrade) the Windows installation using the Media Creation tool or the Update Assistant tool may fail\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"cbscore.dll corrupt - file information","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/cbscore-dll-corrupted.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":80286,"url":"https:\/\/www.winhelponline.com\/blog\/dism-error-1726-component-store-cleanup\/","url_meta":{"origin":29438,"position":2},"title":"DISM Error 1726 during Component Store Cleanup","author":"Ramesh","date":"February 20, 2026","format":false,"excerpt":"When you attempt to clean up the component store using the following DISM command on a Windows 11 24H2 or 25H2 system, the error code 1726 may occur. DISM \/Online \/Cleanup-Image \/StartComponentCleanup Deployment Image Servicing and Management tool Version: 10.0.26100.5074 Image Version: 10.0.26200.7462 [== 5.8% ] Error: 1726 The remote\u2026","rel":"","context":"In &quot;Windows 11&quot;","block_context":{"text":"Windows 11","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-11\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":32018,"url":"https:\/\/www.winhelponline.com\/blog\/dism-error-1392-file-corrupted-unreadable\/","url_meta":{"origin":29438,"position":3},"title":"DISM Error 1392 &#8211; File or directory is corrupted","author":"Ramesh","date":"January 17, 2023","format":false,"excerpt":"When you run a DISM command to scan or repair the component store, the error code 1392 appears, and DISM quits. The full error message is mentioned below. Deployment Image Servicing and Management tool [== 3.8% ] Error: 1392 The file or directory is corrupted and unreadable. The DISM log\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"run chkdsk on system drive","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/run-chkdsk-c-drive.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/run-chkdsk-c-drive.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/run-chkdsk-c-drive.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":62563,"url":"https:\/\/www.winhelponline.com\/blog\/media-feature-pack-error-0x80070490\/","url_meta":{"origin":29438,"position":4},"title":"How to Fix Media Feature Pack Error 0x80070490","author":"Ramesh","date":"September 30, 2023","format":false,"excerpt":"When you use Optional Windows Features to install the Media Feature Pack Feature-on-demand component on Windows N or the KN Edition, the error 0x80070490 may appear. The error 0x80070490 denotes \"Element not found\" which indicates a problem in the COMPONENTS registry hive or missing files in the components store. When\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"media features pack FOD error 0x8070490","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/mediafeatures-error-490.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/mediafeatures-error-490.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/mediafeatures-error-490.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5456,"url":"https:\/\/www.winhelponline.com\/blog\/repair-windows-10-using-dism-sfc\/","url_meta":{"origin":29438,"position":5},"title":"How to Repair Windows 10\/11 System Files Using DISM and SFC","author":"Ramesh","date":"October 10, 2017","format":false,"excerpt":"If the system files in your Windows 10\/11 computer become corrupt and the System File Checker (SFC \/scannow) is unable to reinstate the critical system files, it's due to corruption of the Component Store located in the C:\\Windows\\WinSxS directory. This directory contains the files needed for the SFC utility to\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"dism checkhealth scanhealth repair","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/dism-checkhealth-corrupt-registry.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/dism-checkhealth-corrupt-registry.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/dism-checkhealth-corrupt-registry.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/10\/dism-checkhealth-corrupt-registry.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/29438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=29438"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/29438\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=29438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=29438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=29438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}