Options to recover a RAW recovery partition or create a new one

Page 1 of 7 123 ... LastLast

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

    Options to recover a RAW recovery partition or create a new one


    While helping in another thread this computer had a recent Windows update of version 10 1909.
    The OS build is now 18363.720.
    Windows Recovery partition missing from Volume list of Disk Management
    (the problem may have existed before the windows update)


    When reagentc /info was ran it displayed disabled.
    Reagentc /enable displayed The Windows RE image was not found.

    The partition structure is MBR.

    Partition 4 is the recovery partition and detail partition displayed RAW.


    In another TF thread f14tomcat indicated that an in place upgrade repair recreates the recovery partition.
    Way to re-create the Recovery Partition?

    Minitool partition wizard has a partition recovery option.

    Chkdsk /r /v has not yet been ran on the drive partitions.

    What additional repair or recovery options are there for the recovery partition?

    What are the advantages, disadvantages and pitfalls of each method?

    If needed could the current partition be deleted and a new recovery partition be created from unallocated space with an in place upgrade repair?

    Options to recover a RAW recovery partition or create a new one-ten-forums-disk-management-3-16-2020.png

    Code:
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\windows\system32> bcdedit /enum all
    
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    device                  partition=K:
    description             Windows Boot Manager
    locale                  en-us
    inherit                 {globalsettings}
    default                 {current}
    resumeobject            {97834dea-4a44-11e9-907f-e2908fa00de5}
    displayorder            {current}
    toolsdisplayorder       {memdiag}
    timeout                 30
    
    Windows Boot Loader
    -------------------
    identifier              {238da88d-49fb-11e9-92c9-c3d8e506f5ea}
    device                  ramdisk=[\Device\HarddiskVolume4]\Recovery\WindowsRE\Winre.wim,{238da88e-49fb-11e9-92c9-c3d8e506f5ea}
    path                    \windows\system32\winload.exe
    description             Windows Recovery Environment
    inherit                 {bootloadersettings}
    displaymessage          Recovery
    osdevice                ramdisk=[\Device\HarddiskVolume4]\Recovery\WindowsRE\Winre.wim,{238da88e-49fb-11e9-92c9-c3d8e506f5ea}
    systemroot              \windows
    nx                      OptIn
    bootmenupolicy          Standard
    winpe                   Yes
    
    Windows Boot Loader
    -------------------
    identifier              {current}
    device                  partition=C:
    path                    \windows\system32\winload.exe
    description             Windows 10
    locale                  en-us
    inherit                 {bootloadersettings}
    allowedinmemorysettings 0x15000075
    osdevice                partition=C:
    systemroot              \windows
    resumeobject            {97834dea-4a44-11e9-907f-e2908fa00de5}
    nx                      OptIn
    bootmenupolicy          Standard
    
    Resume from Hibernate
    ---------------------
    identifier              {97834dea-4a44-11e9-907f-e2908fa00de5}
    device                  partition=C:
    path                    \windows\system32\winresume.exe
    description             Windows Resume Application
    locale                  en-us
    inherit                 {resumeloadersettings}
    allowedinmemorysettings 0x15000075
    filedevice              partition=C:
    filepath                \hiberfil.sys
    bootmenupolicy          Standard
    debugoptionenabled      No
    
    Windows Memory Tester
    ---------------------
    identifier              {memdiag}
    device                  partition=K:
    path                    \boot\memtest.exe
    description             Windows Memory Diagnostic
    locale                  en-us
    inherit                 {globalsettings}
    badmemoryaccess         Yes
    
    EMS Settings
    ------------
    identifier              {emssettings}
    bootems                 No
    
    Debugger Settings
    -----------------
    identifier              {dbgsettings}
    debugtype               Local
    
    RAM Defects
    -----------
    identifier              {badmemory}
    
    Global Settings
    ---------------
    identifier              {globalsettings}
    inherit                 {dbgsettings}
                            {emssettings}
                            {badmemory}
    
    Boot Loader Settings
    --------------------
    identifier              {bootloadersettings}
    inherit                 {globalsettings}
                            {hypervisorsettings}
    
    Hypervisor Settings
    -------------------
    identifier              {hypervisorsettings}
    hypervisordebugtype     Serial
    hypervisordebugport     1
    hypervisorbaudrate      115200
    
    Resume Loader Settings
    ----------------------
    identifier              {resumeloadersettings}
    inherit                 {globalsettings}
    
    Device options
    --------------
    identifier              {238da88e-49fb-11e9-92c9-c3d8e506f5ea}
    description             Windows Recovery
    ramdisksdidevice        partition=\Device\HarddiskVolume4
    ramdisksdipath          \Recovery\WindowsRE\boot.sdi
    PS C:\windows\system32> diskpart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: DESKTOP-K2CP43S
    
    DISKPART> lis dis
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          698 GB      0 B
      Disk 1    Online           58 GB    26 GB
    
    DISKPART> lis vol
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     G                       DVD-ROM         0 B  No Media
      Volume 1     K   System Rese  NTFS   Partition    499 MB  Healthy    System
      Volume 2     C   Windows      NTFS   Partition    689 GB  Healthy    Boot
      Volume 3     D   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
      Volume 4     E   ESD-USB      FAT32  Removable     32 GB  Healthy
    
    DISKPART> sel dis 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> det dis
    
    Hitachi HTS727575A9E364
    Disk ID: 2CE38090
    Type   : RAID
    Status : Online
    Path   : 0
    Target : 1
    LUN ID : 0
    Location Path : PCIROOT(0)#PCI(1F02)#RAID(P00T01L00)
    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 1     K   System Rese  NTFS   Partition    499 MB  Healthy    System
      Volume 2     C   Windows      NTFS   Partition    689 GB  Healthy    Boot
      Volume 3     D   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
    
    DISKPART> lis par
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Primary            499 MB  1024 KB
      Partition 2    Primary            689 GB   500 MB
      Partition 3    Primary           2056 MB   689 GB
      Partition 4    Recovery          7148 MB   691 GB
    
    DISKPART> sel par 1
    
    Partition 1 is now the selected partition.
    
    DISKPART> det par
    
    Partition 1
    Type  : 07
    Hidden: No
    Active: Yes
    Offset in Bytes: 1048576
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
    * Volume 1     K   System Rese  NTFS   Partition    499 MB  Healthy    System
    
    DISKPART> sel par 2
    
    Partition 2 is now the selected partition.
    
    DISKPART> det par
    
    Partition 2
    Type  : 07
    Hidden: No
    Active: No
    Offset in Bytes: 524288000
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
    * Volume 2     C   Windows      NTFS   Partition    689 GB  Healthy    Boot
    
    DISKPART> sel par 3
    
    Partition 3 is now the selected partition.
    
    DISKPART> det par
    
    Partition 3
    Type  : 0C
    Hidden: No
    Active: No
    Offset in Bytes: 740501225472
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
    * Volume 3     D   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
    
    DISKPART> sel par 4
    
    Partition 4 is now the selected partition.
    
    DISKPART> det par
    
    Partition 4
    Type  : 27
    Hidden: No
    Active: No
    Offset in Bytes: 742657097728
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
    * Volume 5                      RAW    Partition   7148 MB  Healthy    Hidden
    
    DISKPART> sel par 5
    
    The specified partition is not valid.
    Please select a valid partition.
    
    There is no partition selected.
    
    DISKPART> sel vol 5
    
    The volume you selected is not valid or does not exist.
    
    There is no volume selected.
    
    DISKPART> exit
    
    Leaving DiskPart...
    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: 238da88d-49fb-11e9-92c9-c3d8e506f5ea
        Recovery image location:
        Recovery image index:      0
        Custom image location:
        Custom image index:        0
    
    REAGENTC.EXE: Operation Successful.
    
    PS C:\windows\system32> reagentc /enable
    REAGENTC.EXE: The Windows RE image was not found.
    
    PS C:\windows\system32>
    Options to recover a RAW recovery partition or create a new one-ten-forums-mini-tool-3-16.png

    Options to recover a RAW recovery partition or create a new one-ten-forums-sea-tools-long-generic-pass-3-16-2020.png



    Options to recover a RAW recovery partition or create a new one-ten-forums-mini-tool-recovery-right-click-explore.png


    Attachment 270709
    Attachment 270710
    Last edited by zbook; 16 Mar 2020 at 19:40.
      My Computer


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

    Code:
    diskpart
    select disk 0
    list partition
    select partition 4
    format quick fs=ntfs label="WinRE Tools"
    assign letter="T"
    exit
    md T:\Recovery\WindowsRE
    xcopy /h C:\Windows\System32\Recovery\Winre.wim T:\Recovery\WindowsRE\
    Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target C:\Windows
    this is assuming the winre.wim is in it's default location
      My Computer


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

    Diskpart encountered an error:

    Code:
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\windows\system32> diskpart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: DESKTOP-K2CP43S
    
    DISKPART> sel dis 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> lis par
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Primary            499 MB  1024 KB
      Partition 2    Primary            689 GB   500 MB
      Partition 3    Primary           2056 MB   689 GB
      Partition 4    Recovery          7148 MB   691 GB
    
    DISKPART> sel par 4
    
    Partition 4 is now the selected partition.
    
    DISKPART> format quick fs=ntfs label="WinRE Tools"
    
        0 percent completed
    
    DiskPart has encountered an error: The parameter is incorrect.
    See the System Event Log for more information.
    
    DISKPART> format quick fs=ntfs label="WinRE Tools"
    
        0 percent completed
    
    DiskPart has encountered an error: The parameter is incorrect.
    See the System Event Log for more information.
    
    DISKPART>
      My Computer


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

    Could there be a bad sector within the windows recovery partition preventing format quick?
    Would format without quick be another option to try?
    If so what is the command line?

    WinRE.wim is in the right click mini tool partition right click explore.
      My Computer


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

    Code:
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\windows\system32> diskpart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: DESKTOP-K2CP43S
    
    DISKPART> sel dis 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> lis par
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Primary            499 MB  1024 KB
      Partition 2    Primary            689 GB   500 MB
      Partition 3    Primary           2056 MB   689 GB
      Partition 4    Recovery          7148 MB   691 GB
    
    DISKPART> sel par 4
    
    Partition 4 is now the selected partition.
    
    DISKPART> format quick fs=ntfs label="WinRE Tools"
    
        0 percent completed
    
    DiskPart has encountered an error: The parameter is incorrect.
    See the System Event Log for more information.
    
    DISKPART> format quick fs=ntfs label="WinRE Tools"
    
        0 percent completed
    
    DiskPart has encountered an error: The parameter is incorrect.
    See the System Event Log for more information.
    
    DISKPART> format quick fs=ntfs
    
        0 percent completed
    
    DiskPart has encountered an error: The parameter is incorrect.
    See the System Event Log for more information.
    
    DISKPART>
      My Computer


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

    but partition explorer is showing me - winre.wim is in partition 4 & its NTFS
    so not sure why reagentc /info shows disabled and winre image not found

    Code:
    diskpart
    select disk 0
    list partition
    select partition 4
    assign letter="T"
    exit
    Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target C:\Windows
    reboot > then reagentc /info
      My Computer


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

    It displayed:
    REAGENTC.EXE: The Windows RE image cannot be stored in the specified volume. Use the RETAIN command in DISKPART to prepare the volume and try again.


    Code:
    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Try the new cross-platform PowerShell https://aka.ms/pscore6
    
    PS C:\windows\system32> diskpart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: DESKTOP-K2CP43S
    
    DISKPART> sel dis 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> lis par
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Primary            499 MB  1024 KB
      Partition 2    Primary            689 GB   500 MB
      Partition 3    Primary           2056 MB   689 GB
      Partition 4    Recovery          7148 MB   691 GB
    
    DISKPART> sel par 4
    
    Partition 4 is now the selected partition.
    
    DISKPART> assign letter=t
    
    DiskPart successfully assigned the drive letter or mount point.
    
    DISKPART> exit
    
    Leaving DiskPart...
    PS C:\windows\system32> Reagentc /Setreimage /Path T:\Recovery\WindowsRE /Target C:\Windows
    REAGENTC.EXE: The Windows RE image cannot be stored in the specified volume. Use the RETAIN command in DISKPART to prepare the volume and try again.
    
    PS C:\windows\system32>

    It has not yet been rebooted.
      My Computer


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

    RETAIN - Place a retained partition under a simple volume.
      My Computer


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

    I've read this link:
    https://docs.microsoft.com/en-us/win...ommands/retain

    What is the command line?



    What do you think about chkdsk /r /v t: ?
    or
    select partition 4
    format fs=ntfs (no quick) ?
      My Computer


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

    to save winre.wim
    xcopy /h T:\Recovery\WindowsRE\Winre.wim C:\Windows\System32\Recovery\

    would think
    select partition 4
    retain
      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 23:44.
Find Us




Windows 10 Forums