Author Topic: safe mode  (Read 2535 times)

0 Members and 1 Guest are viewing this topic.

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 9964
  • Location: UK
  • Karma: 122
    • View Profile
Re: safe mode
« Reply #25 on: May 12, 2020, 02:27:53 PM »
I have occasionally performed a repair install when things weren't right, but I've also booted up with it and selected Repair your computer on the Install screen and performed a couple of cmds when the machine wouldn't boot or was hanging on boot.

Those cmds are -

bcdedit |find "osdevice"

For clarity that is a Pipe symbol before find and is the uppercase of \

Then using your partition letter instead of the x I have exampled, enter -

dism /image:x:\ /cleanup-image /restorehealth

Then again using your partition letter instead of the X I have exampled, enter -

sfc /scannow /offbootdir=X:\ /offwindir=X:\Windows

Note the space before each /

Enter exit to close the cmd window and restart.