What Winpe.jpg Is and Where to Find It

Winpe.jpg is the background image that appears when Windows PE (Preinstallation Environment) boots up — the blue screen you see when your computer starts a repair, recovery, or installation process. It lives in a system folder that Windows locks during normal operation, so you cannot simply right-click and replace it like a regular desktop background.

The file location depends on your Windows version. On most systems running Windows 10 or 11, it is stored at C:\Windows\System32\winpe.jpg. However, if you have a recovery partition or are working with Windows PE from installation media, the path may differ. The file is typically read-only and protected by Windows, which is why direct editing requires a workaround.

Before you start, understand that modifying system files can cause problems if something goes wrong. Back up your current winpe.jpg first by copying it to a safe location like your Documents folder. This way, if the new image causes display issues, you can restore the original.

Key Takeaways

  • Winpe.jpg is the background image shown during Windows startup, recovery, and installation screens, stored in a protected system folder.
  • You must take ownership of the file and remove read-only protection before Windows will let you replace it.
  • Your replacement image must be a JPG file and should match the original dimensions (usually 1024 × 768 pixels or larger) to display correctly.
  • After replacing the file, restart your computer to see the new background during the next boot or recovery sequence.

Take Ownership of the Winpe.jpg File

Windows prevents you from editing system files by restricting ownership. To change that, right-click on C:\Windows\System32\winpe.jpg and select Properties. Click the Security tab, then click Advanced at the bottom.

At the top of the Advanced Security window, you will see "Owner:" followed by a name (usually "SYSTEM" or "Administrators"). Click Change next to it. Type your username into the box that appears, click Check Names, then click OK. Windows will now recognize you as the owner of the file.

Back in the Advanced Security window, find your username in the permission list and click it once to highlight it. Click Edit, then check the box next to Full Control. Click OK twice to save the changes. You now have permission to modify the file.

Remove Read-Only Protection

Even after taking ownership, the file may still be marked read-only. Right-click winpe.jpg again and select Properties. At the bottom of the General tab, uncheck the box next to Read-only. Click Apply, then OK.

If the read-only box is grayed out and you cannot uncheck it, go back to the Security tab, click Advanced, find your username again, click Edit, and make sure Write is also checked alongside Full Control. Click OK three times to confirm all changes.

Prepare Your Replacement Image

Your new background must be a JPG file. If you have a PNG, BMP, or other format, open it in an image editor like Paint, Photoshop, or free tools like GIMP, and export it as a JPG. The original winpe.jpg is typically 1024 × 768 pixels, but modern systems may use 1920 × 1080 or larger. Check your monitor resolution and resize your image to match, or Windows PE may stretch or crop it awkwardly.

Keep the file size reasonable — under 500 KB is ideal. A very large image can slow down the boot process. Once your image is ready as a JPG file, rename it to winpe.jpg so it matches the original filename exactly.

Replace the Original File

Navigate to C:\Windows\System32 in File Explorer. Find the original winpe.jpg, right-click it, and select Rename. Change the name to something like winpe_backup.jpg so you have a copy to restore if needed.

Now copy your new winpe.jpg file into the C:\Windows\System32 folder. If Windows asks whether you want to replace the file, click Replace. If you get a permission error even after taking ownership, restart your computer in Safe Mode and try again — Windows PE files are sometimes locked by running processes.

Verify the Change on Your Next Boot

Restart your computer. During the next startup, before Windows fully loads, you should see your new background image. If the image appears stretched, cropped, or distorted, the dimensions were incorrect. Shut down, replace it with a version that matches your screen resolution more closely, and try again.

If you see a black screen or error messages instead of your image, the file may be corrupted or in the wrong format. Replace it with your backup copy by renaming winpe_backup.jpg back to winpe.jpg, and Windows will return to normal on the next restart.

Restore the Original If Something Goes Wrong

If your computer fails to boot or displays incorrectly after the change, you can restore the original winpe.jpg from Safe Mode. Restart your computer, press F8 repeatedly as it starts (or Shift + F8 on Windows 11), and select Safe Mode. Once in Safe Mode, navigate to C:\Windows\System32, delete the new winpe.jpg, and rename your backup back to winpe.jpg.

If you cannot access Safe Mode, you can also use Windows Recovery Environment. Insert your Windows installation media, boot from it, select Repair your computer, and use the command prompt to navigate to the System32 folder and restore your backup file manually.

Frequently Asked Questions

What size should my replacement image be?

The original winpe.jpg is usually 1024 × 768 pixels, but check your monitor resolution first. If your monitor is 1920 × 1080, resize your image to match that size so it displays without stretching or cropping. Larger images take longer to load during boot, so do not go much larger than your actual screen resolution.

Can I use a PNG or BMP file instead of JPG?

No, Windows PE specifically looks for a JPG file named winpe.jpg. If you try to use another format, the boot screen will either show nothing or display incorrectly. Convert your image to JPG format in any image editor before replacing the file.

Why do I get a permission error even after taking ownership?

The file may be locked by a running Windows process. Restart your computer in Safe Mode, where fewer processes run, and try the replacement again. Safe Mode also makes it easier to undo changes if something goes wrong.

Will changing winpe.jpg affect normal Windows startup?

No, winpe.jpg only appears during Windows PE boot sequences — recovery, repair, or installation screens. Your regular Windows desktop background is controlled by different settings and will not change.

How do I know if my image is the right format?

Right-click your image file and select Properties. The file type should say "JPEG Image" or show a .jpg extension. If it says PNG, BMP, or another format, open it in an image editor and export or save it as a JPG before using it to replace winpe.jpg.