How to recreate the Windows recovery partition.

Page 1 of 5 123 ... LastLast

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

    How to recreate the Windows recovery partition.


    While playing with Macrorit Partition Expert, I inadvertently deleted the Windows recovery partition.

    How to recreate the Windows recovery partition.-recovery-partition-deleted.jpg

    It is possible to recreate/recover the partition without having to do the following?

    1) Clean Install Windows 10
    2) Repair Install
    3) Refresh Windows 10
    4) Reset Windows 10
    5) Buy MiniTool Partition Wizard Pro

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


  2. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, options:
    a. Recover the partition from your recent disk image which of course included all partitions comprising Windows (E.g. created using Macrium Reflect)

    b. DIY - instructions here:
    recovery partition
      My Computers


  3. Posts : 41,472
    windows 10 professional version 1607 build 14393.969 64 bit
       #3

    NavyLCDR just deleted and recreated the Windows recovery partition in this thread:
    Need to Reset Windows 10 Dual Boot (no recovery environement found)

    see post #41.

    He may be available to comment.
      My Computer


  4. Posts : 4,580
    several
       #4

    You could try a partition recovery program. The older minitool partition recovery v5 is free for personal use, and can be found on the net. I have found that Aomei partition assistant is better, but iirc the Aomei partition recovery module needs pro version.

    Or you can recreate it, it isn't particularly difficult.
      My Computer


  5. Posts : 41,472
    windows 10 professional version 1607 build 14393.969 64 bit
       #5

    These are additional methods that can create a new recovery partition.:

    1) Windows custom install

    2) Windows upgrade using the upgrade assistant:

    19H1 > 19H2 or 20H1 or 20H2
    19H2 > 20H1 or 20H2
    20H1 > 20H2
    20H2 > 21H1 (when available)

    3) Command line:

    diskpart
    sel dis 0
    sel vol D:
    shrink desired=700
    create partition primary
    format quick fs=ntfs label="winRE"
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    exit
    reagentc /enable
      My Computer


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

    zbook said:
    diskpart
    sel dis 0
    sel vol D:
    shrink desired=700
    create partition primary
    format quick fs=ntfs label="winRE"
    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
    exit
    reagentc /enable
    Can I recreate the recovery partition in the 499-MB unallocated space below?



    zbook said:
    NavyLCDR just deleted and recreated the Windows recovery partition in this thread:
    Need to Reset Windows 10 Dual Boot (no recovery environement found)
    I have asked him a question there.

    dalchina said:
    a. Recover the partition from your recent disk image which of course included all partitions comprising Windows (E.g. created using Macrium Reflect)
    I have no image to recover it from.

    SIW2 said:
    the Aomei partition recovery module needs pro version.
    I have no money to buy it.
      My Computer


  7. Posts : 42,979
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    Thank you for your reply.

    I have no image to recover it from.
    Advice on tenforums is so often given to use disk imaging.


    Then use one of the set of manual instructions you've been given
    - amongst which was option (b) in my post.


    I have no money to buy it.
    - look out for a giveaway e.g. list updated daily:
    winningpc.com

    subscribe to bitsdujour
      My Computers


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

    What mistakes have I made?

    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> REAgentC /disable
    REAGENTC.EXE: Windows RE is already disabled.
    
    PS C:\Windows\system32> DiskPart
    
    Microsoft DiskPart version 10.0.19041.610
    
    Copyright (C) Microsoft Corporation.
    On computer: DESKTOP
    
    DISKPART> List Disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          465 GB   499 MB        *
      Disk 1    Online         7388 MB      0 B
      Disk 2    Online         3781 MB  1024 KB
      Disk 3    Online           28 GB     8 MB
      Disk 4    Online           28 GB      0 B
    
    DISKPART> Select Disk 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> Detail Disk
    
    ST500DM002-1BD142
    Disk ID: {035E2069-D591-48E4-A788-02F723C69431}
    Type   : SATA
    Status : Online
    Path   : 1
    Target : 0
    LUN ID : 0
    Location Path : PCIROOT(0)#PCI(1F02)#ATA(C01T00L00)
    Current Read-only State : No
    Read-only  : No
    Boot Disk  : Yes
    Pagefile Disk  : Yes
    Hibernation File Disk  : No
    Crashdump Disk  : Yes
    Clustered Disk  : No
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 2     C   Windows 10   NTFS   Partition     80 GB  Healthy    Boot
      Volume 3     D   Data         NTFS   Partition    384 GB  Healthy
      Volume 4                      FAT32  Partition    100 MB  Healthy    System
    
    DISKPART> Create partition primary
    
    DiskPart succeeded in creating the specified partition.
    
    DISKPART> Format quick FS=NTFS label="Recovery"
    
        0 percent completed
    
    DiskPart has encountered an error: The parameter is incorrect.
    See the System Event Log for more information.
    
    DISKPART>
      My Computer


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

    I am now running Windows PE, on which DiskPart has encountered no error.
    Code:
    Microsoft Windows [Version 10.0.18362.30]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    X:\windows\SYSTEM32>DiskPart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: My_PC
    
    DISKPART> List Disk
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          465 GB      0 B        *
      Disk 1    Online           28 GB     8 MB
      Disk 2    Online           28 GB      0 B
      Disk 3    Online         7388 MB      0 B
      Disk 4    Online         3781 MB  1024 KB
    
    DISKPART> Select Disk 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> Detail Disk
    
    ST500DM002-1BD142
    Disk ID: {035E2069-D591-48E4-A788-02F723C69431}
    Type   : SATA
    Status : Online
    Path   : 1
    Target : 0
    LUN ID : 0
    Location Path : PCIROOT(0)#PCI(1F02)#ATA(C01T00L00)
    Current Read-only State : No
    Read-only  : No
    Boot Disk  : No
    Pagefile Disk  : No
    Hibernation File Disk  : No
    Crashdump Disk  : No
    Clustered Disk  : No
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 1     C   Windows 10   NTFS   Partition     80 GB  Healthy
      Volume 2                      RAW    Partition    499 MB  Healthy
      Volume 3     D   Data         NTFS   Partition    384 GB  Healthy
      Volume 4                      FAT32  Partition    100 MB  Healthy    Hidden
    
    DISKPART> Select Volume 2
    
    Volume 2 is the selected volume.
    
    DISKPART> Format FS=NTFS quick label="Recovery"
    
      100 percent completed
    
    DiskPart successfully formatted the volume.
    
    DISKPART> Detail Disk
    
    ST500DM002-1BD142
    Disk ID: {035E2069-D591-48E4-A788-02F723C69431}
    Type   : SATA
    Status : Online
    Path   : 1
    Target : 0
    LUN ID : 0
    Location Path : PCIROOT(0)#PCI(1F02)#ATA(C01T00L00)
    Current Read-only State : No
    Read-only  : No
    Boot Disk  : No
    Pagefile Disk  : No
    Hibernation File Disk  : No
    Crashdump Disk  : No
    Clustered Disk  : No
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 1     C   Windows 10   NTFS   Partition     80 GB  Healthy
    * Volume 2         Recovery     NTFS   Partition    499 MB  Healthy
      Volume 3     D   Data         NTFS   Partition    384 GB  Healthy
      Volume 4                      FAT32  Partition    100 MB  Healthy    Hidden
      My Computer


  10. Posts : 4,143
    Windows 3.1 to Windows 11
       #10

    The hidden recovery partition contains the WinRE.wim
    If recovery partition does not exist then C:\Recovery is used instead -
    when you use > Reagentc /enable
    the winre.wim is moved and registered as long as "windows/system32/recovery/winre.wim" exists
    using Reagentc /disable moves the winre.wim back into the windows folder and unregisters it
      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 04:50.
Find Us




Windows 10 Forums