Current location - Health Preservation Learning Network - Healthy weight loss - Many file formats of my computer have been changed to bfads files at the same time, and the files have also been changed. (2016 65438+18: 00 on October 5th) What's the matter?
Many file formats of my computer have been changed to bfads files at the same time, and the files have also been changed. (2016 65438+18: 00 on October 5th) What's the matter?
The whole process of making universal Ghost image file This paper is the most basic tutorial for making universal Ghost system. The image file of the universal Ghost system can be restored to most computers, which can bring great convenience to friends who often install computers. I. Compilation of 1. Prepare the required tools and software. ※; R & amps _ v9.5.118 intelligent system packaging tool ※ deployment. CAB (included in the system installation CD: /SUPPORT/TOOLS directory) ※ ghost _ v8.0 &; V8.2 (NTFS partition is only supported after 8.0) ※Windows2K/XP/2003 system installation CD (activation-free version recommended) ※DllCacheManager_V 1.0 (Dragon Empire Special Edition) Dllcache backup and restore tool 2. Install the operating system normally, and make system security patches (it must be installed on drive C, and cannot be installed on other partitions unless. The operating system can be installed in two file formats, FAT32 and NTFS. It is suggested to adopt the FAT32 file format (don't be lazy, it must be fully formatted to prevent bad areas on the disk), because Ghost has a higher compression rate on FTA32, which can reduce the volume of backup files after production. Another is that FTA32 format can be converted into NTFS after recovery, and it is more troublesome to convert NTFS into FTA32, so it is more flexible to adopt FAT32 file format. Of course, if you carefully look at the differences between MS FAT and NTFS, and between NTFS and convertNTFS, you should know that "native" NTFS has advantages over converted NTFS in terms of performance and file fragmentation, so it is also recommended that people who pay attention to performance use NTFS file format to install the operating system ("native" refers to partitions formatted directly with NTFS file format, rather than through convert conversion). For WindowsXP, an important issue when making universal clones is system activation. Because WindowsXP uses activation mechanism to prevent piracy, when the hardware changes, the system will require reactivation, so it is recommended to use the version of WindowsXP that does not need activation, such as the version authorized by large enterprises. 3. Install application software, install and register, and set up the application software you need, such as Office and Winrar. Note: After repackaging the system with sysprep, the system will restore the relevant settings of the input method to the system default state when the installation is resumed, and the newly installed input method before packaging will not be displayed in the language bar list, so it needs to be added again manually. For this reason, WindowsXP system can make the following settings before the system is packaged: open the control panel, double-click the regional and language options, select Advanced, select "Apply all settings to current user account and default user profile" under the "Default user account settings" box, and then click "OK", so that the input method related settings of the language bar are added to the default profile of the system. After repackaging the system, the newly installed input method can be automatically added to the input method list in the language bar when reinstalling. 4. Install S&; R & amps _ v9.5.118 intelligent system packaging tool double-click s&; R & amps _ v9.5.118 intelligent system packaging tool will automatically create a sysprep folder in the root directory of the current system partition as long as it "next" all the way. Then select and copy the deployment. Copy the. CAB file in the system installation CD /SUPPORT/TOOLS directory to the sysprep folder (the directory and its files will be automatically deleted when the system is packaged and installed for the first time). 5. Install DllCacheManager_V 1.0 (Dragon Empire Special Edition) Dllcache backup and restore tool (optional) to decompress DllCacheManager.rar files, and then copy DllCacheManager.exe and ZProgBar.ocx to the %systemroot% directory (XP system C:/windows directory, 2K system C:/winnt directory). Cooperate with S&; R & When using S, autohal.exe will automatically call Dllcache Manager for backup recovery, and delete itself when installing the recovery packaging system after completing the packaging and running of Dllcache directory files backed up by DllCacheManager.exe. If you don't use S&; R & amps, you need to run DllCacheManager for manual recovery and then delete yourself; Or add DLlcachemanager/restore/autodelete/timeout (such as the command that runs for the first time after entering the system in Sysprep.inf file) in the relevant batch file. You can also extract DllCacheManager.rar files to any location in the current system partition. After running DllCacheManager.exe, you can choose "Automatically delete when restoring" or "Back up and delete yourself when restoring" for backup, and you can automatically restore the backup and delete yourself the next time the system is started. Second, system weight reduction (optional) In order to reduce the time required for Ghost to restore mirror backup files, or to install the software on a CD as much as possible, it is necessary to make the Ghost backup files small enough, so we need to carry out a series of weight reduction work on the system. Of course, if you don't mind the size of Ghost backup files, there is no need to lose weight on the system. 1. Turn off System Restore, open Control Panel, and double-click System. Select System Restore in the system property panel, check Turn off System Restore on all drives, and then click OK. The system restore function of WindowsXP takes up a lot of disk space and must be turned off to reduce the system size. After turning off System Restore, the contents of the SystemVolumeInformation directory in the root directory of the system partition will be emptied immediately, so you can also turn on this function after turning off System Restore. 2. Turn off system hibernation, open the control panel, double-click "Power Options", select "Hibernation", remove the check before "Enable Hibernation", and then click "OK". At this time, the page file hiberfil.sys in the root directory of disk C of the system partition will be automatically deleted. The hibernation function of WindowsXP, like system restore, takes up a lot of disk space, and the hibernation function takes up the size of system partition and the space of physical memory. 3. Transfer the virtual memory page file to open the control panel, double-click the system, select Advanced in the system property panel, then click Settings in the performance box, select Advanced, click Change in the virtual memory box, select the current system partition C, then select the custom size, set the initial size and maximum value to 0, and then select the partition where the page file is stored. The virtual memory page file Pagefile.sys is generally located in the root directory of the system partition, and the default setting size is 65438+ 0.5 times of physical memory. It is a stubborn hidden file that is difficult to delete, so it is best to transfer it to other partitions outside the system partition to reduce the volume of the system partition. If you clone the system with Ghost version above 8.0, you can actually omit this item, because Ghost version above 8.0 can automatically delete the virtual memory page file pagefile.sys when making mirror files. 4. Clean the disk and delete the temporary files of the system and IE ※ Run Disk Cleaner to delete the temporary files of the system Start-Program-Accessories-System Tools-Disk Cleaner-Select Drive-OK-Disk Cleaner-Select Delete File-OK. ※ Delete IE temporary files and history Open IE- Tools-Internet Options-General-Delete cookies(I)- OK-Delete files (f)- OK-Delete history (h)- OK-OK. ※ Delete the recently used document record Start-Settings-Taskbar and [Start] Menu (T)-[ Start] Menu-[Start] Menu (S)- Customize (C)- Advanced-Clear List (C)- OK. 5. Use DllCacheManager to back up DllCache directory files (dll files). This step must be performed after the system is packaged. Using DllCacheManager_V 1.0 (Dragon Empire Special Edition) to back up DllCache directory files can reduce disk space by about 300M. Slimming, delete the following directories or files (delete directories without *): optional c:/windows/$* (all directories starting with $ sign, reverse patch installation, about 70M)c:/windows/*. Logs (although not big, but too many are uncomfortable to look at) c:/windows/pchealth Help Support Center, 30M (please copy helpctr/binaries/msconfig.exe to the system32 directory before deleting) c:/windows/ime/chtime Traditional input (unnecessary, Many input methods support traditional) 12Mc:/windows/ime/imejp Japanese input 12Mc:/windows/ime jp 98 Japanese input12mmcimkj6 _1Korean input12mc:/windows/system32. Cintlgnt Cang Xie code 3mc:/Windows/System32/IME/Tintlgnt Pinyin input 3MC:/Windows/help, help/tours/tour.exe and AGT0 * are excluded. Help file, 30Mc:/windows/temp/* There is usually no C:/Windows/prefetch/* C:/Windows/installer/*. Some LJ (long directories cannot be deleted! ) C:/Windows/ downloaded installation MSI program, some LJC:/Windows/Resources/Themes/* (It is recommended to keep Classic as the classic theme and Luna. As an XP theme, the theme is 8M. If you don't like it, delete it) C:/Windows/srchast, except mui directory, C:/Windows/Msgent. C:/Windows/Software Distribution/Download/* (the temporary storage point for downloading patches) is about 60Mc:/windows/system32/oobe activation program (we all use activation-free XP, which is unnecessary) 8mc:/Windows/Web/wallpaper/* wallpaper, just leave a nice bliss.bmp, or delete it all. 2mc:/programfiles/windowsnt/pinball pinball, deleted. Remember to delete the connection 5mc from the start menu:/program files/moviemaker delete all, 10M, LJ. Remember to delete the connection c:/programfiles/messenger c:/programfiles/msngamingzone from the start menu. Ljc:/programfiles/installshieldinstallationinformation/* LJC is left by the installer:/programfiles/windowsupdate/* LJ2 is upgraded by XP, ZIP document support is turned off, and "regsvr32/uzipfldr.dll" is run (saving system resources). 3, visual effect adjustment. Adjust to the best performance, and then select Smooth screen font edges, Show window contents when dragging, Use visual styles on windows and buttons, and Use shadows for icon labels on the desktop in customization. 4. Turn off memory dump and disable error reporting; Run "drwtsn32" to keep the Visual Notification and cancel all other operations. 5. Run "inf/sysoc.inf", edit → replace → find the content "hidden" → replace all → save, and uninstall unnecessary windows components. 6. Delete the folders "$ $ $NtUninstallQ****** * * *" and "ServicePackFiles" under C:/Windows, and the log files starting with KB8 and Q.7.. C:/Windows/help, except for digital files such as Help/Tours/mmTour/tour.exe and agt0*. Hlp, several file names are all capitalized, and all others are deleted. 8.C:/Windows/srchast, except mui directory, C:/Windows/msgent, except intl directory, everything will be deleted. 9. Accelerate access to online neighbors, open the registry, and find HKEY _ Local _ Machine/Software/Microsoft /Windows/ Current Version/Explore Open the Computer/Namespace. Delete {2227A280-3AEA-1069-A2DE-08002B30309D} (printer) and {D6277990-4C6A-1CF-8D87-00060F5. Search *. Tmp files and delete them all; Use windows Optimizer to clean the system; Run disk defragmentation after reboot. 3. Delete and change the system hardware driver (key! Must do) 1, uninstall the hardware driver (1) uninstall the network card. (2) Uninstall the universal serial bus controller. (3) Uninstall the audio and video game controllers. (4) Unload the monitor. (5) Uninstall the graphics card (the purpose of uninstalling the graphics card is to prevent the blue screen from appearing when the ghost goes to another machine). If you are prompted to restart when uninstalling the hardware driver, select No to not start. Note: first uninstall and change the driver inside: pay attention to the order! ! First uninstall the network card, universal serial bus controller, audio and video game controller, monitor and graphics card (it is normal that the graphics card still exists after uninstallation, not your operation problem). When uninstalling, right-click and click Uninstall. The system prompts to restart, press No to not start! ! (The purpose of uninstalling the graphics card is to prevent the blue screen phenomenon that may occur when installing GHOST on other computers. ) is generally uninstalled to the hardware that can be uninstalled and deleted. 2. (Press the key) Change the computer power management mode Advanced Configuration Power Interface (ACPI) Open the device manager of StandardPC, right-click Advanced Configuration Power Interface (ACPI) under Computer, and then select Change Driver. Select "Install from list or specified location (advanced)" in the pop-up "Hardware Update Wizard" dialog box, click Next, then select "Don't search, I want to install the driver myself", click Next, select "StandardPC", and then click Next, the hardware manager will automatically install the driver of the StandardPC, and then prompt the computer to restart. So chooseNo. Change Note: If the new machine and the mother machine are not the same type of ACPI, your newly cloned machine will not be able to realize soft shutdown or system crash, so it must be changed to compatible StandardPC mode. Generally, older computers only have the StandardPC option, but now most computers are Advanced Configuration Power Interface (ACPI), and new computers after 2003 are ACPI. 3. (Press the button) Change the IDEATA/ATAPI controller to the standard dual-channel PCIIDE controller, open the device manager, right-click Intel (R) 82801BabusMasterIdecontroller under IDEATA/ATAPI controller (note: different motherboards will display differently), and select Change Driver. Select "Install from list or specified location (advanced)" in the pop-up "Hardware Update Wizard" dialog box, click Next, then select "Don't search, I want to install the driver myself", click Next, select "Standard dual-channel pcide controller", and then click Next, the hardware manager will automatically install the driver of the standard dual-channel pcide controller, and then the computer will prompt you to restart. Description of change: This step is the main key step. If you don't do it, the system won't start when Ghost goes to another machine. Therefore, in order to adapt to various motherboards, IDE controller must be changed to "standard dual-channel PCIIDE controller". Note: s&; R & AMPS _ V9.5.118 intelligent system packaging tool has built-in "changing computer power management mode" and "changing IDEATA/ATAPI controller" (S&: S _ v9.5.1118 version has this function), so it works with S &;; R & B does not need to do these two steps when packaging S, but you must enter the device manager after the system is packaged to see whether the change is successful. Fourth, organize the disk (recommended) After completing the above work, you must organize the disk to ensure that there are no file fragments on the system partition, and its benefits are self-evident. Of course, this step can also be performed after the system is packaged, or it can be performed again after the system is packaged. At this point, if you want Ghost, you can already do it. However, in order to install the hardware driver of the clone system more accurately and run more stably, we need to repackage the system with Sysprep.exe in Microsoft's enterprise deployment toolkit DEPLOY. CAB, so that after restoring the GHO file, the system will reinstall all the new hardware drivers at the first startup, effectively avoiding the instability of the universal cloning system. V. System Packaging (Recommended) System Repackaging You can repackaging the system directly by using Sysprep.exe in enterprise deployment. CAB toolkit, which is provided with the system installation CD or by using S&; R & amps _ v9.5118 intelligent system packaging tool performs intelligent packaging by calling Sysprep.exe (recommended). The difference between them is that the former needs to manually change the power management mode of the computer from StandardPC to the corresponding power management mode of the new machine after installing Ghost on the new machine, while the latter can automatically detect the HAL type of the hardware abstraction layer and realize the automatic identification and change of the power mode. Due to S&; R & AMPS _ V9.5.118 The packaging tool of intelligent system adopts detecthal technology of longhorn, so the accuracy of hal can reach 100%, and it can directly enter the packaging process, with fast packaging speed and no need to restart the computer many times. Note: Windows2k/XP/2003 system installation disk has its own packaging tool, but it is not universal! 1. Creating sysprep.inf automatic answer file system requires users to input some necessary contents, such as user name, computer name, installation serial number, etc. , whether it is factory mode installation or repackaging. However, there is a problem, that is, when we need to input this information when the new Ghost clone is installed, the system has not found the driver of the keyboard and mouse, and the keyboard and mouse are in suspended animation. At this time, the system must install automatic response, so an automatic response file sysprep.inf is needed to complete the input of relevant information. The creation process is basically stupid, just follow the prompts step by step. It should be noted that the installation type step must be "sysprep installation" and the license agreement step must be "automatic installation", so there is no need for manual intervention in the installation process, and you can also add commands that need to be run in "Run once", such as the command "convertC:/FS:NTFS" to convert FAT32 to NTFS. Creation steps: double-click the setupmgr.exe file in the sysprep folder-create a new file-sysprep installation -Windows XP Professional- Yes, fully automatic installation-enter name/company-enter product key-automatically generate computer name and confirm. Note: The file name of the automatic answer file must be sysprep.inf, and the directory must be in the c:/sysprep directory. 2. Modify the background image when resuming installation. Put your own background image of setup.bmp in the sysprep folder, modify the sysprep.ini file and add: [OEM _ ads] background = setup.bmp ... This method will not replace the setup.bmp generated by autohal. When the installation is resumed, the default logo will still appear after the registration screen and before the minimum installation, but the time is short, and the background image of setup.bmp will be displayed during the minimum installation. 3. Repackaging system Repackaging system. You can run Sysprep.exe direct packaging system in Sysprep directory, or run msprep.exe intelligent packaging tool by calling Sysprep.exe intelligent packaging system. After running Sysprep.exe or msprep.exe, follow the prompts to repackage the system. Pay attention to option settings when packaging: * Among the four options in the system packaging screen, the second option "Use minimum installation", that is, the installation item without residual drivers, is exactly what we need, so we must choose it. The first item "grace period for not resetting activation" and the third item "not regenerating security identifier" are used by genuine users for activation, but we use the activation-free version, so it doesn't matter whether these two items are selected or not, and the use of the system will not be affected after GHOST cloning. The fourth option "Detect non-plug and play hardware" is not required. * You can choose the shutdown mode according to your needs. It is recommended to select "Exit" to back up the DllCache directory file in the next step. * After setting the options, you can click the "repackage" button, and the system will repackage in about half a minute. 4. Back up the DllCache directory file (dll file) and run DllCacheManager.exe(XP in the %systemroot% directory (C:/windows directory for XP system and C:/winnt directory for 2K system) to complete the backup of DllCache directory file according to the prompt, which can reduce the disk space by about 300M m.. Note: Cooperation with S&; R & When S is used together, because DllCacheManager adopts the way of registry runonce, when S &;; R & amps When the IDE is changed to standard or the power mode is changed to StandardPC, runonce will be activated, so you need to package the system first, and then back up the DllCache directory file with DllCacheManager (if you back up first and then package, the backup will be automatically restored at the beginning of packaging). 5. After backing up the DllCache directory file (dll file), the system reduces the disk space occupation by about 300M. At this time, it is better to defragment the disk again. After completing the above steps, the system in drive C is already a repackaged clean system. At this point, even if the whole packaging system is completed, you can turn off the computer (be careful not to start the packaged system, if you restart it, the newly completed packaging system will resume installation, and the above work will be in vain). The next work is to start the computer with DOS and make the clean system into a Ghost image file for installation. Make a Ghost system image file with intransitive verbs, start the computer to run Ghost with DOS, select "local → partition →ToImage" in the menu in turn, select the first partition of the hard disk (drive C) in the pop-up dialog box, set the storage path and file name of the image file, such as "D:/ghost/xpghost.gho", and press "Yes" after selecting the compression method. The final xpGhost.gho file is the Ghost system image file. Note: Ghost _ V8.0 is recommended. Version 8.2, on the one hand, version 8.0 and above can support NTFS partition, on the other hand, version 8.0 and above can automatically delete the virtual memory page file "pagefile.sys" when making image files, thus reducing the volume of image files. If you want to make a universal clone that can install software, then the image file is likely to exceed the capacity of a CD-ROM. Ghost volume compression can be used at this time. For example, if you want to set the volume size to 650MB, you can enter the command "Ghost-split=650" to run Ghost, and the subsequent operations are no different from those described above. Seven, restore the general Ghost system image Note: Ghost _ V8.0 is recommended. DllCacheManager Version 8.2 Description: DllCache Manager is a Windows2k/XP slimming tool. Using this tool, you can back up the files in the DLLCache directory to reduce the disk space occupation (about 300M) on the current system partition. Unzip the DllCacheManager.rar file, then copy the files of DllCacheManager.exe and ZProgBar.ocx to the %systemroot% directory (XP system x:/windows directory, 2K system x:/winnt directory, X is the current system partition), and then run DllCacheManager.exe for backup. Cooperate with S&; When R & amps uses the recovery package system, autohal.exe will automatically call DllCacheManager for backup recovery and delete himself; If you don't use S&; R & amps, you need to run DllCacheManager for manual recovery and then delete yourself; Or add DLlcachemanager/restore/autodelete/timeout (such as the command that runs for the first time after entering the system in Sysprep.inf file) in the relevant batch file. You can also extract DllCacheManager.rar files to any location in the current system partition. After running DllCacheManager.exe, you can choose "Automatically delete when restoring" or "Back up and delete yourself when restoring" for backup, and you can automatically restore the backup and delete yourself the next time the system is started. Use parameters:/back up/restore restore/restore/autodelete restore plus delete yourself /restore/auto delete/time out xx, where "xx" is any 2-digit number between 0 and 99, and if it is/restore/autodelete/timeout, it is automatic recovery without countdown. It should be noted that the /timeoutxx parameter can only be used in the recovery process, and it is only effective when you want to delete yourself using aotodelete. * The new version of DllCacheManagerV 1.0 Dragon Empire Special Edition can change the name of the application at will, place the application in any position of the system partition, and support the backup and recovery operations of any partition, as well as the backup and recovery operations of all disks whose systems are not on the C disk. When you back up, the program will automatically generate the corresponding registry key. If you don't want to mirror now, just run the program and click "Don't import any registry". * with S&; R & When S is used together, because DllCacheManager adopts the way of registry runonce, when S &;; R & When the IDE is changed to standard or the power mode is changed to StandardPC, runonce will be activated. Therefore, it is best to package first and then use DllCacheManager for backup (if you back up first and then package, the backup will be automatically restored when you start packaging), and then boot to DOS ghost. Respondent: ewrest 1