Current location - Health Preservation Learning Network - Healthy weight loss - Help: how to simplify the packaging of WIN7 system
Help: how to simplify the packaging of WIN7 system
Many people think that making a package system is a very complicated and profound thing. In fact, after packaging the system 1 time, you will find that it is not difficult to make a packaging system. As long as you have a certain computer foundation (can install operating system and software, can skillfully use commonly used application software), plus a little care and patience, it is easy to make your own packaging system. Next, let's make our own Windows7 packaging system. First, prepare 1 and the official installation CD (image) of Windows7 before packaging. 2. Need to pre-install various application software, such as Office, Photoshop, perfect decoding and so on. 3.UltraISO and Windows7AIK. The download address of simplified Chinese version of Windows7AIK is: download/do...A402A/KB 3 AIK _ China. ? WindowsPE CD (Windows7PE CD is the best), Windows7PE CD can be made with Windows7AIK or downloaded from the following address:/zh-cn/fil ...-a 413-0019d11795f/2. Install the operating system and application 1, and install the Windows7 operating system. There are four steps to pay attention to when installing the operating system: ① It is best to install the operating system on disk C, and it is best not to connect to the network during the installation process (including the installation of applications and the later packaging). (2) If the serial number is entered during the installation of the operating system, the serial number will not be prompted after the operating system is packaged and reinstalled. Unless you want to make an OEM version of the packaging system, don't enter the serial number when prompted during the installation process, just click Next to continue installing the system. ③ In order to keep the packaging system pure, it is best not to install hardware drivers after installing Windows7 operating system. Of course, installing the driver will not affect the package of the system. ④ In order to avoid unnecessary errors and error report files in the process of adjusting and optimizing the system and installing application software, UAC should be disabled and error report should be closed after entering the system for the first time. The methods of disabling UAC and closing error reporting are as follows:-Open the control panel, click System and Security, select the operation center, click Security, find and click under the control of user account, and select your national registered architect and constructor exam preparation materials. Then in the pop-up dialog box, adjust the slider on the left to-Never notify, and then click-OK to disable UAC (you need to restart the system to take effect). -Next, click-Maintenance, find and click-Settings-Check the solution of the problem report, select-Never check the solution (not recommended) in the pop-up page, and click-OK to disable the error report. 2. Install all kinds of application software that need to be packaged. It should be noted that the capacity of 1 ordinary DVD disc is 4.37G g g. In order to avoid the generated package file being too large to be burned on DVD disc, the capacity of system disc should be well controlled when installing the application. In general, it is necessary to ensure that the system disk does not occupy more than 8.5G after the hibernation file (hiberfil.sys) and the page file (pagefile.sys) are removed. 3. Adjust and optimize the system and installed applications according to your own preferences, and clean up the temporary files, junk files and registry of the system. What we should pay attention to here is the problem that the system may be unstable after adjustment, optimization and cleaning. We must have a comprehensive understanding of the optimization software used and the projects that need to be adjusted, optimized and cleaned. Don't bring unstable factors to the system itself because of adjustment, optimization and cleaning. Pack these unstable factors and bring them to the new system. 3. Encapsulate 1 to enable the administrator user account and disable the currently used administrator user account. ① Right-click "Computer" and then click "Manage" to open the computer management interface. In the left pane of Computer Management, double-click Local Users and Groups, and then click Users and Computer Management. In the middle pane of the interface, all user accounts in the computer will be displayed, where the user name that is the same as the user name entered when installing the system is the currently used administrator user account. (2) Right-click the administrator user icon, click-Properties, delete-account disabled in the pop-up administrator properties dialog box, and then click-OK to enable the administrator user account. (3) Next, right-click the currently used administrator user icon, click Properties, select Account Disabled in the currently used administrator user properties dialog box, and then click OK to disable the currently used administrator user account. (4) Enable the administrator user account, disable the currently used administrator user account, restart the computer, and the system will automatically log in with the administrator user account. 2. Convert the original settings of the system and applications to the default settings of all users (that is, you can directly use the settings made by the just disabled user account for the system and applications every time you create a 1 new user account). ① Open the control panel, click Appearance and Personalization, find and click Show hidden files and folders under the folder option, and in the pop-up folder option dialog box, remove the check in front of hidden and protected operating system files (recommended), then ② open the user folder C:\Users of the system disk, and you can see the folders corresponding to each user account. (3) folders -appdata ‖ and NTUSER. DAT,ntuser.dat.LOG 1,ntuser.dat.LOG2,ntuser.dat {* * * xx-* * x-* * x-* * *。 NTUSER。 DAT { * * * * xx-* * x-* * x-* * x-* * * * * * * } . tmcontainer 00000 00000000000 1 . regtrans-ms、NTUSER。 DAT { * * * * xx-* * x-* * x-* * x-* * * * * * * }。 Tm container 000000000000000000000002. Regtrans-ms, ntuser.ini (if there are two files, such as scite.ssessio and global abbreviation.properties, you should also select them) and copy them to the default user's folder (C:\Users\Default). If you are prompted to use a file or folder with the same name during copying, click OK to overwrite or merge. 3. Delete the original user account (that is, the user account that has just been disabled) and its configuration folder. ① Right-click "Computer" and then click "Manage" to open the computer management interface. In the left pane of Computer Management, double-click Local Users and Groups, and then click Users. In the middle pane of Computer Management, locate the original user account (the user account that has just been disabled), right-click the user icon, and then click Delete. ② Exit the computer management interface, right-click the computer, click Properties, and then click Advanced System Settings. In the system properties dialog box that pops up, switch to the Advanced tab and click Settings in the User Profile box. 1 Default profile, 1 Account displayed as unknown), the account displayed as unknown is a user account that has just been deleted, and its profile can be deleted: select-Unknown account, click-Delete, and then click-OK to exit. Next, turn on the computer. Then, in the -folder option, restore the -display hidden files and folders setting to the default value. If the virtual CD-ROM software is installed, to run the virtual CD-ROM software, please set the number of virtual CD-ROMs to 0 to avoid the drive letter confusion caused by virtual CD-ROMs when installing the system in the future. If UAC is disabled and error reporting is turned off, UAC is enabled and error reporting is turned on. 4. Perform packaging. ① Turn on-computer, find and run sysprep.exe in the directory C:\Windows\System32\sysprep, select-enter the new system experience (OOBE) system to clean up, select-General, and then select-Shutdown option. ② The whole packaging process takes 1-2 minutes, during which no other operations are needed. After the packaging is completed, the computer will automatically shut down. 4. Make a mirror image of the packaging system. After packaging, the next thing to do is to make a mirror image of the packaging system using Ghost or ImageX. Ghost and Imag ex have their own advantages and disadvantages: Ghost uses the highest compression time, which is shorter than Imagex's, and the original (installation) time is much faster than Imagex's, but the backup file is large and the customization is not strong, so it is impossible to add third-party drivers and upgrade patches. Although Imagex takes a long time to back up and restore (install), the generated image file is relatively small, third-party drivers, upgrade patches, etc. Can be added, with strong customization. 1, use Ghost as the package image. The process of making packaged images with Ghost is relatively simple. After starting the computer with WindowsPE CD (not necessarily Windows7PE), run Ghost32.exe to make the system partition become *. GHO file. When making a mirror file, it is best to add split and z parameters to achieve maximum compression and split the mirror file. For example, when running-Ghost 32–span–split = 2000–z9 ‖, when making a mirror image, ghost will enable optimal compression and split the image file into 2000M. After making the packaged image, to install the packaged system on another computer, just restore the packaged image. 2. Make package images with Imagex. ① If WindowsPE does not use Imagex.exe, first copy imagex.exe (preferably version 6. 1.7600. 16385) to the U disk. (2) use WindowsPE CD (preferably Windows7PE) to start the computer to enter the WindowsPE system, insert the U disk with IM agex.exe, find the partition where the operating system and Imagex.exe are located through the Dir command, and the system switches to the directory where Imagex.exe is located. Run the following command to mirror the package system: imagex /compress maximum/check/scroll/capturex: y: \ install.wim "Windows 7 Ultimate", where:/compressmaximum means to enable the highest compression; /check means to check the integrity of wim files; /scroll means scrolling the output to be redirected; /capture X: indicates the partition of the operating system to capture the image; The Y:\install.wim table shows the location and file name of the generated image file; "Windows 7 Ultimate" refers to adding instructions to wim files for easy viewing, and the contents in double quotation marks can be set according to your own preferences. For example, when the operating system is installed on disk D, to make a packaged image file to the root directory of disk E and name it install.wim, you can use the following command: imagex/compressmaximum/check/scroll/capture d: e: \ install.wim "Windows 7 Ultimate". After running the package command, Imagex.exe will scan the files and folders in the operating system partition, and then start capturing. After the capture is completed, a success prompt will appear in the command window, and the command window will be closed, exit the WindowsPE system and restart the computer. After the computer is restarted, it will immediately enter the reloading state, initialize the system, update the registry and install the driver. In this process, you can check what is wrong with the packaging.