Can NOT start up my PC: HP Z440: Prepare Automatic Repair - Diagnosing your PC

Anonymous
2021-10-23T05:26:32+00:00

Can NOT start up my PC: HP Z440

When booting up:

Prepare Automatic Repair - Diagnosing your PC

I see always

I have tried

1

Safe Mode, Uninstall the latest quality update, Restore back to point 18-10-2021 :

same symptom

2

Troubleshoot> Advanced options > Startup Repair:

same symptom

Status

Today in the morning I turn ON PC, I was offline[no cable ethernet], and while working prompt for an update[while was dis-connected], after this connected - checked some Gmail, etc. and after 30-min press UPDATE & RESTART,

And got this problem on startup...

well...?

I have a backup of C:/ with Acronis... I think of October 2021

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

61 answers

Sort by: Most helpful
  1. Anonymous
    2021-10-24T13:24:05+00:00

    can you tell me what to run on the cmd prompt...???? Can NOT start up my PC: HP Z440


    When booting up I am in a loop:


    Prepare Automatic Repair - Diagnosing your PC

    I booted UEFI DVDRW Windows 10 21H1 Installation Mediawent to cmd prompthere is:

    >>>

    Microsoft Windows [Version 10.0.19041.928]

    (c) Microsoft Corporation. All rights reserved.

    X:\Sources>notepad

    X:\Sources>echo %SystemDrive%

    X:

    X:\Sources>DiskPart

    Microsoft DiskPart version 10.0.19041.610

    Copyright (C) Microsoft Corporation.

    On computer: MININT-212GK9I

    DISKPART> List Vol

    Volume ### Ltr Label Fs Type Size Status Info


    Volume 0 C System NTFS Partition 930 GB Healthy

    Volume 1 FAT32 Partition 100 MB Healthy Hidden

    Volume 2 D NTFS Partition 502 MB Healthy Hidden

    Volume 3 E USB DISK FAT32 Removable 57 GB Healthy

    DISKPART> exit

    Leaving DiskPart...

    X:\Sources>c:

    C:>cd Windows

    C:\Windows>cd System32

    C:\Windows\System32>BCDEdit

    Windows Boot Manager


    identifier {bootmgr}

    device partition=\Device\HarddiskVolume2

    path \EFI\Microsoft\Boot\bootmgfw.efi

    description Windows Boot Manager

    locale en-US

    inherit {globalsettings}

    flightsigning Yes

    default {default}

    resumeobject {dedc9187-c3f7-11eb-ae4d-}

    displayorder {default}

    toolsdisplayorder {memdiag}

    timeout 30

    Windows Boot Loader


    identifier {default}

    device partition=C:

    path \WINDOWS\system32\winload.efi

    description Windows 10

    locale en-US

    inherit {bootloadersettings}

    recoverysequence {34cac3b1-b95a-11eb-a6b3-}

    displaymessageoverride Recovery

    recoveryenabled Yes

    isolatedcontext Yes

    flightsigning Yes

    allowedinmemorysettings 0x15000075

    osdevice partition=C:

    systemroot \WINDOWS

    resumeobject {dedc9187-c3f7-11eb-ae4d-}

    nx OptIn

    bootmenupolicy Standard

    C:\Windows\System32>

    can you tell me what to run on the cmd prompt...????

    Run from X:/.../ when boot DVD Windows 10

    Or from...? Or not matter?

    https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-10-24T08:19:36+00:00

    Thanks for your reply

    I think locale is en_US... i have us keyboard

    I have 2 X SSD + 1 X HDD DATA

    If disconnect ALL except system SSD C:/ Drive

    1

    (Btw take out power cord and I have to disconnect sata data or sata power cable or both or any??)

    IF I HAVE C:/ AND EFI PARTITIONS

    2

    I have assign letter to efi partition and run what commands... in command prompt? Please Only commands insert here

    3

    About the following, you suggest run if not work above? Or try first these... below... and if not working the above you say?

    bootrec /fixmbr

    bootrec /fixboot

    bcdedit /export c:\bcdbackup

    attrib c:\boot\bcd -h -r -s

    ren c:\boot\bcd bcd.old

    bootrec /rebuildbcd

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2021-10-24T07:02:52+00:00

    Well, I think it is D: for you. Try...

    DIR D:\ /a

    You should see familiar folders, especially a Windows, Users, & Program Files folder. But the problem is that when you get to...

    REN D:\boot\bcd bcd.old

    I don't think a folder named Boot exists. And it's unlikely your BCD is anywhere on the Windows drive. It will be on EFI or System Reserved. You have to try it the way I wrote. The simplest form of the command is...

    BCDBoot  D:\Windows

    But, if your installed language is not en-US, do the BCDEdit to see what your locale is & add it to the BCDBoot in the /L parameter. You'd end up like this...

    BCDBoot  D:\Windows /L en-US <<<But use your locale not mine

    It's only if that won't work that we need worry about the rest.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2021-10-24T02:55:32+00:00

    Thank you for your reply

    BTW

    In bios/uefi

    I can navigate with mouse... that's mean is UEFI...?

    I think this you say is complicated

    I think i should try:

    Easier way

    IF D: Is my C:/ disk

    I already ran:

    chkdsk d: /f /r

    // if yes for c: put c: or d: below?

    bootrec /fixmbr

    bootrec /fixboot

    bcdedit /export c:\bcdbackup

    attrib c:\boot\bcd -h -r -s

    ren c:\boot\bcd bcd.old

    bootrec /rebuildbcd

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2021-10-23T20:52:18+00:00

    One thing: Have you switched in BIOS from UEFI to Legacy or vice versa? Then, that could be the whole problem -- just switch it back & try to boot. Otherwise...

    It does look like D: is your Windows drive in the recovery environment going by those SrtTrail.txt reports. But you can doublecheck with DiskPart as in the following. Then, the main thing will be to determine whether you've got a UEFI or a Legacy boot. And let's do a BCDBoot (instead of BootRec) because BCDBoot also repairs other boot files, not just the BCD.

    (1) Have you backed up your user files? If not, here is a way at a Command Prompt...

    (a) Plug in a USB drive on which to copy your files.

    (b) Get to the Recovery Environment from that error message (Advanced Options button).

    (c) At the "Choose an Option" screen,

         click "Troubleshoot > Advanced Options > Command Prompt".

    (c) Enter Notepadat the Command Prompt. It opens in GUI mode.

    (d) In its File menu, select Open.

    (e) Set Notepad to display all file types with its requestor at bottom.

    The files you want are likely in the folders at "C:\Users&lt;your user name>". Remember to Refresh the screen after a paste. Additional notes...

    o  Notepad's left pane has only "Quick Access", "Libraries", & "This PC".

    o  Click This PC to switch from C: to the USB drive & vice versa.

    o  Double-click a drive or folder in the right pane to open it. Or just select it, then click the Open button at bottom. But ensure nothing is in the filename box, or you get an error message (if it isn't a text file).

    o  Right-click a file or folder, & select Copy. That seemed instantaneous.

    o  Go to the USB drive, right-click in Notepad's right pane, & select Paste.

         I had an hourglass for just about a minute - or was it two - for 1.3 GB.

    o  When the normal pointer reappears, right-click in the right pane, & select Refresh - or I think you never will see it.

    (2) Regenerate the BCD (Boot Configuration Data) & other boot files at the Command Prompt...

    (a) Enter these commands...

    DiskPart          <<<Enter DiskPart

    List  Vol           <<<Show the drive letters

    Exit                  <<<Leave DiskPart

    Here's what mine looks like in the recovery environment...

    DISKPART> List Vol

      Volume ### Ltr    Label            Fs              Type            Size     Status        Info

      -------------  --- -----------    ---------   ----------    --------- -----------   --------

      Volume 0      D                                        DVD-ROM        0 B  No Media

      Volume 1      C  PCR Hard     NTFS         Partition      930 GB  Healthy                <<<My Windows partition

      Volume 2          ESP               FAT32        Partition        99 MB Healthy      Hidden     <<<EFI System partition

      Volume 3          WinRE NTFS         Partition      847 MB Healthy

    DISKPART> Exit

    Leaving DiskPart...

    (b) Identify your Windows partition by its Label & Size, then enter...

    BCDBoot  D:\Windows            <<<Presuming your Windows partition is D: in that environment

    That's the simplest form of that command. It uses default values for everything else. (If your language is not En-US, then see below to add a proper /L locale parameter). If it fails, we can try giving it more parameters. In that case, can you tell which is your system partition? In my UEFI install, it is Volume 2 with the label ESP (EFI System Partition). It is FAT32 & about 100 MB. I would put a letter on it...

    DiskPart

    Select  Vol  2<<<But select your own volume number, not mine

    Assign  Letter=S<<<Give it letter S:

    Exit

    Then...

    BCDBoot  C:\Windows  /s  S:  /f  UEFI  /L  en-US

    Notes:

    (a) If yours is a Legacyinstall, it will be different. Put the letter on the System Reserved partition which likely is NTFS & also about 100 MB, if there is one. And use "/f  BIOS" instead of UEFI. Also, we'd want to ensure the System Reserved partition is the Active one. For that, add the command "Active" between Assign & Exit above. So, it would be...

    DiskPart

    Select  Vol  2<<<But select your own volume number, not mine

    Assign  Letter=S<<<Give it letter S: (unless it already has one)

    Active<<<Make it the Active partition

    Exit

    BCDBoot  D:\Windows  /s  S:  /f  BIOS  /L  en-US<<<Use your letters, not mine

    If there is no System Reserved partition, forget the letter S: & just use...

    BCDBoot  D:\Windows  /L  en-US<<<Use your letter for the Windows partition

    (b) Get the Locale value from BCDEdit...

    C:\WINDOWS\system32>BCDEdit

    Windows Boot Manager


    identifier        {bootmgr}

    device            partition=\Device\HarddiskVolume1     <<<What is your Device value? It will indicate whether

                                                                                                 there is a system partition at all. Sometimes there is

                                                                                                 none, then C: doubles as the System partition

    path               \EFI\Microsoft\Boot\bootmgfw.efi

    description     Windows Boot Manager

    locale             en-US                                                    <<<Locale

    inherit             {globalsettings}

    default            {current}

    resumeobject          {f8d976f9-df94-11ea-b1d0-74e6e2074932}

    displayorder            {current}

    toolsdisplayorder    {memdiag}

    timeout                   30

    Windows Boot Loader


    identifier                 {current}

    device                     partition=C:

    path                        \WINDOWS\system32\winload.efi <<<Does yours mention EFI here?

                                                                                                If not, then it is a Legacy install.

    description             Windows 10

    locale                      en-US

    inherit                     {bootloadersettings}

    recoverysequence               {f8d976fc-df94-11ea-b1d0-74e6e2074932}

    displaymessageoverride     CommandPrompt

    recoveryenabled     Yes

    isolatedcontext       Yes

    allowedinmemorysettings   0x15000075

    osdevice                 partition=C:

    systemroot             \WINDOWS

    resumeobject         {f8d976f9-df94-11ea-b1d0-74e6e2074932}

    nx                           OptIn

    bootmenupolicy    Standard

    I think that should do it. Post back any further question. Good luck.

    Was this answer helpful?

    0 comments No comments