Windows 10: Boot problems: Black screen + CMD no explorer.exe

Discus and support Boot problems: Black screen + CMD no explorer.exe in Windows 10 Support to solve the problem; Hi, tonight i ran malwarebytes to scan for malware. After the scan multible threats were detected. After malware bytes took the appropriate actions my... Discussion in 'Windows 10 Support' started by lukelumia950XL, Sep 26, 2017.

  1. Boot problems: Black screen + CMD no explorer.exe


    Hi, tonight i ran malwarebytes to scan for malware. After the scan multible threats were detected. After malware bytes took the appropriate actions my computer froze while trying to reboot. After waiting I hold the power button with now this as consequence:


    Boot problems: Black screen + CMD no explorer.exe [​IMG]


    After running the following command:
    Code: start explorer.exe[/quote] it looks normal again.

    This problem also occurs in safe mode (what really has me worried).

    I made this video to give you some better insight. My Movie - Streamable

    Looking forward to tips, everything is welcome!

    :)
     
    lukelumia950XL, Sep 26, 2017
    #1
  2. chaitub. Win User

    Cwindows\run.vbs is missing

    Thanx. It worked. For black screen
     
    chaitub., Sep 26, 2017
    #2
  3. SidJoon Win User
    Cwindows\run.vbs is missing

    Ok, the issue with the black screen is having explorer.exe failed. So, you press ctrl-> shift -> esc. After this in the top left go file-> run new task.

    In the dialogue box type explorer.exe and it should bring your screen back. After this you can just open cmd. Alternatively you can just type cmd in the dialogue box.

    Hope this helps,

    Sid
     
    SidJoon, Sep 26, 2017
    #3
  4. Boot problems: Black screen + CMD no explorer.exe

    These entries are required to start Windows, might have been damaged by malware.

    Code: reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /t REG_SZ /d "explorer.exe" /f reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Userinit" /t REG_SZ /d "C:\Windows\System32\userinit.exe," /f reg add "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /t REG_SZ /d "explorer.exe" /f reg add "HKLM\System\CurrentControlSet\Control\Session Manager" /v "BootExecute" /t REG_MULTI_SZ /d "autocheck autochk *" /f reg add "HKLM\System\CurrentControlSet\Control\Session Manager" /v "SETUPEXECUTE" /t REG_MULTI_SZ /d "" /f[/quote]
     
    TairikuOkami, Sep 26, 2017
    #4
  5. All these Registry's exist and have the same value. But just to clarify, windows is starting just not the GUI/ explorer.exe and CMD is randomly starting at boot.
     
    lukelumia950XL, Sep 26, 2017
    #5
  6. Check out possible explorer's hooks, like via Autoruns.

    I would suggest to remove everything, but that will really remove everything.

    Code: takeown /f "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup" /a /r /d y icacls "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup" /inheritance:r /grant:r AdministratorsBoot problems: Black screen + CMD no explorer.exe :(OI)(CI)F /t /l /q /c del "%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup\*" /s /f /q del "%AppData%\Microsoft\Windows\Start Menu\Programs\Startup\*" /s /f /q reg delete "HKCU\Software\Microsoft\Command Processor" /v "AutoRun" /f reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /f reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved" /f reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /f reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /f reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f reg delete "HKCU\Software\Policies" /f reg delete "HKLM\Software\Microsoft\Command Processor" /v "AutoRun" /f reg delete "HKLM\Software\Microsoft\Policies" /f reg delete "HKLM\Software\Microsoft\Tracing" /f reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\AppModelUnlock" /f reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects" /f reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellExecuteHooks" /f reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved" /f reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /f reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx" /f reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows" /v "AppInit_DLLs" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Userinit" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "VMApplet" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\AlternateShells" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Taskman" /f reg delete "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit" /f reg delete "HKLM\Software\Policies" /f reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f reg delete "HKLM\Software\WOW6432Node\Microsoft\Tracing" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Run" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnceEx" /f reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows" /v "AppInit_DLLs" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Userinit" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "VMApplet" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon\AlternateShells" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon\Taskman" /f reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit" /f reg delete "HKLM\Software\WOW6432Node\Policies" /f reg delete "HKLM\System\CurrentControlSet\Control\Keyboard Layout" /v "Scancode Map" /f reg delete "HKLM\System\CurrentControlSet\Control\SafeBoot" /v "AlternateShell" /f reg delete "HKLM\System\CurrentControlSet\Control\Session Manager" /v "BootExecute" /f reg delete "HKLM\System\CurrentControlSet\Control\Session Manager" /v "Execute" /f reg delete "HKLM\System\CurrentControlSet\Control\Session Manager" /v "SETUPEXECUTE" /f reg delete "HKLM\System\CurrentControlSet\Control\Terminal Server\Wds\rdpwd" /v "StartupPrograms" /f reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /t REG_SZ /d "explorer.exe" /f reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Userinit" /t REG_SZ /d "C:\Windows\System32\userinit.exe," /f reg add "HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /t REG_SZ /d "explorer.exe" /f reg add "HKLM\System\CurrentControlSet\Control\Session Manager" /v "BootExecute" /t REG_MULTI_SZ /d "autocheck autochk *" /f reg add "HKLM\System\CurrentControlSet\Control\Session Manager" /v "SETUPEXECUTE" /t REG_MULTI_SZ /d "" /f bcdedit /deletevalue {current} safeboot bcdedit /deletevalue {current} safebootalternateshell bcdedit /deletevalue {default} safeboot bcdedit /deletevalue {default} safebootalternateshell bcdedit /set {default} advancedoptions false bcdedit /set {default} bootems no bcdedit /set {default} bootstatuspolicy DisplayAllFailures bcdedit /set {bootmgr} displaybootmenu no bcdedit /set {current} advancedoptions false bcdedit /set {current} bootems no bcdedit /set {current} bootstatuspolicy DisplayAllFailures[/quote]
     
    TairikuOkami, Sep 26, 2017
    #6
  7. I ran the code, but didn't fix it. How do i check for possible explorer hooks? (I have autoruns) I uploaded the video My Movie - Streamable
     
    lukelumia950XL, Sep 27, 2017
    #7
  8. Boot problems: Black screen + CMD no explorer.exe

    It looks to me like explorer.exe was replaced by cmd.exe, but SFC scan should fix that.

    Check out Autoruns, un-check to hide Microsoft entries and look for CMD, like this:
     
    TairikuOkami, Sep 27, 2017
    #8
  9. lukelumia950XL, Sep 27, 2017
    #9
  10. That "%comspec%" should not be there. If you type it into run, you will get just what you get at startup.

    Did you run my code in cmd as admin, because this one should fix that.

    Code: reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /t REG_SZ /d "explorer.exe" /f[/quote]
     
    TairikuOkami, Sep 27, 2017
    #10
  11. I ran all 3 codes as admin now, (my mistake before..) But it dit not fix the problem. This is Autoruns now:

    Boot problems: Black screen + CMD no explorer.exe [​IMG]

    It still shows comspec

    on this file location: HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell
    which is not changed in the code i believe
     
    lukelumia950XL, Sep 27, 2017
    #11
  12. Remove it via autoruns, but you might need to run explorer via task manager, if that cmd window will not start.
     
    TairikuOkami, Sep 27, 2017
    #12
  13. Boot problems: Black screen + CMD no explorer.exe

    WTF you are a genius, it ran normal again!
     
    lukelumia950XL, Sep 27, 2017
    #13
  14. I like to thank you so much! For your time and for sharing your knowledge! Can i review you in any way?
     
    lukelumia950XL, Sep 27, 2017
    #14
  15. Glad you got it sorted it out. *Wink
     
    TairikuOkami, Sep 27, 2017
    #15
