Loop: Prepare Automatic Repair - Diagnosing your PC, error

Page 3 of 8 FirstFirst 12345 ... LastLast

  1. Posts : 224
    W10 pro
    Thread Starter
       #21

    Yes that's correct D:/
    But, if disconnect sata power from the rest, may be C:/Windows

    Well...
    Matters if C:/boot folder Not exist?
      My Computer


  2. Posts : 5,326
    Windows 11 Pro 64-bit
       #22

    The boot folder located EFI partition in \EFI\Microsoft\Boot.
      My Computer


  3. Posts : 224
    W10 pro
    Thread Starter
       #23

    If has No letter for it...? The efi partition

    bootrec /fixmbr
    bootrec /fixboot
    bcdedit /export c:\bcdbackup
    attrib c:\boot\bcd -h -r -s
    ren c:\boot\bcd bcd.old
    bootrec /rebuildbcd

    Also, needed try this first:

    Reset Windows Update in Windows 10


    ...?
      My Computer


  4. Posts : 5,326
    Windows 11 Pro 64-bit
       #24

    If you haven't execute bellow commands.

    Please boot your computer with Windows Setup Media and from Windows Recovery Environment start the Command Prompt.

    Please type the bellow command into Command Prompt and press the Enter key.

    The following command scans integrity of all protected Windows system files and repairs files with problems when possible.


    Code:
    Sfc  /Scannow   /OFFBOOTDIR=D:\   /OFFWINDIR=D:\Windows


    Please replace the partition letter D: with Windows installed partition letter. When the computer boots into Windows Recovery Environment (WinRE) environment, the drive letter assign to Windows partition may not be C: drive letter because Windows 7, 8 , 8.1 and 10 creates a separate system partition when it's installed from scratch. The system partition contains boot files WinRE assigns the system partition the C: drive letter and the Windows installed partition will be assign any other drive letter, usually D: drive letter is assign to Windows installed partition. 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.



    Please boot your computer with Windows Installation Media and from Windows Recovery Environment start the Command Prompt.

    Please execute below command and reboot your computer to see issue resolves.

    Code:
    mkdir C:\scratch
    
    DISM    /Image:C:\     /Cleanup-Image   /RevertPendingActions /ScratchDir:C:\Scratch

    Please replace the partition letter C: with Windows installed partition letter. When computer boots into Windows Recovery Environment (WinRE) environment the drive letter assign to Windows partition may not be C: drive letter because Windows 7, 8 , 8.1 and 10 creates a separate system partition when it's installed from scratch. The system partition contains boot files WinRE assigns the system partition the C: drive letter and the Windows installed partition will be assign any other drive letter usually D: drive letter is assign to Windows installed partition. 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.
      My Computer


  5. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #25

    Hello @lse123,

    I was just writing a reply and FreeBooter posted. Please follow his instructions.
      My Computer


  6. Posts : 224
    W10 pro
    Thread Starter
       #26

    So run
    Sfc/Scannow/OFFBOOTDIR=D:\ /OFFWINDIR=D:\Windows
    ....
    After run
    mkdir C:\scratch

    DISM
    /Image:C:\ /Cleanup-Image/RevertPendingActions/ScratchDir:C:\Scratch
    ....Correct?
      My Computer


  7. Posts : 5,326
    Windows 11 Pro 64-bit
       #27

    Yes correct and reboot your computer.
      My Computer


  8. Posts : 224
    W10 pro
    Thread Starter
       #28

    FreeBooter said:
    Yes correct and reboot your computer.
    1
    After 1st command try 2nd command directly or
    Check if it boots and after try second command?

    2
    Take time these commands?

    3
    Can put commands in usb stick, txt file, open with notepad and copy to command prompt?

    - - - Updated - - -

    According to #8 i attached Log.txt file
    In #24 reply, you say two commands,
    So try these two
    After reboot,
    And not booting, then try... the others referred commands:

    bootrec /fixmbr

    bootrec /fixboot

    bcdedit /export c:\bcdbackup

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

    ren c:\boot\bcd bcd.old

    bootrec /rebuildbcd


    ....?

    - - - Updated - - -

    When go to command prompt
    I HAVE:
    X:/.../
    These commands run from X:/ or switch to letter...?
      My Computer


  9. Posts : 5,326
    Windows 11 Pro 64-bit
       #29

    You can if you want to execute both commands and reboot your computer.
      My Computer


  10. Posts : 224
    W10 pro
    Thread Starter
       #30

    So, boot in windows 10 setup DVD, And from X:/ command prompt, run these two commands, reboot, ... then update forum here, with the result...
    BTW you saw attached log txt file in post #8...?
      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 18:14.
Find Us




Windows 10 Forums