Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Missing system32driverspci.sys Error

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you see a "Missing system32driverspci.sys" error, it means Windows cannot find a critical driver file (pci.sys) that manages your computer's PCI bus—the hardware that connects components like graphics cards, network adapters, and storage controllers. This error usually appears during startup or when installing a driver, and it can cause a blue screen or prevent Windows from booting. The fix depends on whether the file is corrupted, missing, or blocked by a recent update. Below are the most reliable methods to restore it, starting with the simplest.

What You'll Need

  • Windows installation media (USB or DVD) or access to the Windows Recovery Environment (WinRE).
  • A working computer with internet access (for downloading files if needed).
  • Administrator account on the affected PC.

Step-by-Step

  1. Restart your PC. Sometimes the error is temporary. Reboot and see if it disappears. If it does, you're done.
  2. Boot into Safe Mode. If the error persists, restart and press F8 (or Shift + Restart from the login screen) to access Advanced Startup Options. Choose Safe Mode. If Safe Mode loads, the issue may be caused by a recent driver or update.
  3. Run System File Checker (SFC). In Safe Mode, open Command Prompt as administrator (right-click Start > Command Prompt (Admin)) and type: sfc /scannow. Press Enter. This scans and repairs corrupted system files, including pci.sys. Wait for the process to complete.
  4. Run DISM (Deployment Imaging Service and Management Tool). If SFC doesn't fix it, run DISM to repair the Windows image. In the same Command Prompt, type: DISM /Online /Cleanup-Image /RestoreHealth. Press Enter. This may take several minutes.
  5. Check for pending Windows updates. If you can boot normally after SFC/DISM, go to Settings > Update & Security > Windows Update and install any pending updates. Restart afterwards.
  6. Manually copy pci.sys from installation media. If the error still occurs, you need to replace the file manually. Boot from your Windows installation USB/DVD. Choose your language, then click Repair your computer > Troubleshoot > Command Prompt. Identify the drive letter of your Windows installation (often C:, but sometimes D: in recovery). Type: copy D:\Windows\System32\drivers\pci.sys C:\Windows\System32\drivers\ (replace D: with the drive letter of your installation media, and C: with your Windows drive). If the file already exists, you may need to overwrite it: copy /y D:\Windows\System32\drivers\pci.sys C:\Windows\System32\drivers\. Reboot.
  7. Use System Restore. If copying doesn't work, boot into Recovery Environment again, select Troubleshoot > Advanced options > System Restore. Choose a restore point from before the error started. This will revert system files to an earlier state.
  8. Run Startup Repair. In the same Advanced options menu, select Startup Repair. Let it run; it may fix boot-related issues automatically.
  9. Reinstall Windows (last resort). If nothing else works, back up your data (if possible) and perform a clean install of Windows. This ensures all system files are restored to a working state.

Common Mistakes

  • Skipping SFC/DISM and going straight to copying files. These tools can fix the issue without manual file replacement, which is riskier.
  • Copying the file from the wrong source. Ensure the source drive is actually your installation media, not another partition.
  • Forgetting to run Command Prompt as administrator. SFC and DISM require elevated privileges.
  • Ignoring disk errors. A failing hard drive can cause file corruption. Run chkdsk /f /r from Command Prompt (in recovery) to check for bad sectors.

Tips

  • Always create a system restore point before making major changes (if you can boot).
  • Keep your Windows installation media handy; it's essential for many recovery steps.
  • If you recently installed new hardware (like a graphics card), remove it and try booting with minimal hardware to rule out a hardware conflict.
  • Consider updating your motherboard's BIOS/chipset drivers from the manufacturer's website after fixing the error, as outdated firmware can cause PCI driver issues.

Troubleshooting

If the error persists after following all steps, try the following:

  • Check if the file exists on your system. In Command Prompt (Admin), type dir C:\Windows\System32\drivers\pci.sys. If it says "File Not Found," the file is truly missing. If it exists, the error may be due to a corrupted registry entry—try regsvr32 pci.sys (though this is rarely effective for kernel drivers).
  • Boot into Last Known Good Configuration. Restart and press F8, then select Last Known Good Configuration. This reverts to the last successful boot settings.
  • Use the Windows Media Creation Tool. If you don't have installation media, download the tool from Microsoft's website on another PC and create a bootable USB.
  • If you suspect a recent Windows update caused it, uninstall the update. Boot into Safe Mode, go to Settings > Update & Security > Windows Update > View update history > Uninstall updates. Remove the most recent ones and restart.
  • If you have a system image backup, restore it. This is the fastest way to revert to a known-good state.

Frequently Asked Questions

What is pci.sys?

pci.sys is a Windows kernel driver that manages the PCI (Peripheral Component Interconnect) bus, which connects hardware like graphics cards, network cards, and storage controllers to the CPU.

Can I delete pci.sys if it's corrupted?

No, do not delete it. Windows needs it to communicate with essential hardware. If it's corrupted, you must replace it with a valid copy from installation media or repair it using SFC.

Why does this error occur after a Windows update?

Sometimes updates can replace system files with incompatible versions or fail to install correctly, leading to corruption. Uninstalling the recent update or running DISM can resolve this.

Will I lose my data if I run SFC or DISM?

No, these tools only repair system files. They do not affect personal files. However, System Restore and Windows reinstall may affect installed programs and settings, so always back up if possible.

Is this error related to a hardware problem?

It can be. A failing hard drive or faulty PCI device can cause file corruption. Run chkdsk to check for disk errors and test your RAM with Windows Memory Diagnostic.

Can I copy pci.sys from another Windows PC?

Yes, but the file version must match your Windows version (e.g., Windows 10 64-bit). Copying from a mismatched version can cause more issues. It's safer to extract from official installation media.