First, you must mount the Windows PE image.
Dism /Mount-Image /ImageFile:"C:\WinPE_amd64\media\sources\boot.wim" /index:1 /MountDir:"C:\WinPE_amd64\mount"
-
Then, Change the security permissions of the Windows PE background image file (
\windows\system32\winpe.jpg
). This allows you to modify or delete the file.- In Windows Explorer, navigate to
C:\WinPE_amd64\mount\windows\system32
. - Right-click the
C:\WinPE_amd64\mount\windows\system32\winpe.jpg
file, and selectProperties > Security tab > Advanced. - Next to Owner, select Change. Change the owner to Administrators.
- Apply the changes, and exit the Properties window to save changes.
- Right-click the
C:\WinPE_amd64\mount\windows\system32\winpe.jpg
file, and selectProperties > Security tab > Advanced. - Modify the permissions for Administrators to allow full access.
- Apply the changes, and exit the Properties window to save changes.
- In Windows Explorer, navigate to
-
Replace the
winpe.jpg
file with your own image file.