Home >Common Problem >What is safe mode with command prompt
Safe mode with command prompt is a type of safe mode in the Windows operating system; in safe mode, users can start the computer without loading third-party device drivers, allowing the computer to run in the system Minimal mode, while safe mode with command prompt means that entering safe mode will pop up the command prompt window.
The operating environment of this tutorial: Windows 10 system, DELL G3 computer.
Safe mode is a special mode in the Windows operating system. Friends who often use computers will definitely not be unfamiliar with it. In safe mode, users You can easily fix some errors in the system and get twice the result with half the effort. The working principle of safe mode is to start the computer without loading third-party device drivers, so that the computer runs in the system minimum mode, so that users can easily detect and repair computer system errors.
Safe mode with command prompt
As the name suggests, entering this mode will pop up the command prompt (CMD) window, which is suitable for computer experts or maintenance The staff is very helpful as some problems are easily solved in CMD.
Extended knowledge: Main functions of safe mode
Delete stubborn files
When we delete some files or clear the contents of the Recycle Bin under Windows, the system sometimes prompts "A certain file is in use and cannot be deleted", but these files are not in use. At this point, you can try restarting your computer and entering safe mode at startup. After entering safe mode, Windows will automatically release control of these files and you can delete them.
Restore
If the computer cannot start normally, you can use "Safe Mode" or other startup options to start the computer. Press the F8 key when the computer starts. Select Safe Mode in the Mode menu, and then perform system restore as follows:
Click "Start" → "All Programs" → "Accessories" → "System Tools" → "System Restore" to open the System Restore Wizard. Then select the "Restore my computer to an earlier time" option, click the "Next" button, click on the date shown in bold on the calendar to select the system restore point, and click the "Next" button to perform system restore.
Check for viruses
There are more and more viruses every day, and anti-virus software is also updated every day. However, we are a little worried about antivirus under Windows because they are very likely to be cross-infected. And some anti-virus programs cannot run under DOS. At this time, of course we can also boot the system into safe mode so that Windows only loads the most basic drivers, so that the virus can be killed more thoroughly and cleaner.
Unlock Group Policy
In fact, Group Policy restrictions in Windows are implemented by loading specific key values in the registry, but this restriction will not be loaded in safe mode . After restarting, hold down the F8 key and select "Safe Mode with Command Prompt" in the multi-boot menu window that opens. After entering the desktop, enter "%windir%\System32\*.exe (*.exe refers to the program you want to start)" at the startup command prompt, start the console, and then follow the above operations to lift the restriction. Finally Restart the normal login system to unlock.
Note: Many restrictions of Group Policy cannot take effect in safe mode. If you encounter restrictions that cannot be lifted, you may wish to enter the following to find solutions.
Repair system failure
If Windows is not running stably or cannot start normally, don’t be busy reinstalling the system at this time. Try restarting the computer and switching Start in safe mode and then restart the computer. Has the system returned to normal? If the system failure is caused by a problem with the registry, this method is very effective because Windows can automatically repair the registry when starting in safe mode. Question, after successfully starting Windows in safe mode, you can usually start it in normal mode (Normal).
Restore system settings
If the user installs new software or changes some settings, causing the system to fail to start normally, he also needs to enter safe mode. To solve the problem, if it is caused by installing new software, please uninstall the software in safe mode. If some settings are changed, such as the display resolution setting exceeding the display range of the monitor, resulting in a black screen, you can change it after entering safe mode. Come back (but in this case it is easier to start in the "Enable low-resolution video (640X480)" mode), and put the screen saver with a password in the "Startup" menu. After forgetting the password, it will not work properly. You can also enter safe mode to change the computer.
Uncover the malware
If there are some inexplicable errors on the computer, such as being unable to access the Internet, and the problem cannot be found according to conventional methods, you can boot it into safe mode with network connection and take a look. If you can access it here, it means that some automatic The startup program or service affects the normal connection of the network.
Detection of incompatibility
Because XP adopts a digitally signed driver mode, the detection of various hardware is stricter than before, so some devices may not work properly It cannot be driven and used in this state. For example, with some early CABLE MODEMs, if you find that XP cannot recognize the hardware in normal mode, you can press F8 during startup, and then choose to enter safe mode. After detecting new hardware in safe mode, it is possible to load the CABLE MODEM correctly. Driven.
Uninstall
General drivers, if they are not suitable for your hardware, you can uninstall them through XP driver restore. However, if the graphics card and hard disk IDE driver are installed incorrectly, they may crash as soon as they enter the GUI interface; the same is true for some motherboard ULTRA DMA patches, because Windows needs to read the memory and disk page files at any time to adjust the computer status, so the hard disk driver As soon as there is a problem, the system crashes. What to do at this time?
In some cases, disabling the administrator account may cause maintenance difficulties. For example, in a domain environment, when the secure channel used to establish a connection fails for some reason, if there is no other local administrator account, you must restart the computer in safe mode to fix the problem that caused the connection state to be interrupted.
If you try to re-enable a disabled administrator account and the current administrator password does not meet the password requirements, the account cannot be re-enabled. In this case, an optional member of the Administrators group must set the password for the Administrator account through the Local Users and Groups user interface.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is safe mode with command prompt. For more information, please follow other related articles on the PHP Chinese website!