
You will then be able to execute commands directly from the Windows Recovery CMD. Once you’re in Windows Recovery, select Troubleshoot > Advanced Options > Command Prompt.

If you can’t access Windows, repeat the force shutdown steps mentioned above to force boot your PC into Windows Recovery Environment.

Click on Restart now to boot into Windows Recovery. If you’re still able to access Windows 10/11, enter Windows Recovery by going to Start menu > Settings > Update & Security > Recovery > Advanced startup. Opening Command Prompt from Windows Recovery Press the 6 key to boot into Windows safe mode with command prompt on the next restart. When you are in Windows Recovery, select Troubleshoot > Advanced Options > Startup Settings.

If you already know how to open the command prompt without booting into Windows, you may skip this step. To start, we will show you how to enter safe mode with command prompt on Windows 11/10, or access the command prompt from the Windows Recovery Environment. If you can only boot into safe mode with command prompt, or into the Windows Recovery Environment, there is still a chance to repair Windows 10/11 by using the command prompt tool before you reset or reinstall Windows. Starting up Windows 10/11 in Safe Mode with Command Prompt

Repairing Windows 11/10 Using SFC scannow in CMD.Opening Command Prompt from Windows Recovery.Starting up Windows 10/11 in Safe Mode with Command Prompt.
