Package production Windows7 system (detailed tutorial) (7)

  
        Fifth, make the packaging system more perfect

After the completion of the packaging system according to the previous steps, although you can already install other computers and the system functions and pre-installed various applications can be used normally, there are still several Not perfect:

- There may be a black screen when logging in to the system for the first time, you need to reset the desktop background.

- After running the pre-installed application, the folder of the user account that was deleted in the user folder is regenerated.

- Run the Registry Editor and look for "Users<Deleted Username>" (such as "UsersMaker"), and even find a lot of "Users<Deleted Username>" Registry item.


1. The first solution: modify all the "Users<Deleted User Names>" registry items to "UsersDefault", the first time in the system. Import to the system before logging in.

1 Find the registry file. Use your own package system to install. After logging in to the system, run regedit.exe in the C:Widows directory to open the registry editor, click "Edit", then click "Find", and enter "Users<" in the "Find" dialog box. ; deleted user name >" (such as UsersMaker), click "find next" to start searching.


2 Export the registry file. When you find the registry entry that contains the "Users<Deleted Username>" field, click "File" and then click "Export" to export the registry item to your hard drive (saved as a reg file).


Then press F3 to continue searching. When you find the registry key containing the "Users<Deleted Username>" field, continue to export and find HKEY_LO< U>CA
The end of L_MacHINE (the registry key found after HKEY_USERS is ignored).


After completing the search and export, close the registry editor, go to the directory where the export registry is located, you can see all the registry entries exported (pre-installed The application file is different, and the export registry file is different.)


3 Combine the registry files. Find and run "Notepad" in the "Start Menu" - "Accessories", after entering "Windows Registry Editor Version 5.00" in the first line, right click on one of the registry files, and click "Edit" in the pop-up menu to open the A registry file that copies the key name (that is, the field with brackets) in the registry file and the item with the "Users<Deleted User Name>" field (others don't care) into Notepad. Then continue to open another registry file, copy the key name and the item containing the "Users<Deleted Username>" field into Notepad in the same way, until the key name and include of all exported registry files Items with the "Users<Deleted Username>" field are all copied to Notepad.


Be very careful in this process, and be good at using the "find" function of Notepad to ensure that every one of the registry items can be correctly copied to Notepad. in. After the completion, it is best to review it again.

Copyright © Windows knowledge All Rights Reserved