Windows 8 and 8.1 Forums


How do I restore recovery partition for 'Reset PC to work?

  1. #11


    Posts : 2,690
    Windows 3.1 > Windows 10


    Now from within my PE - this will reset your PC back to factory Image...
    Is that what you want to do ??


    Diskpart
    select disk 0
    select partition 1
    Assign letter=S
    Select partition 2
    Assign letter=T
    select partition 6
    Assign letter=R
    exit

    I need you to post
    T:\Recovery\WindowsRE\ReAgent.xml
    Before you continue with the commands below......
    So I can Verify the proper Index to use...

    (Usually Index:1) although your's may use another index....

    Dism /Apply-Image /ImageFile:"R:\RecoveryImage\Install.wim" /Index:1 /ApplyDir:C:\

    C:\Windows\System32\bcdboot C:\Windows

    C:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target C:\Windows

    C:\Windows\System32\Reagentc /Setosimage /Path R:\RecoveryImage /Target C:\Windows /Index 1
    Last edited by KYHI; 10 Feb 2016 at 15:57.

      My System SpecsSystem Spec

  2. #12


    Posts : 7
    Win 8.1 wBing


    Quote Originally Posted by KYHI View Post
    Now from within my PE - this will reset your PC back to factory Image...
    Is that what you want to do ??
    Yeah, I'm positive. I don't have a valid Win 8.1 key. Only 8.1 wBing, which unfortunately is only available as a system recovery image (..).


    Quote Originally Posted by KYHI View Post
    I need you to post
    T:\Recovery\WindowsRE\ReAgent.xml
    Before you continue with the commands below......
    So I can Verify the proper Index to use...

    (Usually Index:1) although your's may use another index....

    T:\Recovery\WindowsRE\ReAgent.xml (T:\ as in partition 2)
    Code:
    <?xml version='1.0' encoding='utf-8'?>
    
    <WindowsRE version="2.0">
      <WinreBCD id="{a72b2ef5-75bf-11e4-9a5c-fe6adb242850}"/>
      <WinreLocation path="\Recovery\WindowsRE" id="0" offset="105906176" guid="{8ccf5958-7728-47ec-b4be-ae2720a0f2bb}"/>
      <ImageLocation path="" id="0" offset="0" guid="{00000000-0000-0000-0000-000000000000}"/>
      <PBRImageLocation path="\RecoveryImage" id="0" offset="478622515200" guid="{8ccf5958-7728-47ec-b4be-ae2720a0f2bb}" index="2"/>
      <PBRCustomImageLocation path="" id="0" offset="0" guid="{00000000-0000-0000-0000-000000000000}" index="0"/>
      <InstallState state="1"/>
      <OsInstallAvailable state="1"/>
      <CustomImageAvailable state="0"/>
      <IsAutoRepairOn state="1"/>
      <WinREStaged state="0"/>
      <OperationParam path=""/>
      <OsBuildVersion path="9600.17031.amd64fre.winblue_gdr.140221-1952"/>
      <OemTool state="0"/>
      <IsServer state="0"/>
      <DownlevelWinreLocation path="" id="0" offset="0" guid="{00000000-0000-0000-0000-000000000000}"/>
      <IsWimBoot state="0"/>
      <ScheduledOperation state="5"/>
    </WindowsRE>
    Is it index 2 after all?

    Are the partitions sizes important for the image we apply? I mean, other than to have enough free space for the windows files? As in, do they have to be as in the initial (factory) setup? Or could I change their sizes around? (I don't mind it terribly if I couldn't change them around, but it's worth asking).

    Thanks!
    Last edited by sebu3; 11 Feb 2016 at 14:07. Reason: formatting
      My System SpecsSystem Spec

  3. #13


    Posts : 2,690
    Windows 3.1 > Windows 10


    <PBRImageLocation path="\RecoveryImage" id="0" offset="478622515200" guid="{8ccf5958-7728-47ec-b4be-ae2720a0f2bb}" index="2"/>
    Your PC uses Index 2 - so the cmds below are now correct for your PC to reset to factory

    Dism /Apply-Image /ImageFile:"R:\RecoveryImage\Install.wim" /Index:2 /ApplyDir:C:\

    C:\Windows\System32\bcdboot C:\Windows

    C:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target C:\Windows

    C:\Windows\System32\Reagentc /Setosimage /Path R:\RecoveryImage /Target C:\Windows /Index 2

    Then Reboot PC = Done...

    Now to prevent this from happening again go into
    Control Panel > Recovery > Create a Recovery Drive

    Or use the OEM Recovery Media Creation Tool - to create the recovery media..

    Either way this could of been prevented...
      My System SpecsSystem Spec

  4. #14


    Posts : 7
    Win 8.1 wBing


    It worked just fine. Thank you for your help, KYHI.

    For anyone else who might have similiar problems - the whole process added an extra boot entry while Windows is booting up. This can be fixed as described here.

    Also, answering my own question
    Quote Originally Posted by sebu3 View Post
    Are the partitions sizes important for the image we apply? I mean, other than to have enough free space for the windows files? As in, do they have to be as in the initial (factory) setup? Or could I change their sizes around? (I don't mind it terribly if I couldn't change them around, but it's worth asking).Thanks!
    It looks like having enough free space is enough. I've deleted partitions 4 and 5 to make a single partition for the OS (the way I wanted) and applied the image to single partition. It worked without a problem. So there you go.

    Once again, thanks a lot for you help, KYHI!
      My System SpecsSystem Spec

  5. #15


    Posts : 2,690
    Windows 3.1 > Windows 10


    Quote Originally Posted by brooksndun View Post
    you need the guys who are freaks about asus restore info..
    or the "freak of Partitioning and Booting on all computers" - KYHI..
    It worked just fine. Thank you for your help, KYHI.
    Your Welcome...
    KYHI

    You could of easily removed the un-needed (old) BCD boot entry by.

    from "Run" type msconfig
    Click on the "boot" tab
    and select the old entry (non-current OS) and hit delete..
      My System SpecsSystem Spec

  6. #16


    Quote Originally Posted by KYHI View Post
    <PBRImageLocation path="\RecoveryImage" id="0" offset="478622515200" guid="{8ccf5958-7728-47ec-b4be-ae2720a0f2bb}" index="2"/>
    Your PC uses Index 2 - so the cmds below are now correct for your PC to reset to factory

    Dism /Apply-Image /ImageFile:"R:\RecoveryImage\Install.wim" /Index:2 /ApplyDir:C:\

    C:\Windows\System32\bcdboot C:\Windows

    C:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target C:\Windows

    C:\Windows\System32\Reagentc /Setosimage /Path R:\RecoveryImage /Target C:\Windows /Index 2

    Then Reboot PC = Done...

    Now to prevent this from happening again go into
    Control Panel > Recovery > Create a Recovery Drive

    Or use the OEM Recovery Media Creation Tool - to create the recovery media..

    Either way this could of been prevented...

    i don't know what to try anymore
    Click image for larger version
    and in WindowsRE i only have this?
    Click image for larger version
      My System SpecsSystem Spec

  7. #17


    Posts : 2,690
    Windows 3.1 > Windows 10


    you failed to read...
    Or the requested ReAgent.xml info is not present...

    You will find the link to my PE Rescue Disk in my sig below..

    Quote Originally Posted by KYHI View Post
    Now from within my PE - this will reset your PC back to factory Image...
    Is that what you want to do ??


    Diskpart
    select disk 0
    select partition 1
    Assign letter=S
    Select partition 2
    Assign letter=T
    select partition 6
    Assign letter=R
    exit

    I need you to post
    T:\Recovery\WindowsRE\ReAgent.xml
    Before you continue with the commands below......
    So I can Verify the proper Index to use...

    (Usually Index:1) although your's may use another index....

    Dism /Apply-Image /ImageFile:"R:\RecoveryImage\Install.wim" /Index:1 /ApplyDir:C:\

    C:\Windows\System32\bcdboot C:\Windows

    C:\Windows\System32\Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target C:\Windows

    C:\Windows\System32\Reagentc /Setosimage /Path R:\RecoveryImage /Target C:\Windows /Index 1
      My System SpecsSystem Spec

  8. #18


    Posts : 2,690
    Windows 3.1 > Windows 10


    You can also re-install windows 8.1 _ BUT do not remove or format any of the existing partitions..
    Once your system is New - (no need to update) then we can register the FACTORY image again...
    Then RESET your PC back to factory...
      My System SpecsSystem Spec

  9. #19


    Quote Originally Posted by KYHI View Post
    You can also re-install windows 8.1 _ BUT do not remove or format any of the existing partitions..
    Once your system is New - (no need to update) then we can register the FACTORY image again...
    Then RESET your PC back to factory...
    i am sorry but i am in over my head so bad. i got lost in everything that i did so far. i would appreciate if you can start from beginning and explain me step by step exactly for my case. if you want i can even use TeamViewer and give you access to my computer since i think i am doing something wrong. thank you and sorry for being an annoying newbie
      My System SpecsSystem Spec

  10. #20


    Posts : 2,690
    Windows 3.1 > Windows 10


    insert your windows 8.1 setup media
    boot from the setup media and select install
    BUT do not remove or format any of the existing partitions..
      My System SpecsSystem Spec

Page 2 of 11 FirstFirst 1234 ... LastLast
How do I restore recovery partition for 'Reset PC to work?
Related Threads
COULD NOT FIND RECOVERY ENVIRONMENT (I know it's a redundant thread but I think I'm having a different scenario) 65686 Specs: (nothing's changed except I did reinstall win8.1) - win8.1 x64 single languange - 1TB HDD 65680 ■THE SCENARIO■
Well I finished my project - the program script allows me to create MBR and GPT hard drive partitions with a recovery image partition. The script also allows me to install 3 different versions of windows. and lastly it allows me to capture a recovery (push button reset) image. which can then be...
If you have a recovery drive - that includes the recovery partition - made on one computer, but have a toshiba laptop with a bad drive (but the recovery partition is ok), can you replace/copy the partition on the recovery drive with the recovery partition from the bad laptop HD? My friend's...
I have a Samsung Ultrabook series 5 laptop..some couple of month usage i completely remove my hard drive and change the windows 8 to windows 7..when i use windows 7 i realize windows 8 is much better then windows 7 so again i clean install of windows 8. i boot drive in PXE UEFI Only Mode.​Some...
Hello everyone, I'm a technician at TigerDirect, and for one of our services we create recovery media for newly purchased machines. For Windows 8 machines (As I'm sure you know) we cannot create recovery disks, and have to create a recovery drive using a flash drive. On multiple occasions...
My tablet is running fine, but I did something (not bright) which could leave me in a lurch later. Here's what I did, and what I'm looking for. Soon after I purchased my Asus VivoTab Smart, I made a USB recovery disk, complete with recovery partition. Then, to save disk space on the tablet, I...
I am trying to run a reset in Windows 8. However, after rebooting into WinRE, it says that it can't reset because I am missing a required partition. I searched for a solution to this problem. But, it looks like most people who see this error have accidentally deleted some Windows partitions. In...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook