Windows stuck in "Attempting repair" boot up screen

Page 3 of 3 FirstFirst 123

  1. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #21

    There are Windows Recovery Environment (RE) on both the iso and computer.
    Start the commands with the iso using this tutorial;
    Open Command Prompt at Boot in Windows 10

    Later the Windows RE on the computer may be used.
      My Computer


  2. Posts : 10
    Windows 10 Pro
    Thread Starter
       #22

    Okay here's all the commands from steps 5-6, it's in Spanish since I couldn't change it to English... I hope that's not a problem, I can translate something if you don't understand it.

    {emssettings}
    {badmemory}

    Configuración del cargador de arranque
    ------------------------------------
    Identificador {bootloadersettings}
    inherit {globalsettings}
    {hypervisorsettings}

    Configuración de hipervisor
    -------------------
    Identificador {hypervisorsettings}
    hypervisordebugtype Serial
    hypervisordebugport 1
    hypervisorbaudrate 115200

    Reanudar la configuración del cargador
    --------------------------------------
    Identificador {resumeloadersettings}
    inherit {globalsettings}

    Opciones de dispositivo
    -----------------------
    Identificador {0da2e3e7-2b15-11ea-b273-a4291e3a2919}
    description Windows Recovery
    ramdisksdidevice partition=H:
    ramdisksdipath \Recovery\WindowsRE\boot.sdi

    Opciones de dispositivo
    -----------------------
    Identificador {3d7c27ac-8176-11e8-8b18-91a3d54e83b1}
    description Windows Recovery
    ramdisksdidevice partition=H:
    ramdisksdipath \Recovery\WindowsRE\boot.sdi

    Opciones de dispositivo
    -----------------------
    Identificador {3d7c27ad-8176-11e8-8b18-91a3d54e83b1}
    description Windows Setup
    ramdisksdidevice partition=G:
    ramdisksdipath \$WINDOWS.~BT\Sources\SafeOS\boot.sdi

    X:\Sources>bcdedit | find "osdevice"
    osdevice partition=G:

    X:\Sources>diskpart

    Microsoft DiskPart versión 10.0.19041.1

    Copyright (C) Microsoft Corporation.
    En el equipo: MININT-LD0F3CT

    DISKPART> lis dis

    Núm Disco Estado Tamaño Disp Din Gpt
    ---------- ---------- ------- ------- --- ---
    Disco 0 En línea 931 GB 0 B
    Disco 1 En línea 117 GB 0 B
    Disco 2 En línea 28 GB 0 B
    Disco 3 No hay medios 0 B 0 B
    Disco 4 No hay medios 0 B 0 B
    Disco 5 No hay medios 0 B 0 B
    Disco 6 No hay medios 0 B 0 B
    Disco 7 En línea 117 GB 0 B

    DISKPART> lis vol

    Núm Volumen Ltr Etiqueta Fs Tipo Tamaño Estado Info
    ----------- --- ----------- ----- ---------- ------- --------- --------
    Volumen 0 M CD500A2 CDFS DVD-ROM 67 MB Correcto
    Volumen 1 C Partición NTFS Partición 931 GB Correcto
    Volumen 2 D Reservado NTFS Partición 350 MB Correcto
    Volumen 3 G NTFS Partición 116 GB Correcto
    Volumen 4 E ESD-USB FAT32 Extraíble 28 GB Correcto
    Volumen 5 I Extraíble 0 B Sin medio
    Volumen 6 J Extraíble 0 B Sin medio
    Volumen 7 K Extraíble 0 B Sin medio
    Volumen 8 L Extraíble 0 B Sin medio
    Volumen 9 F FAT32 Extraíble 117 GB Correcto
    Volumen 10 H NTFS Partición 866 MB Correcto Oculto

    DISKPART> sel dis 0

    El disco 0 es ahora el disco seleccionado.

    DISKPART> det dis

    WDC WD10EZEX-60M2NA0 ATA Device
    Id. de disco: 45EA9B74
    Tipo : ATA
    Estado : En línea
    Ruta : 0
    Destino : 0
    Id. de LUN : 0
    Ruta de la ubicación: ACPI(_SB_)#ACPI(PCI0)#ACPI(SATA)#ACPI(PRID)#ATA(C00T00L00)
    Estado de solo lectura actual: No
    Solo lectura : No
    Disco de arranque : No
    Disco de archivo de paginación : No
    Disco de archivo de hibernación : No
    Disco de volcado : No
    Disco en clúster: No

    Núm Volumen Ltr Etiqueta Fs Tipo Tamaño Estado Info
    ----------- --- ----------- ----- ---------- ------- --------- --------
    Volumen 1 C Partición NTFS Partición 931 GB Correcto

    DISKPART> lis par

    Núm Partición Tipo Tamaño Desplazamiento
    ------------- ---------------- ------- ---------------
    Partición 1 Principal 931 GB 1024 KB

    DISKPART> sel par 1

    La partición 1 es ahora la partición seleccionada.

    DISKPART> det par

    Partición 1
    Tipo : 07
    Oculta : No
    Activa : No
    Desplaz. bytes: 1048576

    Núm Volumen Ltr Etiqueta Fs Tipo Tamaño Estado Info
    ----------- --- ----------- ----- ---------- ------- --------- --------
    * Volumen 1 C Partición NTFS Partición 931 GB Correcto

    DISKPART> sel par 2

    La partición especificada no es válida.
    Seleccione una partición válida.

    No hay ninguna partición seleccionada.

    DISKPART> det par

    No hay ninguna partición seleccionada.
    Seleccione una partición e inténtelo de nuevo.

    DISKPART> sel par 3

    La partición especificada no es válida.
    Seleccione una partición válida.

    No hay ninguna partición seleccionada.

    DISKPART> det par

    No hay ninguna partición seleccionada.
    Seleccione una partición e inténtelo de nuevo.

    DISKPART> sel par 4

    La partición especificada no es válida.
    Seleccione una partición válida.

    No hay ninguna partición seleccionada.

    DISKPART> det par

    No hay ninguna partición seleccionada.
    Seleccione una partición e inténtelo de nuevo.

    DISKPART> sel par 5

    La partición especificada no es válida.
    Seleccione una partición válida.

    No hay ninguna partición seleccionada.

    DISKPART> det par

    No hay ninguna partición seleccionada.
    Seleccione una partición e inténtelo de nuevo.

    DISKPART> sel par 6

    La partición especificada no es válida.
    Seleccione una partición válida.

    No hay ninguna partición seleccionada.

    DISKPART> det par

    No hay ninguna partición seleccionada.
    Seleccione una partición e inténtelo de nuevo.

    DISKPART> sel dis 1

    El disco 1 es ahora el disco seleccionado.

    DISKPART> det dis

    SanDisk SDSSDP128G ATA Device
    Id. de disco: FF71CCD0
    Tipo : ATA
    Estado : En línea
    Ruta : 0
    Destino : 1
    Id. de LUN : 0
    Ruta de la ubicación: ACPI(_SB_)#ACPI(PCI0)#ACPI(SATA)#ACPI(PRID)#ATA(C00T01L00)
    Estado de solo lectura actual: No
    Solo lectura : No
    Disco de arranque : No
    Disco de archivo de paginación : No
    Disco de archivo de hibernación : No
    Disco de volcado : No
    Disco en clúster: No

    Núm Volumen Ltr Etiqueta Fs Tipo Tamaño Estado Info
    ----------- --- ----------- ----- ---------- ------- --------- --------
    Volumen 2 D Reservado NTFS Partición 350 MB Correcto
    Volumen 3 G NTFS Partición 116 GB Correcto
    Volumen 10 H NTFS Partición 866 MB Correcto Oculto

    DISKPART> lis par

    Núm Partición Tipo Tamaño Desplazamiento
    ------------- ---------------- ------- ---------------
    Partición 1 Principal 350 MB 1024 KB
    Partición 2 Principal 116 GB 351 MB
    Partición 3 Recuperación 866 MB 116 GB

    DISKPART> sel par 1

    La partición 1 es ahora la partición seleccionada.

    DISKPART> det par

    Partición 1
    Tipo : 07
    Oculta : No
    Activa : Sí
    Desplaz. bytes: 1048576

    Núm Volumen Ltr Etiqueta Fs Tipo Tamaño Estado Info
    ----------- --- ----------- ----- ---------- ------- --------- --------
    * Volumen 2 D Reservado NTFS Partición 350 MB Correcto

    DISKPART> sel par 2

    La partición 2 es ahora la partición seleccionada.

    DISKPART> det par

    Partición 2
    Tipo : 07
    Oculta : No
    Activa : No
    Desplaz. bytes: 368050176

    Núm Volumen Ltr Etiqueta Fs Tipo Tamaño Estado Info
    ----------- --- ----------- ----- ---------- ------- --------- --------
    * Volumen 3 G NTFS Partición 116 GB Correcto

    DISKPART> exit

    Saliendo de DiskPart...

    X:\Sources>


    (note: I have two hard drives C:\ and D:\, then the CD of the wifi-usb drivers I had just installed, the booting USB and the USB I've used to copy/paste the messages to here)

    I couldn't find the files from step 7 because it didn't let me search for a specific direction, I had to manually browse through the folders and didn't find those in C:\. There wasn't any windows.new or windows folder there, the only similar ones were Windows10Upgrade, WindowsApps, WpSystem and $WINDIWS.~TMP, but system32 wasn't in any of those. So I did the next steps and this is the result:

    X:\Sources>notepad

    X:\Sources>bcdedit | find "osdevice"
    osdevice partition=G:

    X:\Sources>dism /image:G:\ /cleanup-image /revertpendingactions

    Herramienta Administración y mantenimiento de imágenes de implementación
    Versión: 10.0.19041.1

    Versión de imagen: 10.0.18362.778

    Es posible que el tamaño del directorio temporal sea insuficiente para realizar la operación. Esto puede provocar un comportamiento inesperado.
    Use la opción /ScratchDir para señalar a una carpeta con suficiente espacio de desecho. El tamaño recomendado es de 1024 MB como mínimo.

    Revirtiendo las acciones pendientes de la imagen...
    Se completó la operación. Después del reinicio, se intentará revertir las acciones pendientes.
    La operación se completó correctamente.

    X:\Sources>


    What this last message says is:
    It's possible that the size of the temporary directory is insufficient to do the operation. This may cause an unexpected behavior.
    Use the option /ScratchDir to designate a folder with enough "rejected space" (I'm not sure that's the right translation). The recommended size is at least 1024MB.

    Reverting the pending image actions...
    Operation completed. After rebooting, it will try to revert the pendingg actions.
    Operation completed successfully.
    When rebooting it still takes me to the same blue screen as I posted in the comment before (the "this system needs recovery" screen), so I'll do the next steps.

    When typing this command:
    sfc /scannow /offbootdir=G:\ /offwindir=G:\windows
    It says "Protección de recursos de Windows no pudo iniciar el servicio de reparación", which means "Windows resource protection couldn't start the repair service.". What should I do now? Should I type the next command in step 13? Or something else?
    Last edited by luismb; 25 Jul 2020 at 06:22.
      My Computer


  3. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #23

    1) This is the Windows partition in Windows Recovery Environment (RE):
    Disco 1 En línea 117 GB 0 B
    Volumen 3 G NTFS Partición 116 GB Correcto
    Partición 2
    2) For step #7 use G: instead of C: to see if there is a srttrail.txt

    Code:
    Versión de imagen: 10.0.18362.778
    
    
    
    Es posible que el tamaño del directorio temporal sea insuficiente para realizar la operación. Esto puede provocar un comportamiento inesperado.
    
    Use la opción /ScratchDir para señalar a una carpeta con suficiente espacio de desecho. El tamaño recomendado es de 1024 MB como mínimo.
    
    
    
    Revirtiendo las acciones pendientes de la imagen...
    
    Se completó la operación. Después del reinicio, se intentará revertir las acciones pendientes.
    
    La operación se completó correctamente.
    Code:
    Image version: 10.0.18362.778
    
    
    
    The size of the temporary directory may be insufficient to perform the operation. This can cause unexpected behavior.
    
    Use the / ScratchDir option to point to a folder with sufficient waste space. The recommended size is 1024MB minimum.
    
    
    
    Reversing the pending actions of the image ...
    
    Operation completed. After the restart, an attempt will be made to reverse the pending actions.
    
    The operation completed successfully.


    Code:
    Herramienta Administración y mantenimiento de imágenes de implementación
    
    Versión: 10.0.19041.1
    
    Protección de recursos de Windows no pudo iniciar el servicio de reparación
    Code:
    Deployment Image Management and Maintenance Tool
    
    Version: 10.0.19041.1
    
    Windows Resource Protection failed to start repair service

    3) Find a flash drive that you can format.
    4) Create a bootable Sea Tools flash drive:

    5) Run Sea Tools long generic tests on the drives: disk 0 and disk 1
    SanDisk SDSSDP128G
    WDC WD10EZEX-60M2NA0
    SeaTools | Seagate Support US
    Post images of the results into the thread.
    If there are problems uploading images then use share links: one drive, drop box, or google drive


    6) Open command prompt:
    md G:\Scratch
    DISM /Image:G:\ /Cleanup-Image /RestoreHealth /ScratchDir:G:\Scratch
    sfc /scannow /OFFBOOTDIR=G:\ OFFWINDIR=G:\Windows

    7) Post images of the commands and results.

    8) Using notepad search for:
    G:\Windows\Logs\CBS\CBS.log
    Post a share link with the results.


    9) In older Windows 10 versions Regback was the method to fix operating system and registry problems or corruption.
    Microsoft made windows leaner and did not maintain regback.
    So it may be necessary to backup files and clean install Windows.
    An alternative would be similar to a reset save files (files are saved and drivers and applications are reinstalled)
      My Computer


  4. Posts : 10
    Windows 10 Pro
    Thread Starter
       #24

    Final update: I ended up backing up the important files with the notepad from the command prompt, and then did a clean install of Windows, it's working now. I don't know what was the problem here but after trying so many things without success I felt like this was the easiest option. Thanks a lot to those who helped me with this, I would've been completely lost otherwise!
      My Computer


  5. Posts : 41,474
    windows 10 professional version 1607 build 14393.969 64 bit
       #25

    I'm glad to read that it's sorted.

    You're welcome.

    Consider making free backup images.
    Save the backup images to another disk drive or to the cloud.
    If there is malware, ransomware, registry or operating system corruption, failure to boot, etc. you then have the option to restore the image.

    (Acronis, Aoemi, EaseUS, Macrium, Paragon, etc.)

    Macrium is widely used in Ten Forums.

    Macrium Software | Your Image is Everything
    Macrium Software | Your Image is Everything
    Backup and Restore with Macrium Reflect
    Backup and Restore with Macrium Reflect
      My Computer


  6. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #26

    Make the image backup to an external hard drive. If you don't have an external hard drive now is a good time to get one as regular backup should be a part of your normal process. You can get a 1TB external hard drive for $60 (less if on sale).
      My Computers


 

  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 22:11.
Find Us




Windows 10 Forums