Play Windows safe mode and easily fix fault adjustment partitions

  
 

People who use computers regularly know that when the computer
fails, Windows
will provide a platform called "Safe Mode". Here, users can solve many problems, whether it is hardware (driver) or software. Will you use this safe mode? Let me pick you up today.

One, enter safe mode

To enter safe mode, as long as you press F8 at startup, the option menu will appear, and then use the up and down cursor keys on the keyboard to select Enter different startup modes.


The options menu includes the following:

1. Safe mode uses only basic files and drivers. Such as mouse (except USB serial mouse), (prohibited words - hidden), keyboard, hard disk, basic video, default system services, etc., but no network connection.

If you are unable to start your computer successfully in Safe Mode, you may need to use the Recovery Console feature to repair your system.


2. Security mode with network connection adds network connectivity based on normal security mode. However, some network programs may not work properly, such as MSN, and many self-starting applications do not automatically load, such as firewalls, anti-virus software, and so on. So in this mode, don't forget to load manually, otherwise malicious programs may invade during the process of repairing your computer.


3. Safe mode with a command line prompt uses only basic files and drivers to launch. After logging in, the command prompt is displayed instead of the Windows graphical interface.

Description: In this mode, if you accidentally close the Command Prompt window, the screen will be completely black. Press the key combination Ctrl+Alt+Del to bring up the “Task Manager”, click “New Task”, and then type “Run” after the “Dialog” pop-up; “C:WINDOWSexplore.. Exe”, can immediately start the graphical interface of WindowsXP, exactly the same interface as the above three security modes. If you enter “c:windowssystem32cmd” you can open the command prompt window again. In fact, the command prompt window can be launched in this way when other security modes start normally.


4. Enable the startup to start in normal safe mode and log all drivers and services loaded (or not loaded) by the system into a text file. This file is called ntbtlog.txt and is located in the %windir% (default is c:windows) directory. It is useful to start the ambiguity to determine the exact cause of the system startup problem.


5. Enable VGA mode to boot with the basic VGA driver.

This mode is useful when a new video card driver that prevents Windows from starting properly is installed. In fact, no matter which form of security mode is used, it always uses the basic video driver. Therefore, in these modes, the resolution of the screen is 640 & times; 480 and cannot be changed. However, the driver can be reinstalled.


6. The last time the correct configuration was started using the registry information and drivers saved when Windows was last closed. Any changes made since the last successful start will be lost. Therefore, the last correct configuration is generally used only when the configuration is incorrect (mainly software configuration). However, it does not solve the problem caused by the driver or file being damaged or lost.


7. Directory Service Recovery Mode This is for the server operating system
and is only used to restore the SYSVOL directory and Active Directory directory service on the domain controller.


8. Debug mode is sent to another computer via the serial cable when the debug mode is started.

If you are installing or installing Windows on your computer using the Remote Installation Service, you can see additional options related to restoring or restoring your system using Remote Installation Services. A recovery screen is displayed normally

In the past, an old monitor was used, and it was a beginner. The beginner’s favorite is the wallpaper. It’s also a sense of accomplishment when setting the resolution. I didn’t expect to distinguish it. The rate and refresh rate are adjusted too high, and the screen will be screened at the next startup, which will make it necessary to reinstall the operating system.

Now it’s really stupid to think about it. Just reboot it into safe mode (the first four modes above), delete the graphics driver and restart the computer. When restarting (normal startup), the system will automatically scan the graphics card and install the driver, and the screen will resume normal display.

There are still some problems that can be handled by this method. For example, Windows XP will automatically recognize the hardware and install the driver, but sometimes it will always be dizzy, and it will not display the error message under the device manager, but it will not work. Normal, the above network (the network card driver is wrong), the screen display is wrong (the graphics card driver is wrong), etc., you can also reinstall the driver in safe mode.


Second, malicious malicious self-starting programs or services

If the computer has some inexplicable errors, such as not being able to access the network, you can't find the problem according to the conventional thinking. , can be booted into a safe mode with a network connection, if it can be here, it means that some self-starting programs or services affect the normal connection of the network.

