Solved Windows 8.1 Recovery - Could not find recovery environment

I have a home built desktop running Windows 8.1 Pro 64bit. I used Easus partition master to set up a dual boot with Win 10TP. I have now deleted the dual boot and have attempted a number of times to upgrade to Win 10 Pro 64bit. Each time I get the failure code 0x8007003.
Disk Manager shows Disk 0 partitions as follows:-

300MB (OEM Partition)
100MB Healthy (EFI System Partition)
(C:) 464GB NTFS Healthy (Boot, Page File, Crash Dump, Primary Partition)
449MB Healthy (Recovery Partition)

From reading through this thread I believe that the 300MB (OEM Partition) needs to be renamed. But what to? Should it be System Reserved Partition or should it be Recovery Partition? And if someone could point me to the code to use I would be very grateful.
Keith

from command prompt (admin)
Diskpart
select disk 0
list partition
select partition 1 (usually is partition 1 - but input partition number for 300MB partition)
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001
 

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
I had the 80070003 error when trying to update my laptop to win 10 after using easus todo. I did a factory restore and then moved to a smaller SSD. In order to save space, I build a system restore on a flash drive and removed the 20GB recovery partition. Now I have two partitions named OEM one is 1.2GB and the other is 450MB.
Since I will only ever do another restore using my flash drive, does it matter that my partitions are named OEM?
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Built
    CPU
    Cor i7 920
    Motherboard
    Gigabyte
    Memory
    3 GB
    Graphics Card(s)
    ATI 6770
    Browser
    Many
    Antivirus
    Bitblocker
Win 10 installation error 0x8007003

Thanks KYHI
I did just that and now my pc is up and running on the newly installed Windows 10.

I suppose now I should uninstall Easeus Partition Master. Though I suppose if I do the gpt attribute thing (not done it yet) I should be safe using Easus

Thanks to all for the invaluable help.
Keith
 

My Computer

System One

  • OS
    Windows 8
Please help me to change a partition name.

Hi Guys,
Please excuse my poor English.
As many of you, I can’t upgrade to W10.
And,, as many, I can’t fin find the recovery partition.
I read here the post « How to fix the error message: "Could not find the recovery environment", if the ID for the recovery partition type is incorrectly set to OEM.”
I think it’s my problem too.
But, I don’t have “ the second OEM partition (recovery image partition).” 20 go
So can you please tell what I should do…
And if you can tell me step by stepwith simple words … it will help a lot ! ( :confused: I'm not a techie at all)
Many Thanks
diskpart disk 0.JPG PARTITION WIZARD.JPG
 

My Computer

System One

  • OS
    w 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus CG8270 series
    CPU
    I7 - 3770

- Open a command prompt as administrator and type (or copy and paste) the following commands.

diskpart
select disk 0
list partition

select partition 1
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

select partition 5
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

list partition
exit

reagentc /info
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo G580
    CPU
    Intel Core i5-3230M
    Memory
    8 GB
    Graphics Card(s)
    Intel HD Graphics 4000
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender, standard user account
    Other Info
    UEFI firmware (BIOS) embedded Windows 8 product key.
Waouh, thank you so much ! I have my recovery partition now. I hope it will help me to upgrade to w10.
 

My Computer

System One

  • OS
    w 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus CG8270 series
    CPU
    I7 - 3770
Please help me . could not update to windows 10

My laptop come up with windows 8.1 and a recovery partition as D drive then i use windows disk utility to split the C drive in another one then later i used a partition program probably ease partition manager (which you have mentioned earlier) and create 2 more drives . Now I want to upgrade to windows 10 but in "preparation for installation" it says windows 10 couldnot be installed and gives the error x8007003 (something like that ) then I repeat the download process and the same problem persists then I searrched for some solution and tried almost all but no progress then i read your post then I opened the disk part and I come up with this detail. I have my windows installed in 97gb drive and hp recovery in 16 gb drive.
20150814_234628.jpg
And also this from disk management
20150814_234738.jpg
What can I do now kindly guide me I am a Mbbs student and know only little abouts these things. Kindly guide me step by step. I am waiting plz help
 

My Computer

System One

  • OS
    windows 8.1
Recommended UEFI-Based Disk-Partition Configurations

Recommended Configuration: System Recovery

The recommended configuration includes a Windows RE tools partition, a system partition, an MSR, a Windows partition, and a recovery image partition.

View attachment 52931

To configure Windows RE tools and recovery image partitions, identify the partitions as utility partitions by setting the partition type:

- In the DiskPart tool, after you have created and formatted the partition, use the command set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac

Note: Here is info about reagentc /info -> link

- Note that the size of recovery partitions is different for different computers.
- Note that the Reserved 128 MB partition is not visible within Disk Management utility, but it is listed with command line utility (diskpart).
- Note that if you have an OEM PC that came with Windows 8 preinstalled and updated to Windows 8.1, the Windows 8.1 update will create a second Windows RE tools partition (350 MB or 450 MB).

The hard drive partitions before using EaseUS Partition Master 10.5 (see also screenshot below).

Code:
Partition #  Type      Size
-----------  --------  -------
Partition 1  [COLOR=red]Recovery[/COLOR]  1000 MB - [COLOR=red]Windows RE tools partition[/COLOR] (Windows RE location, before Windows 8.1 update).
Partition 2  System     260 MB
Partition 3  OEM       1000 MB - Note: OEM partition does not exist in all OEM computers. [B][COLOR=red]X)[/COLOR][/B]
Partition 4  Reserved   128 MB
Partition 5  Primary    908 GB
Partition 6  [COLOR=red]Recovery[/COLOR]   450 MB - [COLOR=red]Windows RE tools partition[/COLOR] (Windows RE location, after Windows 8.1 update).
Partition 7  [COLOR=red]Recovery[/COLOR]    20 GB - [COLOR=red]Recovery image partition[/COLOR] (Recovery image location).

