How to recreate the Windows recovery partition.

Page 2 of 5 FirstFirst 1234 ... LastLast

  1. Posts : 7,607
    Windows 10 Home 20H2
    Thread Starter
       #11

    Code:
    Microsoft Windows [Version 10.0.19042.746]
    (c) 2020 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>Dir /a "R:\Recovery\WindowsRE"
     Volume in drive R is Recovery
     Volume Serial Number is 5881-B8DF
    
     Directory of R:\Recovery\WindowsRE
    
    19/01/2021  08:25 PM    <DIR>          .
    19/01/2021  08:25 PM    <DIR>          ..
    28/09/2020  03:47 AM       415,265,544 Winre.wim
                   1 File(s)    415,265,544 bytes
                   2 Dir(s)      90,955,776 bytes free

    Code:
    Microsoft DiskPart version 10.0.19041.610
    
    Copyright (C) Microsoft Corporation.
    On computer: DESKTOP
    
    DISKPART> Select Disk 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> list partition
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    System             100 MB  1024 KB
      Partition 2    Reserved            16 MB   101 MB
      Partition 3    Primary             80 GB   117 MB
      Partition 4    Primary            499 MB    80 GB
      Partition 5    Primary            384 GB    81 GB
    
    DISKPART> List Volume
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     I                       DVD-ROM         0 B  No Media
      Volume 1     G   CCCOMA_X64F  UDF    DVD-ROM     5870 MB  Healthy
      Volume 2     C   Windows 10   NTFS   Partition     80 GB  Healthy    Boot
      Volume 3     R   Recovery     NTFS   Partition    499 MB  Healthy
      Volume 4     D   Data         NTFS   Partition    384 GB  Healthy
      Volume 5                      FAT32  Partition    100 MB  Healthy    System
      Volume 6     E   Device       NTFS   Removable   7387 MB  Healthy
      Volume 7                             Removable   1900 MB  Healthy
      Volume 8                             Removable   1879 MB  Healthy
      Volume 9     F   EXTRA        FAT32  Removable     20 GB  Healthy
      Volume 10    J   Windows ISO  NTFS   Removable      8 GB  Healthy
      Volume 11    K   WINDOWS PE   FAT32  Removable     22 GB  Healthy
      Volume 12    L   Kingston 3.  NTFS   Removable   6147 MB  Healthy
    
    DISKPART>
    Partition 4 = Volume 3 = Drive R = the newly created Recovery partition

    @Kyhi
    I have just mounted my Windows ISO file and copied the following file into R:\Recovery\WindowsRE\Winre.wim

    G:\sources\install.wim\1\Windows\System32\Recovery\Winre.wim

    What should I do next? Run REAgentC /enable or run the following command?
    Code:
    REAgentC /SetREImage /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE
      My Computer


  2. Posts : 4,144
    Windows 3.1 to Windows 11
       #12

    if Reagentc /info shows as disabled
    then the winre.wim should be in the windows/system32/recovery folder
    then run reagentc /enable
    if that fails then you have a misdirected reagent.xml file somewhere

    sorry just seen you copied file to R (hidden partition)
    so yes bottom command
      My Computer


  3. Posts : 7,607
    Windows 10 Home 20H2
    Thread Starter
       #13

    Should I firstly copy ReAgent.xml into R:\Recovery\WindowsRE\ReAgent.xml?

    R is not hidden.

    How to recreate the Windows recovery partition.-new-recovery-partition.jpg
      My Computer


  4. Posts : 4,144
    Windows 3.1 to Windows 11
       #14

    NO..
      My Computer


  5. Posts : 4,144
    Windows 3.1 to Windows 11
       #15

    after running command - reagentc /info - may still show as disabled
    reboot - and check reagentc / info again
      My Computer


  6. Posts : 7,607
    Windows 10 Home 20H2
    Thread Starter
       #16

    Code:
    PS C:\Windows\system32> PS C:\Windows\system32> REAgentC /enable
    REAGENTC.EXE: Operation Successful.
    
    PS C:\Windows\system32> REAgentC /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:
    
        Windows RE status:         Disabled
        Windows RE location:
        Boot Configuration Data (BCD) identifier: 562f507e-413a-11eb-bfdb-e0d55ecc65a3
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
    
    PS C:\Windows\system32>
    I am rebooting my PC.
      My Computer


  7. Posts : 4,144
    Windows 3.1 to Windows 11
       #17

    if the hidden recovery partition exists - reagentc knows where to put the winre.wim based upon the partitions GUID (Partition Attributes)
    if the GUID does not exist (ie Partition does not exist) then C:\Recovery is used
    Before manipulating partitions - one should always use > reagentc /disable - first to move winre.wim back to default windows folder location
      My Computer


  8. Posts : 7,607
    Windows 10 Home 20H2
    Thread Starter
       #18

    After a reboot, it is still disabled. What should I do now?
    Code:
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\Windows\system32> REAgentC /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    Information:
    
        Windows RE status:         Disabled
        Windows RE location:
        Boot Configuration Data (BCD) identifier: 562f507e-413a-11eb-bfdb-e0d55ecc65a3
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
    
    PS C:\Windows\system32>
      My Computer


  9. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #19

    Should you not be running the REAgentC /info on the R:\ drive?
      My Computer


  10. Posts : 7,607
    Windows 10 Home 20H2
    Thread Starter
       #20

    I right-clicked on the Start button -->Windows PowerShell (Admin) and run Reagentc /info


    REAgentC /SetREImage /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE

    I just ran the above and REAgentC /enable and rebooted. It is still disabled.

    How to recreate the Windows recovery partition.-winre-exists.jpg

    How to recreate the Windows recovery partition.-disk-management.jpg

    What else can I do?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:59.
Find Us




Windows 10 Forums