In the secure mode with network connection, use the command prompt tool TaskList>d:Anquan.txt with redirection to record the current process to the text file Anquan.txt in the D: root directory. in. Then, start the computer in the normal way, compare the process recorded in Anquan.txt with the process at this time, you will find that there are many more processes at this time, please end the extra process one by one and check the network connection. Is it normal? If the network connection is normal when ending up to a process, the process that just ended is the culprit. Once detected, the process-related executables can be deleted. However, it should also be noted that since it is automatically run, after forcibly deleting, it may cause the startup time to report the error of not finding a file & rdquo;, and also clear all settings related to self-start, including &ldquo "System Configuration Utility" "Startup">,""Win.ini” content under the registry, content under the startup script, “start”menu"start” Wait.

Three, adjust the partition

Going out, but the book is not up to expectations, the partition time is wrong when starting. I didn't bring any tool software, but fortunately, I could start the safe mode. The command line tool Diskpart is capable of doing everything for the partition magician. Diskpart is very powerful. It works in an integrated environment. After inputting Diskpart, it displays a dedicated prompt, Diskpart> (note: this is not a path). In this environment, you can input a lot of related and special ones. Subcommand. Let's demonstrate the expansion of the partition.

Note first: The following operations were recorded on the desktop.

1Start in safe mode with a command prompt and enter the command Diskpart. Then enter the listpartition to display the partition. Obviously, there are two primary partitions and two extended partitions.


2 Enter “SelectParttition3” (3rd partition, 5004MB of that) to make the partition have focus properties. Re-enter “DeletePartition” to delete the partition. Please compare the values ​​of the first and second "Listpartition" commands, it is not difficult to see that the original partition 3 has indeed been deleted.


3 Enter “Selectpartition1” to make it have the focus attribute, then enter “Extend”, the unallocated space that was just deleted by the partition will be automatically added to the first partition Go in.

To expand the partition, this is the patent of the partition magic, diskpart can also be realized, it seems that Windowsserver2003 does not support the partition magician makes sense. Then enter “Listpartition” to observe the capacity change of the first partition.

Description: When expanding a partition with focus to the nearest unallocated space, for a normal partition, the unallocated space must be on the same disk and must follow the partition with focus.

If the partition to be expanded is in NTFS format, no data will be lost after expansion. In the case of a non-NTFS file system format, this command will fail, but will not make any changes to the partition or data. You cannot extend the current system partition or boot partition, nor can you expand the partition that contains the page file. If there are two primary partitions in the computer, partition 5 is the active partition. Otherwise, partition 1 cannot be expanded.

Syntax: extend[size=n] Parameter Description: size=n: The size of the space (MB) added to the current partition. If you do not specify a size, the disk expands to occupy all of the nearest unallocated space.


4 No matter what changes have been made to the hard disk partition, including creation, deletion, expansion, etc., it does not need to restart the computer to take effect (this is the partition magic can not do I arrived, but in the "My Computer", I can't see these partitions. Why is this? It turns out that I haven't assigned a drive letter (that is, a drive letter). How to specify the drive letter? The following is an example of specifying the drive letter in the first partition.

Make the first partition have the focus attribute, and then enter the command “Assign”, Diskpart will automatically assign one to it. Of course, you can also use the command “AssignLetter=X”” to specify manually. When manually specifying, it cannot be the same as the existing drive letter such as C. After this processing, you can view these partitions under “My Computer”.


5 Set partition 5 as the active partition, first use SelectParttition5 to make it have the focus attribute and then activate it with Active. Finally, enter Exit to exit the Diskpart integration environment and let the computer restart automatically.

Description: If you are used to DiskPart, you will feel that its design is in line with people's thinking habits. Generally, the focus is specified first, and then the operation can be performed. . Enter Help to view all the subcommands. When the input is wrong, it will automatically list the subcommand and a brief description to guide you to the right path. In addition, after installing Windows2003, the most familiar partition magician (non-server version) can not run normally, using Diskpart is really a good choice.

Copyright © Windows knowledge All Rights Reserved