X) Some computer manufacturers (Lenovo/Sony) have their own GUIDs for partitions that hold boot loaders to launch manufacturer-specific recovery tools.

View attachment 52932

The hard drive partitions after using EaseUS Partition Master 10.5 (see also screenshot below).

- Those marked by red color should be repaired.

Code:
Partition #  Type      Size
-----------  --------- -------
Partition 1  [COLOR=red]OEM[/COLOR]       1000 MB - This partition type should be [B]Recovery[/B] (not OEM).
Partition 2  System     260 MB
Partition 3  OEM       1000 MB - Note: This OEM partition type is okay.
Partition 4  Reserved   128 MB
Partition 5  Primary    390 GB
Partition 6  Primary    518 GB - This partition was created using EaseUS Partition Master.
Partition 7  [COLOR=red]OEM[/COLOR]        450 MB - This partition type should be [B]Recovery[/B] (not OEM).
Partition 8  [COLOR=red]OEM[/COLOR]         20 GB - This partition type should be [B]Recovery[/B] (not OEM).

View attachment 52933

How to fix the error message: "Could not find the recovery environment", if the ID for the recovery partition type is incorrectly set to OEM.

- You need to manually select the partition and change the partition ID.

- Open a command prompt as administrator and type (or copy and paste) the following commands.

diskpart
select disk 0
list partition
select partition # Note: Select the Windows RE tools partition.
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
select partition # Note: Select the 350 MB or 450 MB Windows RE tools partition (if you have this partition).
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
select partition # Note: Select the Recovery image partition.
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
list partition
exit

edit:

If you want, you can also run the following command after the each SET ID command.

gpt attributes=0x8000000000000001

"Prevent end users from removing partitions by using Windows Disk Management tools."

View attachment 52934

Run reagentc /info (see also screenshot below).

Code:
Windows Recovery Environment (Windows RE) and system reset configuration Information:
 
