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

Page 2 of 7 FirstFirst 1234 ... LastLast

  1. Posts : 38,435
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #11

    Post 9 was edited before seeing post 10.
      My Computer


  2. Posts : 38,435
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #12

    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> xcopy /h T:\Recovery\WindowsRE\Winre.wim C:\Windows\System32\Recovery\
    Invalid drive specification
    0 File(s) copied
    PS C:\windows\system32>
      My Computer

  3. Kyhi's Avatar
    Posts : 3,554
    Windows 3.1 to Windows 10
       #13

    it is show as ntfs - except via diskpart and disk management
    never seen Retain
    not sure why can't format via diskpart

    drive T should be visible via File Explorer ???

    else save winre.wim and delete - recreate partition

    I learning too as you go along
      My Computer


  4. Posts : 38,435
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #14

    This is the latest PS:

    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: 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> 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> 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> det par
    
    Partition 4
    Type  : 27
    Hidden: No
    Active: No
    Offset in Bytes: 742657097728
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
    * Volume 5     T                RAW    Partition   7148 MB  Healthy    Hidden
    
    DISKPART>

    Options to recover a RAW recovery partition or create a new one-ten-forums-file-explorer-3-16-2020.png
      My Computer

  5. Kyhi's Avatar
    Posts : 3,554
    Windows 3.1 to Windows 10
       #15

    does list volume show a volume 5
      My Computer


  6. Posts : 38,435
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #16

    Volume 5 is displayed under detail partition 4.
    When sel volume is selected it does not exist:


    Under bootloader: T: appeared
    ramdisk=[T:]\Recovery\WindowsRE\Winre.wim,{238da88e-49fb-11e9-92c9-c3d8e506f5ea}


    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=[T:]\Recovery\WindowsRE\Winre.wim,{238da88e-49fb-11e9-92c9-c3d8e506f5ea}
    path                    \windows\system32\winload.exe
    description             Windows Recovery Environment
    inherit                 {bootloadersettings}
    displaymessage          Recovery
    osdevice                ramdisk=[T:]\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=T:
    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> sel dis 0
    
    Disk 0 is now the selected disk.
    
    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> 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> det par
    
    Partition 4
    Type  : 27
    Hidden: No
    Active: No
    Offset in Bytes: 742657097728
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
    * Volume 5     T                RAW    Partition   7148 MB  Healthy    Hidden
    
    DISKPART> sel vol 1
    
    Volume 1 is the selected volume.
    
    DISKPART> det vol
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
    * Disk 0    Online          698 GB      0 B
    
    Read-only              : No
    Hidden                 : No
    No Default Drive Letter: No
    Shadow Copy            : No
    Offline                : No
    BitLocker Encrypted    : No
    Installable            : Yes
    
    Volume Capacity        :  498 MB
    Volume Free Space      :  464 MB
    
    DISKPART> sel vol 2
    
    Volume 2 is the selected volume.
    
    DISKPART> det vol
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
    * Disk 0    Online          698 GB      0 B
    
    Read-only              : No
    Hidden                 : No
    No Default Drive Letter: No
    Shadow Copy            : No
    Offline                : No
    BitLocker Encrypted    : No
    Installable            : Yes
    
    Volume Capacity        :  689 GB
    Volume Free Space      :  571 GB
    
    DISKPART> sel vol 3
    
    Volume 3 is the selected volume.
    
    DISKPART> det vol
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
    * Disk 0    Online          698 GB      0 B
    
    Read-only              : No
    Hidden                 : No
    No Default Drive Letter: No
    Shadow Copy            : No
    Offline                : No
    BitLocker Encrypted    : No
    Installable            : Yes
    
    Volume Capacity        : 2048 MB
    Volume Free Space      : 2029 MB
    
    DISKPART> sel vol 4
    
    Volume 4 is the selected volume.
    
    DISKPART> det vol
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
    * Disk 1    Online           58 GB    26 GB
    
    Read-only              : No
    Hidden                 : No
    No Default Drive Letter: No
    Shadow Copy            : No
    Offline                : No
    BitLocker Encrypted    : No
    Installable            : Yes
    
    Volume Capacity        :   31 GB
    Volume Free Space      :   27 GB
    
    DISKPART> sel vol 5
    
    The volume you selected is not valid or does not exist.
    
    There is no volume selected.
    
    DISKPART>
      My Computer

  7. Kyhi's Avatar
    Posts : 3,554
    Windows 3.1 to Windows 10
       #17

    try (what do we got to lose)
    diskpart
    sel dis 0
    sel par 4
    retain
    lis vol
      My Computer


  8. Posts : 38,435
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #18

    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> sel par 4
    
    Partition 4 is now the selected partition.
    
    DISKPART> retain
    
    Virtual Disk Service error:
    The object is not found.
    
    
    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> 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>
      My Computer

  9. jumanji's Avatar
    Posts : 5,651
    Windows 10 Home 64bit Version 20H2
       #19

    zbook said:
    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: ?
    I have in many cases used this command "CHKDSK K: /f /v /r /x Press enter. Note: Replace K: with the actual drive letter"

    but only after running TestDisk and TestDisk finds the Volume Boot Sector and MFT are OK.
      My Computer

  10. Kyhi's Avatar
    Posts : 3,554
    Windows 3.1 to Windows 10
       #20

    Code:
    Reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE\ /Target C:\Windows
      My Computer


 
Page 2 of 7 FirstFirst 1234 ... LastLast

  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 06:52.
Find Us




Windows 10 Forums