{"id":74926,"date":"2024-04-24T12:53:14","date_gmt":"2024-04-24T07:23:14","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=74926"},"modified":"2024-08-07T13:18:25","modified_gmt":"2024-08-07T07:48:25","slug":"reagentc-exe-operation-failed-2","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/reagentc-exe-operation-failed-2\/","title":{"rendered":"REAGENTC.EXE: Operation failed: Error 2 or Error 3bc3"},"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: 2\n\nREAGENTC.EXE: An error has occurred.<\/pre>\n<p>(or)<\/p>\n<pre class=\"err\">REAGENTC.EXE: Operation failed: 3bc3<\/pre>\n<p><!--more--><\/p>\n<p>or<\/p>\n<pre class=\"err\">REAGENTC.EXE: Unable to update Boot Configuration Data.<\/pre>\n<p>The ReAgent.log may record the following error:<\/p>\n<pre>Info                         [ReAgentc.exe] Creating BCD entry\nError                        [ReAgentc.exe] open store failed: 0xc000000f\nInfo                         [ReAgentc.exe] Failed to create BCD recovery entry 2\nInfo                         [ReAgentc.exe] BCD could not be set, Copying Winre.wim from  to staging location\nInfo                         [ReAgentc.exe] Moving \\\\?\\GLOBALROOT\\device\\harddisk0\\partition3\\Recovery\\Temporary\\Winre.wim to C:\\WINDOWS\\system32\\Recovery\\\\winre.wim\nInfo                         [ReAgentc.exe] SetWinRESettings return with error code 0x2\nError                        [ReAgentc.exe] failed to set WinRE settings, error:0x2\nInfo                         [ReAgentc.exe] Exit WinReInstall return value: 0, last error: 0x2\nError                        [ReAgentc.exe] failed to install winre: : 0x2\nInfo                         [ReAgentc.exe] ------------------------------------------------------\nInfo                         [ReAgentc.exe] -----Exiting command line: reagentc  \/enable, Error: 2-----\nInfo                         [ReAgentc.exe] ------------------------------------------------------\nWarning                      [ReAgentc.exe] winreGetOSGuidOrDefault GetCurrentOsGuid returned 0x3bc3\nWarning                      [ReAgentc.exe]  (WinRE)WinRECheckGuid() winreGetOSGuidOrDefault failed\n<\/pre>\n<p>Error 0xc000000f means STATUS_NO_SUCH_FILE (File not found), equivalent to the error code 2 (0x80070002).<\/p>\n<p>Error 0x3bc3 (0x80073bc3) means it&#8217;s an EFI system partition issue.<\/p>\n<p>Also, when running the <strong>BCDEDIT<\/strong> command, the following error may occur:<\/p>\n<pre class=\"err\">The boot configuration data store could not be opened.\nThe system cannot find the file specified.<\/pre>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/boot-configuration-data-store-could-not-be-opened\/\">[Fix] The boot configuration data store could not be opened<\/a><\/div>\n<h2>Cause<\/h2>\n<p>The above errors occur due to one of the following reasons:<\/p>\n<ol>\n<li>The EFI partition has a wrong identifier.<\/li>\n<li>The Boot Configuration Database (BCD) or the EFI system partition is inaccessible. Rebuilding the BCD or the EFI partition should resolve the issue.<\/li>\n<li>This problem can also happen after you convert the disk from MBR to GPT using Mbr2GPT. In that case, you only need to create the EFI boot partition.<\/li>\n<\/ol>\n<h2>Resolution<\/h2>\n<p>To resolve the error &#8220;<strong>REAGENTC.EXE: Operation failed: 2<\/strong>&#8220;, follow the steps below:<\/p>\n<h4>Case 1: EFI partition has a wrong ID<\/h4>\n<p>In this case, please fix the EFI system partition&#8217;s identifier. See <a href=\"https:\/\/www.winhelponline.com\/blog\/fix-efi-boot-partition-guid-set-id\/\">How to Fix the EFI Boot Partition&#8217;s ID Using DiskPart<\/a>.<\/p>\n<hr \/>\n<h4>Case 2: The BCD or EFI partition is inaccessible<\/h4>\n<p>Rebuild the EFI system partition. It can be done by formatting the EFI system partition and regenerating the boot files and BCD using the <strong>bcdboot<\/strong> command.<\/p>\n<p>For more information, please see <a href=\"https:\/\/www.winhelponline.com\/blog\/rebuild-efi-partition-bcd-boot-files\/\">How to Rebuild the EFI Boot Partition, BCD and Boot Files<\/a>.<\/p>\n<hr \/>\n<h4>Case 3: No EFI partition exists<\/h4>\n<p>If you have converted the disk from MBR to GPT and forgot to change the boot mode in BIOS\/UEFI, your system may have been booting in legacy mode. This happens due to the CSM setting.<\/p>\n<p>If the EFI boot partition is missing, create it using the diskpart command-line tool. For more information on creating the EFI boot partition, see the &#8220;Resolution&#8221; part in <a href=\"https:\/\/www.winhelponline.com\/blog\/create-move-efi-partition-windows\/\">this article<\/a> (<em>ignore the title<\/em>). The article has instructions for creating a new EFI system partition using the command-line.<\/p>\n<p>Once done, please enter the UEFI settings and turn off CSM support and Legacy boot. Enable UEFI-only mode or a similar option. This prevents the system from booting into legacy mode.<\/p>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/cant-reset-windows-10-could-not-find-win-re\/\">REAGENTC.EXE: The Windows RE image was not found.<\/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: 2 REAGENTC.EXE: An error has occurred. (or) REAGENTC.EXE: Operation failed: 3bc3<\/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":[191,680],"class_list":["post-74926","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","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":74926,"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":76008,"url":"https:\/\/www.winhelponline.com\/blog\/reagentc-exe-operation-failed-3\/","url_meta":{"origin":74926,"position":1},"title":"REAGENTC.EXE: Operation failed: 3","author":"Ramesh","date":"July 18, 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: 3 REAGENTC.EXE: An error has occurred. When you attempt to create a USB recovery drive, the following error occurs: We can't create a recovery drive on this PC\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":"reagent error 3 - cannot create recovery drive","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/cant-create-recovery-drive.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/cant-create-recovery-drive.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/07\/cant-create-recovery-drive.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":17854,"url":"https:\/\/www.winhelponline.com\/blog\/we-cant-create-a-recovery-drive-on-this-pc-error-windows-10\/","url_meta":{"origin":74926,"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":74926,"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":75373,"url":"https:\/\/www.winhelponline.com\/blog\/backup-winre-wim-image\/","url_meta":{"origin":74926,"position":4},"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":[]},{"id":5957,"url":"https:\/\/www.winhelponline.com\/blog\/fix-dism-error-50-minint-windows-pe-servicing\/","url_meta":{"origin":74926,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/74926","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=74926"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/74926\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=74926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=74926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=74926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}