If your Surface Laptop fails to boot and shows a PXE boot error, the fix is usually to disable PXE boot in the UEFI firmware or to repair the Windows Boot Manager. This guide walks you through the exact steps to resolve the error and get your device booting normally again.
What PXE Boot Is and Why It Appears
PXE (Preboot eXecution Environment) is a protocol that lets a computer boot from a network server instead of its local hard drive. It is commonly used in enterprise environments to deploy operating systems over the network. On a Surface Laptop, PXE boot is enabled by default in the UEFI firmware, but it should only be used when you explicitly choose it. If you see a PXE boot error, it means the device tried to boot from the network and failed, usually because no PXE server responded. This can happen for several reasons:
- The boot order has been changed so that PXE comes before the internal SSD.
- The Windows Boot Manager on the SSD is corrupted or missing.
- The SSD is not detected by the firmware.
- A recent firmware update reset the boot order.
How to Access UEFI on a Surface Laptop
To change boot settings, you need to enter the UEFI (Unified Extensible Firmware Interface) menu. On Surface devices, this is done differently than on most PCs:
- Shut down your Surface completely.
- Press and hold the Volume Up button.
- While holding Volume Up, press and release the Power button.
- Continue holding Volume Up until the UEFI screen appears (usually about 10 seconds).
If you have a Surface Laptop with a detachable keyboard, the Volume Up button is on the left side of the tablet portion. If you have a Surface Laptop Studio, the button is on the top edge near the screen.
Disabling PXE Boot in UEFI
Once you are in the UEFI menu, follow these steps to disable PXE boot:
- Go to the Boot configuration section.
- Look for PXE boot or Network boot.
- Set it to Disabled.
- Go to the Boot order section and make sure Windows Boot Manager (or the internal SSD) is first.
- Exit and save changes (usually by selecting Exit and confirming).
If you do not see a PXE boot option, it may be under Advanced or Network settings. On some Surface models, PXE boot is listed as Network Boot.
Repairing the Windows Boot Manager
If disabling PXE boot does not fix the problem, the Windows Boot Manager on your SSD is likely corrupted. You can repair it using the Windows Recovery Environment (WinRE) or a bootable USB drive with Windows installation media.
- Create a Windows installation USB drive using another PC (Microsoft provides a free tool for this).
- Insert the USB drive into your Surface.
- Boot from the USB (you may need to hold Volume Down while powering on to boot from USB).
- Select your language and click Next.
- Click Repair your computer at the bottom left.
- Choose Troubleshoot > Advanced options > Command Prompt.
- In the Command Prompt, type the following commands one by one, pressing Enter after each:
bootrec /fixmbrbootrec /fixbootbootrec /scanosbootrec /rebuildbcd - Exit the Command Prompt and restart your Surface.
If the commands fail or report errors, the SSD may have failed. In that case, you may need to replace the SSD, which on most Surface Laptops is not user-replaceable and requires professional service.
Common Causes and Troubleshooting Steps
Beyond boot order and corrupted boot files, other issues can trigger PXE boot errors:
- SSD not detected: Check if the SSD appears in the UEFI under Device information. If not, reseat the SSD (if accessible) or contact support.
- Firmware update gone wrong: Try rolling back the firmware update through Windows Update or the Surface recovery image.
- BitLocker recovery: If BitLocker is enabled, you may need your recovery key to access the drive during repair.
- Battery charge: A completely drained battery can sometimes cause boot issues. Plug in the charger and try again.
Comparing PXE Boot to Other Boot Options
PXE boot is just one of several boot methods. Here is how it compares:
- Local boot (SSD): The default and fastest method. It loads Windows directly from the internal drive.
- USB boot: Useful for installing or repairing Windows. You can boot from a USB drive by holding Volume Down during startup.
- PXE boot: Used for network deployment. It is slower and requires a PXE server. It should be disabled unless you need it.
For most users, keeping PXE boot disabled is recommended to avoid accidental network boot attempts.
Frequently Asked Questions
Why does my Surface Laptop try to boot from the network every time?
This happens when PXE boot is enabled and set to a higher priority than the internal SSD in the boot order. The device attempts to find a network server, fails, and then may show an error. Disabling PXE boot or moving the SSD to the top of the boot order fixes this.
Can I boot from a USB drive on a Surface Laptop?
Yes. To boot from USB, shut down the device, insert the USB drive, then press and hold the Volume Down button while pressing the Power button. Release Volume Down when the Windows boot screen appears.
What is the Surface Recovery Image and how can it help?
The Surface Recovery Image is a downloadable file from Microsoft that restores your Surface to its original state. It can be used to reinstall Windows and fix boot issues. You need a USB drive with at least 8 GB of space. After downloading, you create a bootable USB and use it to reinstall Windows.
Will disabling PXE boot affect my ability to use Windows Deployment Services?
Yes, if you rely on network deployment (like WDS or SCCM), you need PXE boot enabled. However, you can keep it enabled but move it below the SSD in boot order. That way, the device boots normally but can still PXE boot when you manually select it (by pressing a key during startup, if supported).
What should I do if the bootrec commands fail?
If bootrec /rebuildbcd fails, the BCD store may be too corrupted. Try deleting the BCD file and recreating it: type del C:\Boot\BCD (assuming C: is your system drive) and then run bootrec /rebuildbcd again. If that still fails, the SSD may be failing, and you should back up data immediately and consider replacing the drive.
Is it safe to reset my Surface Laptop to factory settings?
Resetting to factory settings will erase all data on the device. It is safe if you have backed up your files. You can do this from the recovery menu by choosing Troubleshoot > Reset this PC. This can fix persistent boot issues if they are caused by software corruption.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- MacBook Charger Not Working? Fix It Now
- Fix Windows Cannot Be Installed to This Disk
- Zoom on iPhone & iPad: Host or Join a Meeting
- Fix iPhone SE 4 Unable to Activate: Step-by-Step
- Keep Important Emails From Getting Buried in iPhone Mail Categories
- How to Clear RAM on iPhone: Speed It Up