Current location - Health Preservation Learning Network - Slimming men and women - How to modify win7 PE
How to modify win7 PE
Method/Step 0 Preparation

1

Some screenshots of Windows_7PE_ Online version:

2

First, unzip the Win7PE.wim file (I unzip it to the desktop), open Gemeix, and select mount. I select the D:\ test folder at the mount point, and the source file is Win7PE.wim file. After checking, I can read, write and apply the changes, as shown in the following figure.

three

Then click Mount, as shown below, and click Close after success. And minimize gemeix.

four

Now we open the D:\ test folder, and we can see the files contained in the unzipped Win7PE.wim, which can be modified now.

end

Method/Step 1 Modify the background picture

1

The background picture of winPE is usually placed in \Windows\system32, which can be replaced by a picture with the same picture properties.

end

Method/Step 2 Modify the built-in program

1

Put the program to be added (usually a portable application) where you want it.

Browse the unzipped folder, find the software to be deleted, and delete it.

Next, the most important thing is to find the configuration file. To ensure that the configuration file is found, please put the folder option (file extension is ini) in \Windows\system32 and search directly. Ini files, and then open them one by one with notepad. Common file names are pe.ini and winpe.ini

Note: To ensure that the configuration file can be found, uncheck "Hide protected operating system files (recommended)" and "Show extensions of known file types" in the folder options, and select "Show hidden files, folders and drives".

2

The contents of my profile are as follows:

three

The explanation is as follows:

Take Link% Programs% \ Attachment \ Notepad, %CurDir%\notepad.exe as an example.

Links: creating shortcuts

%Programs%\ attachment \: the target of the shortcut.

Notepad: the name of the software shortcut display.

%CurDir%\notepad.exe: the location of the software.

Notepad.exe: the name of the software.

The whole sentence means; Create a shortcut for notepad.exe under \Windows\system32 under the start menu attachment, and the display name is Notepad.

four

After completing steps 1 and 2 (i.e. modified), you can return to Gemeix, select Gemeix just loaded, and click Uninstall (as shown below):

five

The following figure pops up, and then close the GImageX software. At this point, the WIM file has been modified.

end

Method/Step 3 Modify External Programs

1

Put the program to be added (usually a portable application) into the external program folder.

Browse the external program folder, find the software to be deleted, and delete it.

The next most important thing is to find the configuration file, which is usually placed in the external program folder (the file extension is ini), and its properties are usually hidden. My PE external program is in the PETOOLS folder. Modify the configuration file as described above.

2

The next step is the replacement of files! Replace the metafile with the modified file and repackage it.