Windows 2000 file protection adjustment

xiaoxiao2021-03-06  74

Windows 2000 has been in place for a year, and its super stability has been praised by many users. The credits of this will not have today we have to focus on the Windows file protection function (hereinafter referred to as: WFP). Whether it is ordinary users, or those professional users, this feature is very meaningful, and it plays a considerable role in system stability. Let's take a look at what is WFP, how is it work? --------- Principle ------- WFP is what WFP is full of Windows File Protection, which is Windows file protection. Its main function is to prevent system files from replacing or overwrite the version of the mountable. As we all know, when installing a new application, due to an indignation DLL (Dynamic Link Library) file, the system file is destroyed (of course, the system file that may have problems may not be limited to the DLL file). In the past, most of the operating systems including micro-software) If the user agrees, the system file can be overwritten or replaced. If the replacement file is outdated or version mismatch affects the stability of the system, such as: may result in some programs that cannot be run. Now that WFP makes this situation have passed, how is the WFP work? How WFP works first we tried to overwrite the system files protected by WFP. As we know, those files installed during the initial installation are important to be important files, of course, this includes a wide range (Microsoft put all DLLs on Windows 2000 installation CDs, EXE, FON, OCX, SYS, The files ending with TFF are protected). In order to understand which files are protected by WFP, we can open the DLLCache folder, you will find the following format files: AX, CPL, CPX, DLL, EXE, FON, INF, OCX, RSP, SYS, TFF, and TLB files . All of these files (large parts are automated defined during the Windows 2000 installation) are backed up in the% systemroot% / system32 / dllcache folder until one day WFP is considered necessary to restore these files to the system. Orical is a manner. However, it also caused the DLLCache's folder very large, and we will tell you how to set up the maximum space occupied by DLLCache. When the WFP monitors these files are overwritten or replaced, they will start their work. First it will scan files that may have problems, if these files do not match the Microsoft "original" file in the backup folder, WFP restores the files backed up in the systemroot% / system32 / dllcache directory, if the file does not make a backup, system You will prompt you to insert the installation disc of Windows 2000 to restore the file.

What is the use of WFP in WFP is obvious, it will avoid your Windows 2000 core system files being accidental. This is especially important for the meaning of network users, because this returns are not busy with trouble that caused by the network user installer or accidentally deleting files. For the insufficient rookie of experience, WFP is more worthless, because it will ensure that you don't inadvertently make your own system a mess. But for advanced users, the meaning of WFP is not very large. Because it occupies the system resources you can handle to other more needed applications, it is also a bit waste of more hard disk spaces. Advanced users may want to turn off the WFP, and we will tell how to achieve this wish. Upgrade system files You may have already generated such questions, if the WFP protection system file is not replaced, how can we upgrade the system file while WFP is running? Ok, let's take a look at the following methods: Install Windows 2000 Service Pack; download and install by Windows Update; Install Microsoft HotFix for the system, hotFixes is installed by using HotFix.exe, it is necessary to replace protected system files . Most Windows 2000's HotFix integrates in the Microsoft Packs or other programs, such as Office 2000 SR-1A. However, Hotfix is ​​always launched before the maintenance package is released, so we can think that it is a temporary system correction process; you can see the installed Hotfix in the list of delete programs, you can see two hotfix, they Windows 2000 SP2 will appear 4, run the system installation and upgrade using Winnt32.exe. --------- Practice (1) ---------- Preparation Work should first log in as an administrator before we start calling, adjusting the WFP. No matter what you want to do for WFP, you must do it as an administrator. In addition, we recommend that you'd better prepare the emergency repair disk (ERD) in advance. Completion of ERD has the following two steps: 1. Click Start -> Program -> Accessories -> System Tools -> Backup; 2, select the Emergency Repair Disk option and back up your registry. After completing all the above work, we can start calling the WFP function. Call, define the WFP Windows 2000 default is to open the WFP function, if you do need, you can also call it. As long as you click Start -> Program -> Accessories, select the DOS prompt. Then type SFC and confirm (under the DOS prompt, WFP is called Windows File Checker), which there is still a lot of parameter switches, and we will list one by one below. The effect of the SFC command used to use these switches is the same as the effect of the editing registry introduced later.

