Automatic repair issues

Page 1 of 3 123 LastLast

  1. Posts : 9
    Windows 10
       #1

    Automatic repair issues


    Hello,

    For whatever reason after a Windows system update my laptop cannot get past the blue "Your PC Did Not Start Correctly check SrtTrail.txt" screen. When i try to repair with out a bootable Win-10 USB drive I get "you need to sign in as an administrator to continue, but there aren't any administrator accounts on this PC" on all the advanced repair option tabs.

    After booting from a USB I am able to use l the advanced repair options however none seem to fix the problems. For example System restore will list restore points, but will not allow me to use them stating "You must enable system protection on this drive"

    This is the SrtTrail file:

    Startup Repair diagnosis and repair log
    ---------------------------
    Number of repair attempts: 1

    Session details
    ---------------------------
    System Disk =
    Windows directory = D:\WINDOWS
    AutoChk Run = 0
    Number of root causes = 1

    Test Performed:
    ---------------------------
    Name: Check for updates
    Result: Completed successfully. Error code = 0x0
    Time taken = 0 ms

    Test Performed:
    ---------------------------
    Name: System disk test
    Result: Completed successfully. Error code = 0x0
    Time taken = 94 ms

    Root cause found:
    ---------------------------
    A hard disk could not be found. If a hard disk is installed, it is not responding.

    That root cause line is odd to me because in the same log folder there is this disklayout.txt


    Microsoft DiskPart version 10.0.18362.1

    Copyright (C) Microsoft Corporation.

    Disk ### Status Size Free Dyn Gpt
    -------- ------------- ------- ------- --- ---
    Disk 0 Online 931 GB 1024 KB *
    Disk 1 Online 931 GB 0 B *
    Disk 2 Online 29 GB 0 B *

    Disk 0 is now the selected disk.

    HGST HTS721010A9E630
    Disk ID: {4DFCDD6E-DB8C-4BF7-BB1F-868A1BB60BB4}
    Type : SATA
    Status : Online
    Path : 2
    Target : 0
    LUN ID : 0
    Location Path : PCIROOT(0)#PCI(1700)#ATA(C02T00L00)
    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 0 C TITANIC NTFS Partition 931 GB Healthy
    Volume 1 RAW Partition 15 MB Healthy Hidden

    Volume ### Ltr Label Fs Type Size Status Info
    ---------- --- ----------- ----- ---------- ------- --------- --------
    Volume 0 C TITANIC NTFS Partition 931 GB Healthy
    Volume 1 RAW Partition 15 MB Healthy Hidden
    Volume 2 Recovery NTFS Partition 529 MB Healthy
    Volume 3 D NTFS Partition 930 GB Healthy
    Volume 4 FAT32 Partition 99 MB Healthy Hidden
    Volume 5 E CCCOMA_X64F FAT32 Removable 29 GB Healthy

    Volume 1 is the selected volume.

    Disk ### Status Size Free Dyn Gpt
    -------- ------------- ------- ------- --- ---
    * Disk 0 Online 931 GB 1024 KB *

    Offline : No

    Disk 1 is now the selected disk.

    Samsung SSD 850 EVO 1TB
    Disk ID: {4CE9A4DF-AC78-4415-848A-E367F1B0AB15}
    Type : SATA
    Status : Online
    Path : 3
    Target : 0
    LUN ID : 0
    Location Path : PCIROOT(0)#PCI(1700)#ATA(C03T00L00)
    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 2 Recovery NTFS Partition 529 MB Healthy
    Volume 3 D NTFS Partition 930 GB Healthy
    Volume 4 FAT32 Partition 99 MB Healthy Hidden

    Partition ### Type Size Offset
    ------------- ---------------- ------- -------
    Partition 1 Recovery 529 MB 1024 KB
    Partition 2 System 99 MB 530 MB
    Partition 3 Reserved 16 MB 629 MB
    Partition 4 Primary 930 GB 645 MB

    Partition 4 is now the selected partition.

    Partition 4
    Type : ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
    Hidden : No
    Required: No
    Attrib : 0000000000000000
    Offset in Bytes: 676331520

    Volume ### Ltr Label Fs Type Size Status Info
    ---------- --- ----------- ----- ---------- ------- --------- --------
    * Volume 3 D NTFS Partition 930 GB Healthy

    Any help would be appreciated
      My Computer


  2. Posts : 819
    10
       #2

    Could you name the exact PC model, the year purchased, and/or if you swapped anything in it?
      My Computer


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

    Please perform the following steps:

    1) boot the windows 10 iso > repair > troubleshoot > command prompt

    2) type:
    bcdedit | find "osdevice"
    (make note of the partition drive letter)

    3) type:
    dism /image:W:\ /cleanup-image /revertpendingactions
    (replace W with the drive letter for the partition)

    4) reboot > report findings

    If there are still boot problems advance to the next step

    5) type:
    dism /Image:W:\ /Get-Packages
    (replace W with the drive letter for the partition)

    Find the package(s) that were just installed by date.
    Run the following command on the last installed package:
    example:

    dism.exe /image:W:\ /remove-package /packagename:Package_for_KB4014329~31bf3856ad364e35~amd64~~10.0.1.0

    6) reboot > report findings
      My Computer


  4. Posts : 9
    Windows 10
    Thread Starter
       #4

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

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

    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1

    Image Version: 10.0.18362.815

    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

    Here is the dism.log filedism.log
      My Computer


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

    See if this allows the command to run.
    Otherwise advance to the next step.


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


    Replace W: with the applicable partition drive letter from the earlier command result.
      My Computer


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

    Root cause found:
    ---------------------------
    A hard disk could not be found. If a hard disk is installed, it is not responding.
    Check the BIOS setup to see if the Windows 10 installed drive detected.
      My Computer


  7. Posts : 9
    Windows 10
    Thread Starter
       #7

    Both drives are detected in bios.

    X:\Sources>mkdir d:\scratch

    X:\Sources>dism /image:D\ /cleanup-image /restorehealth /scratchdir:D:\scratch

    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
      My Computer


  8. Posts : 41,480
    windows 10 professional version 1607 build 14393.969 64 bit
       #8

    The command was entered as restorehealth instead of revertpendingactions.
    It was edited.
    So give it a try.
    If it errors then proceed to post #3 step #5.
      My Computer


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

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

    Please type below command into Command Prompt and press Enter key.

    Following command will fixes errors on the disk and locates bad sectors and recovers readable information.


    Code:
    Chkdsk D: /r


    Please replace partition letter D: 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 use 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 Setup Media and from Windows Recovery Environment start the Command Prompt.

    Please type below command into Command Prompt and press 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 partition letter D: 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 use 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


  10. Posts : 9
    Windows 10
    Thread Starter
       #10

    chkdsk

    Code:
    X:\Sources>bcdedit /enum | find "osdevice"
    osdevice                partition=D:
    
    X:\Sources>chkdsk d: /r
    The type of the file system is NTFS.
    
    Stage 1: Examining basic file system structure ...
      474112 file records processed.
    File verification completed.
      22725 large file records processed.
      0 bad file records processed.
    
    Stage 2: Examining file name linkage ...
      595 reparse records processed.
      648528 index entries processed.
    Index verification completed.
      0 unindexed files scanned.
      0 unindexed files recovered to lost and found.
      595 reparse records processed.
    
    Stage 3: Examining security descriptors ...
    Security descriptor verification completed.
      87209 data files processed.
    CHKDSK is verifying Usn Journal...
      36567056 USN bytes processed.
    Usn Journal verification completed.
    
    Stage 4: Looking for bad clusters in user file data ...
      474096 files processed.
    File data verification completed.
    
    Stage 5: Looking for bad, free clusters ...
      178397409 free clusters processed.
    Free space verification is complete.
    
    Windows has scanned the file system and found no problems.
    No further action is required.
    
     976101375 KB total disk space.
     261694012 KB in 299938 files.
        197316 KB in 87210 indexes.
             0 KB in bad sectors.
        620411 KB in use by the system.
         65536 KB occupied by the log file.
     713589636 KB available on disk.
    
          4096 bytes in each allocation unit.
     244025343 total allocation units on disk.
     178397409 allocation units available on disk.
    Failed to transfer logged messages to the event log with status 50.
    sfc /scannow /offbootdir=D:\ /offwindir=d:\windows

    Code:
    ]X:\Sources>sfc /scannow /offbootdir=D:\ /offwindir=d:\windows
    
    Beginning system scan.  This process will take some time.
    
    
    Windows Resource Protection could not perform the requested operation.
      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 03:52.
Find Us




Windows 10 Forums