Thema:

Boot problems: Black screen + CMD no explorer.exe

Loading...
  1. Boot problems: Black screen + CMD no explorer.exe - Similar Threads - Boot problems Black

  2. Explorer crashing when launching with CMD and Task Manager + Black Screen

    in Windows 10 Gaming
    Explorer crashing when launching with CMD and Task Manager + Black Screen: I'm on a black screen.I've opened Task Manager, executed Explorer, it's nothing.I opened Services then executed explorer again, it launches then crashes.Help !!...
  3. Explorer crashing when launching with CMD and Task Manager + Black Screen

    in Windows 10 Software and Apps
    Explorer crashing when launching with CMD and Task Manager + Black Screen: I'm on a black screen.I've opened Task Manager, executed Explorer, it's nothing.I opened Services then executed explorer again, it launches then crashes.Help !!...
  4. booting to black screen

    in Windows 10 Gaming
    booting to black screen: Hi everyone.minor issue to be honest but its getting tedious so im hoping some can shed some light.any time i boot my lptop up, it loads to a black screen. the only temporary fix ive found is to hard power down nd reboot, everything else works fine once its loaded but its...
  5. unable to access .CMD and .EXE files from explorer on external drives.

    in Windows 10 Network and Sharing
    unable to access .CMD and .EXE files from explorer on external drives.: I opened up my system today only to discover that i am unable to access any of my programs i have installed on external drives. the drives themselves are being detected and by windows, and are being assigned a drive letter, but if i try and open a program from explorer, I get...
  6. Problems with Screen Redraws in Powershell/CMD/Explorer in 19042.421

    in Windows 10 Installation and Upgrade
    Problems with Screen Redraws in Powershell/CMD/Explorer in 19042.421: My laptop Thinkpad X13, Ryzen 4750U updated to 19042.421 earlier this evening, and suddenly PowerShell, the Command Prompt, and a lot of Explorer applications aren't really updating unless there's a screen redraw. If I open PowerShell and type a command, it won't appear...
  7. Explorer,EXE

    in Windows 10 Installation and Upgrade
    Explorer,EXE: Please help me find a solution on this message; 'The group or resource is not in the correct state to perform the requested operation' Hoping someone has a simple solution, Thanks...
  8. Stuck with a black screen and a CMD window

    in Windows 10 Support
    Stuck with a black screen and a CMD window: Hi guys, long story short. Noticed that my CPU always was at 100% and that soundmixer.exe was the cause to it. After some googling i decided to remove it from regedit and restarted the computer. Now when i start the computer i'm stuck with a black screen and a CMD window,...
  9. Black screen on boot

    in Windows 10 Performance & Maintenance
    Black screen on boot: When I try to boot up my pc, it goes straight to a black screen, no display whatsoever. I've tried restarting it 3 times in a row. The closest I've got was mashing F12 which gave me a few beeps then nothing. What else can I do?...
  10. Desktop boots to a black screen with cmd open

    in Windows 10 Support
    Desktop boots to a black screen with cmd open: Hi all, for a while now whenever I turn on my computer and log on, I am greeted with a black desktop screen and cmd open. i am able to open explorer.exe from cmd and my computer runs fine there afterwards. I have ran a few virus scans and everything seems clean. Any...
Tags: