Loop: Prepare Automatic Repair - Diagnosing your PC, error

Page 4 of 8 FirstFirst ... 23456 ... LastLast

  1. Posts : 5,299
    Windows 11 Pro 64-bit
       #31

    Yes execute the command from default X: path.

    I have seen the log file.

    Root cause found:
    ---------------------------
    A recently serviced boot binary is corrupt.

    Repair action: Abort pending update installations
    Result: Failed. Error code = 0x82f
    Time taken = 4734 ms
      My Computer


  2. Posts : 224
    W10 pro
    Thread Starter
       #32

    THE SEPARATION BETWEEN words in the commands are single space? can be two or more spaces?

    Code:
    Sfc  /Scannow   /OFFBOOTDIR=C:\   /OFFWINDIR=C:\Windows
    
    mkdir C:\scratch
    DISM    /Image:C:\     /Cleanup-Image   /RevertPendingActions  /ScratchDir:C:\Scratch
      My Computer


  3. Posts : 7
    Windows 10
       #33

    lse123 said:
    THE SEPARATION BETWEEN words in the commands are single space? can be two or more spaces?

    Code:
    Sfc  /Scannow   /OFFBOOTDIR=C:\   /OFFWINDIR=C:\Windows
    
    mkdir C:\scratch
    DISM    /Image:C:\     /Cleanup-Image   /RevertPendingActions  /ScratchDir:C:\Scratch
    Hello friend,
    I have the same desktop, HP420.The same thing had happened to me. You have to reinstall Windows from the scratch, and if during this process occurs an error, you have to change your hard drive. Unfortunately, I remember having this issue after a Windows Update and I was working to it for 5 days but to no avail. I wish you all the best of luck!
      My Computer


  4. Posts : 224
    W10 pro
    Thread Starter
       #34

    I went to run the two commands

    A
    BIOS MENU > Boot Menu > Legacy DVD-RW
    I can only enter bootable DVD from choosing: // System HP Z440
    ...
    Legacy DVD-RW..
    ...
    I HAVE TRIED
    ...
    UEFI DVDRW..
    ...
    but I can not boot, return me in BIOS MENU


    BUT
    msinfo32
    gave me in the past
    Loop: Prepare Automatic Repair - Diagnosing your PC, error-hp-z440-system-info-msinfo32-uefi-z440.jpg

    B
    SYSTEM DRIVE IS X:/
    So stopped
    continue run with C:/ my actual Windows drive...?

    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.


    X:\windows\system32>notepad


    X:\windows\system32>echo %SystemDrive%
    X:


    X:\windows\system32>c:


    C:\>dir
    Volume in drive C is System
    Volume Serial Number is 131B-C964


    Directory of C:\


    08/20/2021 10:16 AM <DIR> ESD
    06/02/2021 03:07 PM <DIR> PerfLogs
    10/23/2021 07:42 AM <DIR> Program Files
    10/23/2021 07:42 AM <DIR> Program Files (x86)
    07/12/2021 11:59 PM <DIR> SWSetup
    07/12/2021 11:59 PM <DIR> system.sav
    09/12/2021 05:54 AM <DIR> Users
    10/23/2021 08:09 AM <DIR> Windows
    0 File(s) 0 bytes
    8 Dir(s) 846,001,831,936 bytes free


    C:\>cd "Program Files"


    C:\Program Files>dir
    Volume in drive C is System
    Volume Serial Number is 131B-C964


    Directory of C:\Program Files


    10/23/2021 07:42 AM <DIR> .
    10/23/2021 07:42 AM <DIR> ..
    09/03/2021 09:47 AM <DIR> 7-Zip
    08/22/2021 03:35 AM <DIR> Adobe
    09/06/2021 01:54 AM <DIR> Autodesk
    Last edited by lse123; 24 Oct 2021 at 08:16.
      My Computer


  5. Posts : 5,299
    Windows 11 Pro 64-bit
       #35

    Did any of the commands give you error message?

    Can you please run the Startup Repair and when finished attached the log file.
      My Computer


  6. Posts : 224
    W10 pro
    Thread Starter
       #36

    I HAD WRONG
    I booted UEFI DVDRW
    went to cmd prompt

    here 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 what to run on the cmd prompt...????
    These two command take a long time to execute?
      My Computer


  7. Posts : 5,299
    Windows 11 Pro 64-bit
       #37

    The Sfc command repairs corrupted Windows 10 system files, so it will take some time to finish.

    Second command reverts Windows pending actions, this command should not take long to execute.
      My Computer


  8. Posts : 5,299
    Windows 11 Pro 64-bit
       #38

    The Bcdedit /enum | find "osdevice" command can be used to find out the drive letter of the Windows installed partition, the output of the Bcdedit command is similar to this osdevice partition=D:. The drive letter after partition= is the drive letter of the Windows partition.

    Don't use %SystemDrive% variable.
      My Computer


  9. Posts : 224
    W10 pro
    Thread Starter
       #39

    Rather than await so long, for Sfc command to execute, can try:

    Microsoft Windows Answers Forums at

    https://answers.microsoft.com/en-us/...&auth=1&page=1

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

    If fails according to Microsoft run instead:

    BCDBoot D:\Windows /s S: /f UEFI
    Where S letter efi partition -- see post - name the efi with letter S...

    Well, what to run...?


    Last edited by lse123; 24 Oct 2021 at 09:49.
      My Computer


  10. Posts : 5,299
    Windows 11 Pro 64-bit
       #40

    If you want you can execute BcdBoot command but EFI partition does not have drive letter assign to it.
    Execute the following command to assign S drive letter to EFI partition.
    Code:
    DiskPart
    
    Select  Vol  1   
               
    Assign  Letter=S      
      
    Exit
    
    BCDBoot  D:\Windows  /s  S:  /f  UEFI 
    
    
      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 21:14.
Find Us




Windows 10 Forums