Windows RE status:         Enabled
[COLOR=red]Windows RE location[/COLOR]:       [URL="file://\\?\GLOBALROOT\device\harddisk0\"]\\?\GLOBALROOT\device\harddisk0\[/URL][COLOR=red]partition7[/COLOR]\Recovery\WindowsRE
Boot Configuration Data (BCD) identifier: 3f1aab21-5d18-11e3-9e3c-b4f57e9d9da7
[COLOR=red]Recovery image location[/COLOR]:   [URL="file://\\?\GLOBALROOT\device\harddisk0"]\\?\GLOBALROOT\device\harddisk0\[/URL][COLOR=red]partition8[/COLOR]\OKRbackup\factory
Recovery image index:      1
Custom image location:
Custom image index:        0
 
REAGENTC.EXE: Operation Successful.

View attachment 52935

Now the Refresh and Reset should work (see screenshot below).

View attachment 52936

Note: If you have an OEM PC that came with Windows 8/8.1 preinstalled, you may not use the third-party partition software (for example, EaseUS Partition Master), because modifying the hard drive partition structure usually break the factory restore feature. But if you use Windows Disk Management to shrink the C: partition (see screenshot below), then Refresh and Reset should work.

EDIT: This program does not break the factory restore feature: http://www.disk-partition.com/free-partition-manager.html

View attachment 52102

My laptop come up with windows 8.1 and a recovery partition as D drive then i use windows disk utility to split the C drive in another one then later i used a partition program probably ease partition manager (which you have mentioned earlier) and create 2 more drives . Now I want to upgrade to windows 10 but in "preparation for installation" it says windows 10 couldnot be installed and gives the error x8007003 (something like that ) then I repeat the download process and the same problem persists then I searrched for some solution and tried almost all but no progress then i read your post then I opened the disk part and I come up with this detail.
View attachment 64783
And also this from disk management. I have my hp recovery in 16gb drive and windows installed in 97gb drive
View attachment 64784
What can I do now kindly guide me I am a Mbbs student and know only little abouts these things.
 

My Computer

System One

  • OS
    windows 8.1
Easeus & Win 10 update error 80070003

Thanks so much for this excellent info about Easeus Partition manager and update error 80070003.

Followed the instructions and then update to Win 10 worked without a hitch. I would never have guessed or even discovered the source of this error.
 

My Computer

System One

  • OS
    Win 8.1
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavillion
    CPU
    Intel Core 13

- Open a command prompt as administrator and type (or copy and paste) the following commands.

diskpart
select disk 0
list partition

select partition 1
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

select partition 7
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

list partition
exit

reagentc /info
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo G580
    CPU
    Intel Core i5-3230M
    Memory
    8 GB
    Graphics Card(s)
    Intel HD Graphics 4000
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender, standard user account
    Other Info
    UEFI firmware (BIOS) embedded Windows 8 product key.

- Open a command prompt as administrator and type (or copy and paste) the following commands.

diskpart
select disk 0
list partition

select partition 1
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

select partition 7
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

list partition
exit

reagentc /info

Is there is any danger of losing the data or system refresh after doing this ? I have very impotant data in my laptop. Kindly guide me. Reply will be appreciated.
 

My Computer

System One

  • OS
    windows 8.1
Commands should be safe to run, but you should always have a backup copy of your important files.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo G580
    CPU
    Intel Core i5-3230M
    Memory
    8 GB
    Graphics Card(s)
    Intel HD Graphics 4000
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender, standard user account
    Other Info
    UEFI firmware (BIOS) embedded Windows 8 product key.

- Open a command prompt as administrator and type (or copy and paste) the following commands.

diskpart
select disk 0
list partition

select partition 1
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

select partition 7
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

list partition
exit

reagentc /info
I entered your given commands and i got this message .
attachment.php

is everything is alright now?
i am waiting for your ans
 

Attachments

  • 20150815_180742.jpg
    20150815_180742.jpg
    1 MB · Views: 137

My Computer

System One

  • OS
    windows 8.1

Do you get any error message when you click on the "Get started" button? For example, "Could not find the recovery environment".



The screenshot below shows when everything is ok.

 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo G580
    CPU
    Intel Core i5-3230M
    Memory
    8 GB
    Graphics Card(s)
    Intel HD Graphics 4000
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender, standard user account
    Other Info
    UEFI firmware (BIOS) embedded Windows 8 product key.

Do you get any error message when you click on the "Get started" button? For example, "Could not find the recovery environment".



The screenshot below shows when everything is ok.


I did not try that because I dont want to reset it . I only want to upgrade it to windows 10. Doing this will reset my pc thats why I did not try that .
 

My Computer

System One

  • OS
    windows 8.1

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo G580
    CPU
    Intel Core i5-3230M
    Memory
    8 GB
    Graphics Card(s)
    Intel HD Graphics 4000
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender, standard user account
    Other Info
    UEFI firmware (BIOS) embedded Windows 8 product key.

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    System Manufacturer/Model
    Lenovo G580
    CPU
    Intel Core i5-3230M
    Memory
    8 GB
    Graphics Card(s)
    Intel HD Graphics 4000
    Browser
    Microsoft Edge
    Antivirus
    Windows Defender, standard user account
    Other Info
    UEFI firmware (BIOS) embedded Windows 8 product key.
Hi Genet,
In now have a "128 mb recovery partition "
But I still can't upgrade to W10 (it freeze on a black screen)
Someone told me that my recovery partition is too small.
So, with minitool partition wizard, I created a free partition of 600 mb
But I can't expand my recovery partition : no "expand" is possible with the Right click.

Can you please help me one more time ?
64832-windows-8-1-recovery-could-not-find-recovery-environment-capture.jpg





- Open a command prompt as administrator and type (or copy and paste) the following commands.

diskpart
select disk 0
list partition

select partition 1
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

select partition 5
set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes=0x8000000000000001

list partition
exit

reagentc /info
 

Attachments

  • mini_620687Capture.jpg
    mini_620687Capture.jpg
    4.2 KB · Views: 118
  • Capture.JPG
    Capture.JPG
    116.2 KB · Views: 116

My Computer

System One

  • OS
    w 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus CG8270 series
    CPU
    I7 - 3770
I've encountered similiar problem (dreaded 80070003 error when updating 8.1 to windows 10). I had 8.0 preinstalled on my laptop and then I upgraded to 8.1. I can't do a refresh (installation media is missing) and I also can't create recovery disk (missing files). Using reagentc /info results in "Failure 3" error message.

Here's my diskpart.

diskaprt1.jpg

What should I do? my laptop does not have DVD drive, installing from win 8 would be hassle - I would have to buy/borrow external DVD drive. My system is working perfectly, apart from this problem.
 

My Computer

System One

  • OS
    Windows 8.1
Back
Top