[SOLVED] PC Booting but not opening file explorer by default

Ceyayrox

Commendable
Feb 13, 2017
17
0
1,520
I've been recently having an issue with my laptop where once I boot up and login, it takes me to a CMD on my screen on a black background. Every time I start up my computer this problem occurs.

I have a temporary fix where I can press CTRL + SHIFT + ESC to open Task manager then go to the top left on FIle then Run new task the explorer.exe
I have tried running scanning with Adwcleaner, WIndows Defender and SFC /Scannow in Powershell, still no luck 😯
 
Solution
Keep in mind this can be caused by a virus. If you try the first fix and find safe mode was checked, make sure you run a through anti-virus check.
https://www.cnet.com/forums/discussions/pc-stuck-in-command-prompt-on-boot-windows-10/

#1
Hold Ctrl+Alt+Del and select task manager. click 'open' and select run. type 'msconfig' in the run box and 'enter'. This will bring up the startup controls. On mine, safe mode was selected, so it would keep booting to safemode forever. So, unselect safe mode and Viola! reboot and rejoice! Hope this works for you...

#2
- Hold down the windows key and press R (a small window will appear with a text box)
- type "regedit" and press enter (this will open...
Keep in mind this can be caused by a virus. If you try the first fix and find safe mode was checked, make sure you run a through anti-virus check.
https://www.cnet.com/forums/discussions/pc-stuck-in-command-prompt-on-boot-windows-10/

#1
Hold Ctrl+Alt+Del and select task manager. click 'open' and select run. type 'msconfig' in the run box and 'enter'. This will bring up the startup controls. On mine, safe mode was selected, so it would keep booting to safemode forever. So, unselect safe mode and Viola! reboot and rejoice! Hope this works for you...

#2
- Hold down the windows key and press R (a small window will appear with a text box)
- type "regedit" and press enter (this will open the registry editor)
- open the following path: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- If that folder contains an entry called "Shell" and that entry has the value "%comspec%" remove it (right click then "Delete") (PS: You can also replace the value with "explorer.exe")
- reboot your computer and it should boot as usual.

You can achieve the same result by running this command:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /t REG_SZ /d "explorer.exe" /f
 
  • Like
Reactions: tingety
Solution
Keep in mind this can be caused by a virus. If you try the first fix and find safe mode was checked, make sure you run a through anti-virus check.
https://www.cnet.com/forums/discussions/pc-stuck-in-command-prompt-on-boot-windows-10/

#1
Hold Ctrl+Alt+Del and select task manager. click 'open' and select run. type 'msconfig' in the run box and 'enter'. This will bring up the startup controls. On mine, safe mode was selected, so it would keep booting to safemode forever. So, unselect safe mode and Viola! reboot and rejoice! Hope this works for you...

#2
- Hold down the windows key and press R (a small window will appear with a text box)
- type "regedit" and press enter (this will open the registry editor)
- open the following path: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- If that folder contains an entry called "Shell" and that entry has the value "%comspec%" remove it (right click then "Delete") (PS: You can also replace the value with "explorer.exe")
- reboot your computer and it should boot as usual.

You can achieve the same result by running this command:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v "Shell" /t REG_SZ /d "explorer.exe" /f

Thank you so much, it worked perfectly