Automatic repair at boot after completing hardware diagnostics  

Page 1 of 2 12 LastLast

  1. Posts : 40,847
    windows 10 professional version 1607 build 14393.969 64 bit
       #1

    Automatic repair at boot after completing hardware diagnostics


    On this notebook the HP hardware diagnostics extensive test was ran yesterday and took approximately 11 hours.
    It passed the extensive testing (RAM, Drive, motherboard,GPU, CPU, etc.)

    Today when the notebook was powered on it went into automatic repair.
    Windows recovery on the computer was opened and I was not able to find the srttrail.txt report from today.

    This notebook had not been using regularly and it does not have a backup image.

    The operating system is Windows 10 1909

    Chkdsk /r /v was ran and it found no drive file system problems.

    Currently the computer is booted using Kyhi boot rescue.

    Also attached to the computer are Windows 10 iso 1909 flash drive and HP hardware diagnostic flash drive.


    This was diskpart output using Kyhi boot rescue:

    Code:
    Microsoft Windows [Version 10.0.14393]
    (c) 2016 Microsoft Corporation. All rights reserved.
    
    x:\windows\system32>diskpart
    
    Microsoft DiskPart version 10.0.14393.0
    
    Copyright (C) 1999-2013 Microsoft Corporation.
    On computer: MININT-PEDS76
    
    DISKPART> lis dis
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          698 GB      0 B
      Disk 1    Online           29 GB      0 B
      Disk 2    Online           58 GB      0 B
      Disk 3    Online          115 GB      0 B
    
    DISKPART> lis vol
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     J   HP OJ8710    CDFS   DVD-ROM      590 MB  Healthy
      Volume 1     C   System Rese  NTFS   Partition    499 MB  Healthy
      Volume 2     G   Windows      NTFS   Partition    689 GB  Healthy
      Volume 3     H   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
      Volume 4     I   Recovery     NTFS   Partition   7148 MB  Healthy    Hidden
      Volume 5     D                FAT32  Removable     29 GB  Healthy
      Volume 6     E   ESD-USB      FAT32  Removable     32 GB  Healthy
      Volume 7     F   HP_TOOLS     FAT32  Removable    115 GB  Healthy
    
    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> det dis
    
    Hitachi Hitachi
    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  : 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   System Rese  NTFS   Partition    499 MB  Healthy
      Volume 2     G   Windows      NTFS   Partition    689 GB  Healthy
      Volume 3     H   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
      Volume 4     I   Recovery     NTFS   Partition   7148 MB  Healthy    Hidden
    
    DISKPART> sel dis 1
    
    Disk 1 is now the selected disk.
    
    DISKPART> det dis
    
    SanDisk Cruzer Glide USB Device
    Disk ID: F76A1F2C
    Type   : USB
    Status : Online
    Path   : 0
    Target : 0
    LUN ID : 0
    Location Path : UNAVAILABLE
    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 5     D                FAT32  Removable     29 GB  Healthy
    
    DISKPART> sel dis 2
    
    Disk 2 is now the selected disk.
    
    DISKPART> det dis
    
    SanDisk Cruzer Glide USB Device
    Disk ID: 2E2B553C
    Type   : USB
    Status : Online
    Path   : 0
    Target : 0
    LUN ID : 0
    Location Path : UNAVAILABLE
    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 6     E   ESD-USB      FAT32  Removable     32 GB  Healthy
    
    DISKPART> sel dis 3
    
    Disk 3 is now the selected disk.
    
    DISKPART> det dis
    
    PNY USB 3.0 FD USB Device
    Disk ID: A744BA39
    Type   : USB
    Status : Online
    Path   : 0
    Target : 0
    LUN ID : 0
    Location Path : UNAVAILABLE
    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 7     F   HP_TOOLS     FAT32  Removable    115 GB  Healthy
    
    DISKPART>


    These were log collector results using Kyhi boot rescue:

    MININT-PEDS76-(2020-01-09_16-07-40).zip
    MININT-PEDS76-(2020-01-09_16-10-26).zip


    What troubleshooting is available to find the cause and fix the boot failure?
      My Computer


  2. Posts : 7,755
    windows 10
       #2

    Disconnect the usb for a start
    whats worrying is
    DISKPART> lis dis

    Disk ### Status Size Free Dyn Gpt
    -------- ------------- ------- ------- --- ---
    Disk 0 Online 698 GB 0 B
    Disk 1 Online 29 GB 0 B
    Disk 2 Online 58 GB 0 B
    Disk 3 Online 115 GB 0 B

    Saying all the disk are full have you checked that?
      My Computer


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

    That may be a fluke when running Kyhi boot rescue as this is disk management:

    Automatic repair at boot after completing hardware diagnostics-disk-management-1-9-2020.png
      My Computer


  4. Posts : 7,755
    windows 10
       #4

    All the removable drive have active bootable paritions you need too remove al them for now as that can confuse the issue. If it doesnt recover then down the latest ISO and boot from that and try repair it will often repair from the iso as windows isnt running
      My Computer


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

    These were the diskpart results using the windows 10 iso before detaching the flash drives.

    other commands and results too:

    Code:
    X:\sources>bootrec /fixmbr
    The operation completed successfully.
    
    X:\sources>bootrec /fixboot
    Access is denied.
    
    X:\sources>bootrec /rebuildbcd
    Scanning all disks for Windows installations.
    
    Please wait, since this may take a while...
    
    Successfully scanned Windows installations.
    Total identified Windows installations: 1
    [1]  G:\Windows
    Add installation to boot list? Yes(Y)/No(N)/All(A):y
    The requested system device cannot be found.
    
    X:\sources>bcdedit | find "osdevice"
    
    X:\sources>diskpart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: MININT-36LLEPL
    
    DISKPART> lis dis
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          698 GB      0 B
      Disk 1    Online           29 GB      0 B
      Disk 2    Online           58 GB    26 GB
      Disk 3    Online          115 GB    62 MB
    
    DISKPART> sel dis 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> det dis
    
    Hitachi HTS727575A9E364
    Disk ID: 2CE38090
    Type   : RAID
    Status : Online
    Path   : 6
    Target : 0
    LUN ID : 0
    Location Path : PCIROOT(0)#PCI(1F02)#RAID(P06T00L00)
    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   System Rese  NTFS   Partition    499 MB  Healthy
      Volume 2     G   Windows      NTFS   Partition    689 GB  Healthy
      Volume 3     H   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
      Volume 7     I   Recovery     NTFS   Partition   7148 MB  Healthy    Hidden
    
    DISKPART> exit
    
    Leaving DiskPart...
    
    X:\sources>sfc /scannow /offbootdir=C:\ /offwindir=C:\windows
    
    Windows Resource Protection could not start the repair service.
    
    X:\sources>bcdedit /export C:\bcdbackup192020
    The store export operation has failed.
    The requested system device cannot be found.
    
    X:\sources>attrib C:\boot\bcd -h -r -s
    
    X:\sources>ren c:\boot\bcd bcd.old
    
    X:\sources>bootrec /rebuildbcd
    Scanning all disks for Windows installations.
    
    Please wait, since this may take a while...
    
    Successfully scanned Windows installations.
    Total identified Windows installations: 1
    [1]  G:\Windows
    Add installation to boot list? Yes(Y)/No(N)/All(A):a
    The requested system device cannot be found.
    
    
    X:\sources>sfc /scannow /offwindir=C:\windows /offbootdir=c:\windows
    
    Windows Resource Protection could not start the repair service.
    
    X:\sources>dism /image:C:\ /cleanup-image /revertpendingactions
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    
    Error: 2
    
    Unable to access the image.
    Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder.
    
    The DISM log file can be found at X:\windows\Logs\DISM\dism.log
    
    X:\sources>dism /image:G:\ /cleanup-image /revertpendingactions
    
    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1
    
    Image Version: 10.0.18363.535
    
    The scratch directory size might be insufficient to perform this operation. This can cause unexpected behavior.
    Use the /ScratchDir option to point to a folder with sufficient scratch space. The recommended size is at least 1024 MB.
    
    Reverting pending actions from the image...
    
    Error: 2
    
    An error occurred reverting the pending actions from the image.
    For more information, review the log file.
    
    The DISM log file can be found at X:\windows\Logs\DISM\dism.log
    
    X:\sources>


    Power on after removing all flash drives displayed:
    The boot configuration data for your PC is missing or contains errors.

    File: \Boot\BCD
    Error code: 0xc000000f
      My Computer


  6. Posts : 5,122
    Windows 11 Pro 64-bit
       #6

    Hi @zbook

    Can you please execute the following command to find out if BCD file stored at C: partition.

    Code:
    Dir /a /b C:\Boot\BCD
      My Computer


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

    These were performed before your post:

    Code:
    Microsoft Windows [Version 10.0.18362.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    X:\windows\system32>diskpart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: MININT-LB7RISA
    
    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     H                       DVD-ROM         0 B  No Media
      Volume 1     C   System Rese  NTFS   Partition    499 MB  Healthy
      Volume 2     E   Windows      NTFS   Partition    689 GB  Healthy
      Volume 3     F   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
      Volume 4     D   ESD-USB      FAT32  Removable     32 GB  Healthy
      Volume 5     G   Recovery     NTFS   Partition   7148 MB  Healthy    Hidden
    
    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 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     C   System Rese  NTFS   Partition    499 MB  Healthy
    
    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     E   Windows      NTFS   Partition    689 GB  Healthy
    
    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     F   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
    
    DISKPART> sel par 3
    
    Partition 3 is now the selected partition.
    
    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     G   Recovery     NTFS   Partition   7148 MB  Healthy    Hidden
    
    DISKPART> exit
    
    Leaving DiskPart...
    
    X:\windows\system32>

    Code:
    X:\windows\system32>bcdedit
    
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    device                  partition=C:
    path                    \bootmgr
    description             Windows Boot Manager
    locale
    default                 {default}
    displayorder            {default}
    timeout                 30
    
    Windows Boot Loader
    -------------------
    identifier              {default}
    device                  partition=E:
    path                    \Windows\system32\winload.exe
    description             Windows 10 Pro
    locale
    recoverysequence        {current}
    recoveryenabled         Yes
    osdevice                partition=E:
    systemroot              \Windows
    bootmenupolicy          Standard
    
    X:\windows\system32>bcdedit | find "osdevice"
    osdevice                partition=E:
    
    X:\windows\system32>bootrec /fixmbr
    The operation completed successfully.
    
    X:\windows\system32>bootrec /fixboot
    Access is denied.
    
    X:\windows\system32>bootrec /scanos
    Scanning all disks for Windows installations.
    
    Please wait, since this may take a while...
    
    Successfully scanned Windows installations.
    Total identified Windows installations: 0
    The operation completed successfully.
    
    X:\windows\system32>bootrec /rebuildbcd
    Scanning all disks for Windows installations.
    
    Please wait, since this may take a while...
    
    Successfully scanned Windows installations.
    Total identified Windows installations: 0
    The operation completed successfully.


    Code:
    X:\Windows>dir /a /b C:\Boot\BCD
    BCD
    
    X:\Windows>bootsect /nt60 all
    Target volumes will be updated with BOOTMGR compatible bootcode.
    
    C: (\\?\Volume{2ce38090-0000-0000-0000-100000000000})
    
        Successfully updated NTFS filesystem bootcode.
    
    D: (\\?\Volume{2fd9e9a6-49fb-11e9-a0ef-806e6f6e6963})
    
        Successfully updated FAT32 filesystem bootcode.
    
    E: (\\?\Volume{2ce38090-0000-0000-0000-401f00000000})
    
        Successfully updated NTFS filesystem bootcode.
    
    F: (\\?\Volume{2ce38090-0000-0000-0000-5069ac000000})
    
        Successfully updated FAT32 filesystem bootcode.
    
    G: (\\?\Volume{2ce38090-0000-0000-0000-d0e9ac000000})
    
        Successfully updated NTFS filesystem bootcode.
    
    Bootcode was successfully updated on all targeted volumes.
    
    X:\Windows>bootrec /fixmbr
    The operation completed successfully.
    
    X:\Windows>bootrec /fixboot
    The operation completed successfully.
    
    X:\Windows>bootrec /scanos
    Scanning all disks for Windows installations.
    
    Please wait, since this may take a while...
    
    Successfully scanned Windows installations.
    Total identified Windows installations: 0
    The operation completed successfully.
    
    X:\Windows>bootrec /rebuildbcd
    Scanning all disks for Windows installations.
    
    Please wait, since this may take a while...
    
    Successfully scanned Windows installations.
    Total identified Windows installations: 0
    The operation completed successfully.
    
    X:\Windows>

    The fixboot access denied was fixed and it completed successfully.

    Rebuildbcd had displayed 1 copy and later 0 copy.
    The attrib command did not work earlier.
    The scannow and revertpendingactions did not work earlier.

    These were not rerun.
    Last edited by zbook; 10 Jan 2020 at 05:09.
      My Computer


  8. Posts : 2,798
    Linux Mint 20.1 Win10Prox64
       #8

    Samuria said:
    Disconnect the usb for a start
    Samuria said:
    whats worrying is
    DISKPART> lis dis

    Disk ### Status Size Free Dyn Gpt
    -------- ------------- ------- ------- --- ---
    Disk 0 Online 698 GB 0 B
    Disk 1 Online 29 GB 0 B
    Disk 2 Online 58 GB 0 B
    Disk 3 Online 115 GB 0 B

    Saying all the disk are full have you checked that?

    Why does it worry you ??? What it meant is there's no unallocated space available on the disk, not on the partition.

    Boot up KYHI Rescue disk. Open admin command prompt then type:
    echo list volume | diskpart
    You'll get a list of drive letters. Identify which letter is assigned to:System Reserved and which letter assigned to: Windows

    As I see in post #1. System Reserved was assigned to C: and Windows was assigned to G:
    Make sure they stay the same, if so:

    Type: bcdboot G:\Windows /s C: /f BIOS ===> This will rebuild the BCD.

    Don't use all the commands:bootrec /fixmbr, bootrec /fixboot etc....

    NOTE: You can also use Macrium Rescue disk to rebuild the BCD.
    Last edited by topgundcp; 10 Jan 2020 at 19:43.
      My Computer


  9. Posts : 7,755
    windows 10
       #9

    As stated you must remove all drives but c as it's giving problems
      My Computer


  10. Posts : 40,847
    windows 10 professional version 1607 build 14393.969 64 bit
    Thread Starter
       #10

    topgundcp said:
    Boot up KYHI Rescue disk. Open admin command prompt then type:
    echo list volume | diskpart
    You'll get a list of drive letters. Identify which letter is assigned to:System Reserved and which letter assigned to: Windows

    As I see in post #1. System Reserved was assigned to C: and Windows was assigned to G:
    Make sure they stay the same, if so:

    Type: bcdboot G:\Windows /s C: /f BIOS ===> This will rebuild the BCD.

    Don't use all the commands:bootrec /fixmbr, bootrec /fixboot etc....

    NOTE: You can also use Macrium Rescue disk to rebuild the BCD.

    It no longer can boot using Kyhi boot rescue as it displays: Recovery
    Your PC / Device needs to be repaired.
    There isn't enough memory available to create a ramdisk device.
    Error code: 0xc0000017
    You'll need to use recovery tools. If you don't have any installation media (like a disc or USB device), contact your PC administrator or PC/device manufacturer.

    It can boot to a Windows 10 iso.


    There were three external flash drives and a DVD when the disk management had been posted. They were all removed or detached. Only the bootable windows 10 iso was used startng with post #7.

    Currently it booted to preparing automatic repair > diagnosing your PC > Windows RE > advanced options >
    (these are the available options: startup repair, startup settings, command prompt, uninstall updates, system restore, and system image recovery)

    Safe mode, safe mode with networking, and safe mode with command prompt all open preparing automatic repair then diagnosing your PC to advanced options.

    The Windows RE on the PC opened to command prompt.

    This is the windows RE command prompt with no attached flash drives and an empty optical drive:

    Code:
    Microsoft Windows [Version 10.0.18362.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    X:\windows\system32>diskpart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: MININT-V34TNRM
    
    DISKPART> lis dis
    
      Disk ###  Status         Size     Free     Dyn  Gpt
      --------  -------------  -------  -------  ---  ---
      Disk 0    Online          698 GB      0 B
    
    DISKPART> lis vol
    
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     G                       DVD-ROM         0 B  No Media
      Volume 1     C   System Rese  NTFS   Partition    499 MB  Healthy
      Volume 2     D   Windows      NTFS   Partition    689 GB  Healthy
      Volume 3     E   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
      Volume 4     F   Recovery     NTFS   Partition   7148 MB  Healthy    Hidden
    
    DISKPART> sel dis 0
    
    Disk 0 is now the selected disk.
    
    DISKPART> detail 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  : 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   System Rese  NTFS   Partition    499 MB  Healthy
      Volume 2     D   Windows      NTFS   Partition    689 GB  Healthy
      Volume 3     E   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
      Volume 4     F   Recovery     NTFS   Partition   7148 MB  Healthy    Hidden
    
    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> exit
    
    Leaving DiskPart...
    
    X:\windows\system32>bcdedit /enum
    
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    device                  partition=C:
    path                    \bootmgr
    description             Windows Boot Manager
    locale
    default                 {default}
    displayorder            {default}
    timeout                 30
    
    Windows Boot Loader
    -------------------
    identifier              {default}
    device                  partition=D:
    path                    \Windows\system32\winload.exe
    description             Windows 10 Pro
    locale
    recoverysequence        {current}
    recoveryenabled         Yes
    osdevice                partition=D:
    systemroot              \Windows
    bootmenupolicy          Standard
    
    X:\windows\system32>bcdedit | find "osdevice"
    osdevice                partition=D:
    
    X:\windows\system32>notepad
    
    X:\windows\system32>

    Code:
    X:\windows\system32>echo list volume | diskpart
    
    Microsoft DiskPart version 10.0.18362.1
    
    Copyright (C) Microsoft Corporation.
    On computer: MININT-V34TNRM
    
    DISKPART>
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     G                       DVD-ROM         0 B  No Media
      Volume 1     C   System Rese  NTFS   Partition    499 MB  Healthy
      Volume 2     D   Windows      NTFS   Partition    689 GB  Healthy
      Volume 3     E   HP_TOOLS     FAT32  Partition   2056 MB  Healthy
      Volume 4     F   Recovery     NTFS   Partition   7148 MB  Healthy    Hidden
    
    DISKPART>
    X:\windows\system32>bcdboot D:\windows /s C: /f Bios
    Boot files successfully created.

    Continue to Windows 10 (without reboot) displayed:

    Recovery
    Your PC/Device needs to be repaired.
    The operating system couldn't be loaded because the system registry file is missing or contains errors.
    File:\windows\system32\config\system
    Error code: 0xc0000225
    You'll need to use recovery tools. If you don't have any installation media (like a disc or USB device), contact your PC administrator or PC/device manufacturer.
    Last edited by zbook; 10 Jan 2020 at 10:15.
      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 12:21.
Find Us




Windows 10 Forums