1. Parameter adjustment method SFC / ScanNow: Use this parameter to immediately call the WFP to scan all implementable files.

SFC / Scanonce: Use this parameter WFP to scan all implementation protection files when the system is started next time. SFC / ScanBoot: Use this parameter WFP to scan all implementation protection files at each system startup. SFC / Cancel: This parameter will make WFP immediately terminated the ongoing scan. SFC / Quiet: This parameter will make WFP do not prompt to automatically restore all monitored version of the system files that do not match. SFC / PURGECACHE: This parameter will clear your DLLCache folder and re-scan the system files that need to be implemented immediately. Second, the registry adjustment method 1, click Start -> Run, type regedit or regedt32 and enter; 2. Find [HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows NT / CurrentVersion / Winlogon]. 3, on the right pane Right-click Select New -> DWORD VALUE and name SFCSCAN. Next you have three options: The key value is set to 0 (10) will open the normal use status of the WFP; the key value is set to 1 (10 Enter) will cause the WFP to protect all implementations when each system is started. The file is scanned; the key value is set to 2 (10) The WFP will be scanned all implementation protection when the next system is started. 4. Restart the system to take effect. | -page- | --------- Practice (2) --------- Adjusting the backup folder capacity By default, WFP will perform considerable files according to the situation of the hard disk space. Backup. Although it makes the protection of system files easier, it also occupies too much precious hard disk space, backup too many files. If you set the backup folder to 50MB, more than 240 files are saved by backup. The default Windows 2000 does not limit the capacity of the backup folder, if you have a 2G hard drive, in the initial environment you will find the folder folder folder with a capacity of up to 240MB. However, you can customize the functionality of WFP, some of the parameters described below are to help you limit folders to occupy the hard disk space size. I. Parameter adjustment method sfc / cachesize = x: You can fill in the maximum of your hoped backup folder occupying the hard disk space. You can choose the appropriate value based on the hard drive size. The author is set to 50MB. Second, the registry adjustment is here, you can also set the size of the backup folder by the following steps: 1. Click Start -> Run, type regedit or regedt32 and enter; 2, find [HKEY_LOCAL_MACHINE / Software / Microsoft / WINDOWS NT / CURRENTVERSION / WINLOGON]; 3, right-click Sfcquota in the pane on the right and select Edit. You can enter the folder capacity you want to set under Decimal. The system default is the input fffffff under HexADecimal item, which means that the folder space is not limited; 4. Restart the system to make the changes take effect. Adjusting the backup folder location If you feel that you can do it, you can even change the location of the DLLCache folder, although this is not very necessary. 1. Click to start, type regedt32 and enter the regedt32 and enter; 2. Find [HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows NT / CurrentVersion / Winlogon]; value;

4, you will see the system default is the string% systemroot% / system32, which means that the DLLCache folder is saved in the System32 directory. If you like, you can change it to other locations, such as E: / DLLCACHE. This setting is useful if you want to change the backup file to a relatively large hard drive partition, and the restart system makes the changes take effect. --------- Practice (3) --------- Close WFP is as mentioned earlier, some people may not like WFP because of such reasons, then they can press below Steps turn off the WFP. 1. Click Start -> Run, type regedt32 and enter; 2. Find [HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows NT / CurrentVersion / WinLogon]; DWORD VALUE, is named sfcdisable; 4. Enter the key value of the key value to turn off the WFP; 5, restart the system to take effect. To ensure that WFP is already closed, you can view log files after restarting your computer. Click Start -> Settings -> Control Panel. Open Administrative Tools -> Event Viewer. You will see the records shown in the figure. The WFP is turned off after each Windows 2000 is started. Note: Although the WFP is turned off, the file is still backed up under the DLLCache folder. This should be removed after the WFP is turned off. Just open the% systemroot% / system32 / dllcache this folder, then delete the files in the directory is. Open WFP You can restore the WFP function with the following command. First, the parameter adjustment method SFC / Enable: After running this parameter, you can restore the WFP function next time you start Windows. Second, the registry adjustment method 1, click Start -> Type RegedT32 and enter; SFCDISABLE and select Edit; After you recover the WFP function and restart, you should run the SFC / Scannow command to back up files in the DLLCache directory that has been deleted.

转载请注明原文地址:https://www.9cbs.com/read-87719.html

New Post(0)