{"id":76008,"date":"2024-07-18T17:12:54","date_gmt":"2024-07-18T11:42:54","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=76008"},"modified":"2026-03-09T12:16:31","modified_gmt":"2026-03-09T06:46:31","slug":"reagentc-exe-operation-failed-3","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/reagentc-exe-operation-failed-3\/","title":{"rendered":"REAGENTC.EXE: Operation failed: 3"},"content":{"rendered":"<p>When you attempt to enable Windows RE by running the <code><strong>reagentc \/enable<\/strong><\/code> command, the following error may be shown:<\/p>\n<pre class=\"err\">REAGENTC.EXE: Operation failed: 3\n\nREAGENTC.EXE: An error has occurred.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76012\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/reagentc-error-3.png\" alt=\"reagent error 3 - list disk - diskpart\" width=\"751\" height=\"220\" \/><\/p>\n<p>When you attempt to create a <a href=\"https:\/\/www.winhelponline.com\/blog\/we-cant-create-a-recovery-drive-on-this-pc-error-windows-10\/\">USB recovery drive<\/a>, the following error occurs:<\/p>\n<pre class=\"err\">We can't create a recovery drive on this PC\n\nSome required files are missing. To troubleshoot problems when your PC can't start, use your Windows installation disc or media.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76017\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/cant-create-recovery-drive.png\" alt=\"reagent error 3 - cannot create recovery drive\" width=\"651\" height=\"272\" \/><\/p>\n<p>The <code>C:\\Windows\\Logs\\Reagent\\ReAgent.log<\/code> may record the following entries:<\/p>\n<pre>Info          [ReAgentc.exe] ------------------------------------------------------\nInfo          [ReAgentc.exe] -----Executing command line: reagentc  \/info-----\nInfo          [ReAgentc.exe] ------------------------------------------------------\nInfo          [ReAgentc.exe] Enter WinReGetConfig\nInfo          [ReAgentc.exe] Parameters: configWinDir: NULL\nInfo          [ReAgentc.exe] WinRE config file path: C:\\Windows\\system32\\Recovery\\ReAgent.xml\nInfo          [ReAgentc.exe] Update enhanced config info is enabled.\nWarning       [ReAgentc.exe] winreConvertDirNameToOffset failed to get volume name (0x1126) in file base\\diagnosis\\srt\\reagent2\\reinfo\\shared.cpp line 1821\nError         [ReAgentc.exe] winreConvertDirNameToOffset failed: 0x3\nWarning       [ReAgentc.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo winreConvertDirNameToOffset (\\\\?\\GLOBALROOT\\Device\\HarddiskVolume5\\Recovery\\WindowsRE) returned 0X3 \nWarning       [ReAgentc.exe] ReAgentConfig::ParseConfigFile WinRE disabled (read bcd and update config info returned with 0x3) \nWarning       [ReAgentc.exe] ReAgentConfig::Init failed to init reagent xml parser (0x3) in file base\\diagnosis\\srt\\reagent2\\reinfo\\parser_2.0.cpp line 1921\nWarning       [ReAgentc.exe] WinReGetConfigInternal failed to init agent config (0x3) in file base\\diagnosis\\srt\\reagent2\\reinfo\\shared.cpp line 155\nWarning       [ReAgentc.exe] winre get config failed with error code 0x3\nInfo          [ReAgentc.exe] Exit WinReGetConfig return value: 0, last error: 0x3\nError         [ReAgentc.exe] failed to get winre config: 0x3\nInfo          [ReAgentc.exe] ------------------------------------------------------\nInfo          [ReAgentc.exe] -----Exiting command line: reagentc  \/info, Error: 3-----\nInfo          [ReAgentc.exe] ------------------------------------------------------\n<\/pre>\n<p>Disk Management shows that the recovery partition is intact. It&#8217;s located on Disk 0 and Partition 5 in this example.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76010\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/diskmgmt-reagentc-error-3.png\" alt=\"diskmgmt reagent error 3\" width=\"752\" height=\"500\" \/><\/p>\n<p>And diskpart&#8217;s <code><strong>list part<\/strong><\/code> command tells the same thing.<\/p>\n<pre>DISKPART&gt; list part\n\n  Partition ###  Type              Size     Offset\n  -------------  ----------------  -------  -------\n  Partition 1    System             100 MB  1024 KB\n  Partition 2    Primary            199 GB   101 MB\n  Partition 3    Reserved            16 MB   200 GB\n  Partition 4    Primary            276 GB   200 GB\n  Partition 5    Recovery           749 MB   476 GB\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76011\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/winre-partition-id-1.png\" alt=\"reagent error 3 - list disk - diskpart\" width=\"750\" height=\"383\" \/><\/p>\n<p>The <strong>bcdedit \/enum osloader<\/strong> command may show the correct path to WinRE.<\/p>\n<pre>\nWindows Boot Loader\n-------------------\nidentifier              {a75d88de-1b84-11ef-b9dd-cc96e535c78c}\ndevice                  ramdisk=[\\Device\\HarddiskVolume5]\\Recovery\\WindowsRE\\Winre.wim,{a75d88df-1b84-11ef-b9dd-cc96e535c78c}\npath                    \\windows\\system32\\winload.efi\ndescription             Windows Recovery Environment\nlocale                  en-US\ninherit                 {bootloadersettings}\ndisplaymessage          Recovery\nosdevice                ramdisk=[\\Device\\HarddiskVolume5]\\Recovery\\WindowsRE\\Winre.wim,{a75d88df-1b84-11ef-b9dd-cc96e535c78c}\nsystemroot              \\windows\nnx                      OptIn\nbootmenupolicy          Standard\nwinpe                   Yes\n<\/pre>\n<h2>Cause<\/h2>\n<p>Error 0x3 means ERROR_PATH_NOT_FOUND (Path not found). This can happen if the Reagentc tool does not detect the recovery partition, and the root cause is incorrect attributes assigned to it.<\/p>\n<p>The Diskpart&#8217;s &#8220;detail partition&#8221; shows that the recovery partition has incorrect attributes.<\/p>\n<pre>Partition 5\nType    : de94bba4-06d1-4d40-a16a-bfd50179d6ac\nHidden  : Yes\nRequired: Yes\nAttrib  : 0XC000000000000001\nOffset in Bytes: 511323406336\n\n  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info\n  ----------  ---  -----------  -----  ----------  -------  ---------  --------\n* Volume 3         Recovery     NTFS   Partition    749 MB  Healthy    Hidden\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76013\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/winre-partition-id-2.png\" alt=\"reagent error 3 - list disk - diskpart\" width=\"750\" height=\"275\" \/><\/p>\n<p>The attributes value of <code><strong>0XC000000000000001<\/strong><\/code> means the following bit has been enabled that causes the partition to be hidden:<\/p>\n<p><strong>0x4000000000000000 &#8211; Hides a partition&#8217;s volume so it&#8217;s not detected by the mount manager.<\/strong><\/p>\n<p><em>Src:\u00a0<\/em><a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/gpt\" target=\"_blank\" rel=\"noopener\"><em>gpt | Microsoft Learn<\/em><\/a><\/p>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/reagentc-exe-operation-failed-2\/\">REAGENTC.EXE: Operation failed: 2<\/a><\/div>\n<h2>Resolution<\/h2>\n<p>To resolve the REAGENT error 0x3, fix the GPT attributes value for the recovery partition.<\/p>\n<p>The recovery partition is located on <strong>Disk 0 and Partition 5 <\/strong>in this<strong> example<\/strong>. Please see the above screenshot.<\/p>\n<p>In that case, please run these commands from an admin Command Prompt:<\/p>\n<pre>diskpart\n\nselect disk 0\n\nselect part 5\n\ngpt attributes=0x8000000000000001\n\nexit<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76014\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/winre-partition-id-3.png\" alt=\"reagent error 3 - list disk - diskpart\" width=\"751\" height=\"137\" \/><\/p>\n<p>Now, run the following command:<\/p>\n<pre>reagentc \/info<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76016\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/winre-attributes-fixed.png\" alt=\"reagent error 3 - list disk - diskpart - resolved\" width=\"763\" height=\"364\" \/><\/p>\n<p>That fixes the issue.<\/p>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/cant-reset-windows-10-could-not-find-win-re\/\">Error \u201cCould not find the Recovery Environment\u201d When Resetting PC<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>When you attempt to enable Windows RE by running the reagentc \/enable command, the following error may be shown: REAGENTC.EXE: Operation failed: 3 REAGENTC.EXE: An error has occurred. When you attempt to create a USB recovery drive, the following error occurs: We can&#8217;t create a recovery drive on this PC Some required files are missing. &#8230; <a title=\"REAGENTC.EXE: Operation failed: 3\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/reagentc-exe-operation-failed-3\/\" aria-label=\"Read more about REAGENTC.EXE: Operation failed: 3\">Read more<\/a><\/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":[965,865,191,680],"class_list":["post-76008","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-disk-management","tag-diskpart","tag-error-messages","tag-windows-recovery-environment"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":17815,"url":"https:\/\/www.winhelponline.com\/blog\/cant-reset-windows-10-could-not-find-win-re\/","url_meta":{"origin":76008,"position":0},"title":"Error &#8220;Could not find the Recovery Environment&#8221; When Resetting PC","author":"Ramesh","date":"August 10, 2020","format":false,"excerpt":"When you attempt to use the Reset this PC option to Reset (\"Remove everything\") or Refresh (\"Keep my files\") Windows 10 or 11, the following error may appear: Could not find the recovery environment Insert your Windows installation or recovery media, and restart your PC with the media. This error\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":"We can't create a recovery drive on this PC","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/win-re-fix-recovery-disk.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/win-re-fix-recovery-disk.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/win-re-fix-recovery-disk.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":74926,"url":"https:\/\/www.winhelponline.com\/blog\/reagentc-exe-operation-failed-2\/","url_meta":{"origin":76008,"position":1},"title":"REAGENTC.EXE: Operation failed: Error 2 or Error 3bc3","author":"Ramesh","date":"April 24, 2024","format":false,"excerpt":"When you attempt to enable Windows RE by running the reagentc \/enable command, the following error may be shown: REAGENTC.EXE: Operation failed: 2 REAGENTC.EXE: An error has occurred. (or) REAGENTC.EXE: Operation failed: 3bc3 or REAGENTC.EXE: Unable to update Boot Configuration Data. The ReAgent.log may record the following error: Info [ReAgentc.exe]\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":"","src":"","width":0,"height":0},"classes":[]},{"id":17854,"url":"https:\/\/www.winhelponline.com\/blog\/we-cant-create-a-recovery-drive-on-this-pc-error-windows-10\/","url_meta":{"origin":76008,"position":2},"title":"&#8220;We can&#8217;t create a recovery drive on this PC&#8221; Error","author":"Ramesh","date":"August 12, 2020","format":false,"excerpt":"Windows allows you to create USB recovery media using the RecoveryDrive.exe (\"Create a recovery drive\") utility. When you attempt to create the recovery drive in Windows 10 or 11, the following error appears, and the process stalls: We can't create a recovery drive on this PC Some required files are\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":"We can't create a recovery drive on this PC","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/cant-create-recovery-drive-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/cant-create-recovery-drive-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/cant-create-recovery-drive-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":57102,"url":"https:\/\/www.winhelponline.com\/blog\/boot-configuration-data-store-could-not-be-opened\/","url_meta":{"origin":76008,"position":3},"title":"[Fix] The boot configuration data store could not be opened","author":"Ramesh","date":"June 30, 2023","format":false,"excerpt":"When you run bcdedit to view the settings in the boot configuration database (BCD), the following error may occur: The boot configuration data store could not be opened. The volume for a file has been externally altered so that the opened file is no longer valid. When you boot into\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":"0x800703EE - Windows Setup error MCT ISO","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/0x800703ee.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/0x800703ee.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/0x800703ee.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5957,"url":"https:\/\/www.winhelponline.com\/blog\/fix-dism-error-50-minint-windows-pe-servicing\/","url_meta":{"origin":76008,"position":4},"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":75373,"url":"https:\/\/www.winhelponline.com\/blog\/backup-winre-wim-image\/","url_meta":{"origin":76008,"position":5},"title":"How to Backup your WinRE Image (Winre.wim)","author":"Ramesh","date":"June 3, 2024","format":false,"excerpt":"The Windows Recovery Environment is powered by the Winre.wim image, usually located in the Recovery partition or, in some cases, in the OS partition itself. You may have to back up your Winre.wim image in some situations, e.g., before or after servicing Winre.wim, or when you want to resize the\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":"enable winre using reagentc and get confirmation","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/winre-enable-reagentc.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/winre-enable-reagentc.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/winre-enable-reagentc.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/06\/winre-enable-reagentc.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/76008","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=76008"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/76008\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=76008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=76008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=76008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}