Type command prompt in the search box, and right-click the Command Prompt, and select Run as administrator. Type bcdedit /set {current} safeboot minimal command and hit Enter. Boot your computer into BIOS and enable the AHCI mode. Enter Safe Mode and reopen Command Prompt. Then run the bcdedit /deletevalue {current} safeboot Restart your computer to execute the change.