Win 10 booting into command prompt

Page 1 of 2 12 LastLast

  1. Posts : 11
    Windows 10 Home Pro
       #1

    Win 10 booting into command prompt


    There's a thread about this from almost two years ago - windows boots into black screen with command prompt - but I tried adding the suggested code and still am booting into the command prompt. I type explorer.exe and all is well till the next boot. I have attached a screenshot of Autoruns and Regedit startup.Win 10 booting into command prompt-autoruns-1.jpgWin 10 booting into command prompt-regedit-1.jpg

    Check out the date on the fist two entries in Autoruns, year is 1917!

    I don't know where to go from here, and help is appreciated!

    Windows Version 1809, OS Build 17763.1039
    Attached Thumbnails Attached Thumbnails Win 10 booting into command prompt-image.png  
      My Computer


  2. Posts : 240
    Dual Boot Windows 11 & 10, usually latest version
       #2



    Run SFC Command in Windows 10 | Tutorials





    Have you tried running some file repairs, such as sfc and dism?
      My Computers


  3. Posts : 11
    Windows 10 Home Pro
    Thread Starter
       #3

    I tried sfc /scannow and it said there were some files it couldn't fix, pointing me to a log file that was filled with arcane information, none of which was labeled as a problem file. Will try dism.
      My Computer


  4. Posts : 8,111
    windows 10
       #4

    In regedt goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell it should have explorer as a value if it has cmd prompt thats the problem change it more details Black Screen and Command Prompt Open at Logon - No Explorer Shell >> Winhelponline
      My Computer


  5. Posts : 31,666
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #5

    chroma601 said:
    I tried sfc /scannow and it said there were some files it couldn't fix, pointing me to a log file that was filled with arcane information, none of which was labeled as a problem file. Will try dism.

    Yes, DISM can repair the Component Store that SFC relies on to do its repairs. You may need to go through the DISM followed by SFC cycle up to three time to complete all possible repairs, rebooting after each.
      My Computers


  6. Posts : 11
    Windows 10 Home Pro
    Thread Starter
       #6

    From the elevated command prompt:
    "C:\windows\system32>DISM /Online /Cleanup-Image /ScanHealth

    Deployment Image Servicing and Management tool
    Version: 10.0.17763.771

    Image Version: 10.0.17763.1039

    [==========================100.0%==========================] The component store is repairable.
    The operation completed successfully.

    C:\windows\system32>sfc /scannow

    Beginning system scan. This process will take some time.

    Beginning verification phase of system scan.
    Verification 100% complete.

    Windows Resource Protection found corrupt files but was unable to fix some of them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag."

    Is the next step a reboot and retry?
      My Computer


  7. Posts : 264
    Windows 10
       #7

    Samuria said:
    In regedt goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell it should have explorer as a value if it has cmd prompt thats the problem change it more details Black Screen and Command Prompt Open at Logon - No Explorer Shell >> Winhelponline
    this is probably the answer. Very common error since Vista...
      My Computer


  8. Posts : 31,666
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #8

    chroma601 said:
    Windows Resource Protection found corrupt files but was unable to fix some of them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag."

    Is the next step a reboot and retry?
    Use Option Five in the SFC tutorial to read the relevant results from CBS.log.

    Run SFC Command in Windows 10

    If they say SFC couldn't repair a file because there was a problem with the component store copy, then run DISM again, restart then run SFC again. If no component store problem was reported, just restart and run SFC again. It does say in the tutorial that...

    "... Sometimes it may take running the sfc /scannow command up to 3 times with Fast Startup turned off and restarting the computer after each time to completely fix everything that it's able to".
      My Computers


  9. Posts : 11
    Windows 10 Home Pro
    Thread Starter
       #9

    Samuria said:
    In regedt goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell it should have explorer as a value if it has cmd prompt thats the problem change it more details Black Screen and Command Prompt Open at Logon - No Explorer Shell >> Winhelponline
    Unfortunately, it has explorer.exe - Win 10 booting into command prompt-image.png

    - - - Updated - - -

    Attached are the results of the elevated command prompt findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
    Win 10 booting into command prompt Attached Files
      My Computer


  10. Posts : 31,666
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #10

    chroma601 said:
    Attached are the results of the elevated command prompt findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"

    It contains lines such as...
    Could not reproject corrupted file \??\C:\ProgramData\Microsoft\Windows\Models\\SBCModel.json; source file in store is also corrupted

    This means you need to make further repairs to the component store using DISM, after which you should restart before using SFC again.
      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 18:13.
Find Us




Windows 10 Forums