DEV Community

Pritesh Usadadiya
Pritesh Usadadiya

Posted on

Safe mode in Windows 8

So, i forgot my system password. Stupid me 😬. I have 2 systems and 3 vpn connections. Generally i remember my passwords well but today suddenly, out of nowhere i forgot which one is for which account ?

Long story short, i wasted a good amount of time trying to reset it using windows repair module. (first time i ever did that)

tried F8 , Shift + F8, F5 nothing worked. :(

Went to couple of forums and figured that there is no direct way to open windows machine in safe mode. you will have to first run some commands (in CMD) and then system will restart in safe mode.

So, i started the System recovery options and somehow reached to CMD.

Here is a command that needs to be run there,

bcdedit /set {default} safeboot minimal

Enter fullscreen mode Exit fullscreen mode

This sets boot manager to run in safe mode by default.

Once this is set your system will run with safe mode by default and if you wish to reset it (i mean to run as normal) you will have to delete above entry with this command. (Note: Unless you delete above entry, system will run in safe mode only)

bcdedit /deletevalue {default} safeboot

Enter fullscreen mode Exit fullscreen mode

So, how did i recover/reset my password you may ask ? 😌

Well, i tried with different combinations and finally remembered it 😂😂 (Wonder how that happens ? )

Wasted entire Sunday, But still i guess, i learned something. :)

Cheers,
Pritesh

Discussion (1)

Collapse
digitalvtech_co profile image
Tech Gyan

Your answer is really very helpful. Thank your share it with us.

You can also visit my post about 0x0 0x0 windows error.