sodcalculator

10 Tech How-To

Fix Plug and Play Service Failed or Missing in Windows 11

Guide 10-56502 · Updated · Step by step

If Windows 11 says the Plug and Play service failed to start or is missing, the quickest fix is to restart the service from the Services console, then check its dependencies and drivers. If the service is truly missing, you can restore it by editing the registry or running the System File Checker. This guide walks through the exact steps, explains why the error happens, and covers what to do when the standard fixes don’t work.

What the Plug and Play Service Does

The Plug and Play (PnP) service is a core Windows component that detects and manages hardware changes. When you plug in a USB drive, connect a printer, or install a graphics card, this service identifies the device, locates the correct driver, and configures it so the hardware works. It also handles driver updates and removal when you disconnect a device.

In Windows 11, the service runs under the name Plug and Play with the internal name PlugPlay. Its executable is svchost.exe, and it runs under the LocalSystem account. If this service stops or fails to start, you may see errors like “The Plug and Play service is not running” when trying to install a device, or the Device Manager may appear empty or show unknown devices.

Why the Error Occurs

The “failed or missing” error usually appears when you try to install a new device or open Device Manager. Common triggers include:

  • Service disabled: A third-party optimizer or a manual change set the service startup type to Disabled.
  • Corrupted service registry entry: The registry key that defines the service may be damaged or deleted.
  • Driver conflicts: A recent driver update or a problematic device driver can cause the service to crash.
  • System file corruption: Windows system files that the service depends on may be missing or corrupted.
  • Malware: In rare cases, malware can disable the service to prevent security tools from loading.

Note that the error message can vary. You might see “The Plug and Play service failed to start,” “The Plug and Play service is missing,” or a generic “Service Control Manager” event in Event Viewer. The fixes below address all these variations.

Quick Fix: Restart the Service

Start with the simplest solution. The service may have stopped temporarily due to a driver glitch or a recent update.

  1. Press Win + R, type services.msc, and press Enter.
  2. Scroll down to Plug and Play in the list.
  3. Right-click it and select Restart. If the service is not running, select Start.
  4. If the service is disabled, double-click it, change the Startup type to Automatic, click Apply, then click Start.

After restarting, try plugging in a device or opening Device Manager again. If the service starts but stops immediately, move on to the next steps.

Check Dependencies and Recovery Options

The Plug and Play service depends on the Remote Procedure Call (RPC) service. If RPC is not running, PnP will fail to start. Also, the service has a recovery tab that controls what happens after a failure.

  1. In the Services console, double-click Plug and Play.
  2. Go to the Dependencies tab. Note any listed services (usually RPC).
  3. Check that those dependency services are running. If not, start them.
  4. Go to the Recovery tab. Set the first failure action to Restart the Service, the second to Restart the Service, and the third to Take No Action. Set the restart delay to 1 minute.
  5. Click Apply and then OK.

This ensures that if the service crashes again, Windows will attempt to restart it automatically.

Restore the Service via Registry

If the service is missing from the Services console entirely, you need to recreate its registry entry. This is a more advanced step, so back up your registry first.

  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PlugPlay.
  3. If the key does not exist, right-click on Services, select New > Key, and name it PlugPlay.
  4. Inside the PlugPlay key, create the following values (right-click > New > each type):
    • DisplayName (REG_SZ) = Plug and Play
    • ImagePath (REG_EXPAND_SZ) = %SystemRoot%\system32\svchost.exe -k DcomLaunch
    • Start (REG_DWORD) = 2 (Automatic)
    • Type (REG_DWORD) = 0x20 (32)
    • ErrorControl (REG_DWORD) = 1
    • ObjectName (REG_SZ) = LocalSystem
  5. Also create a subkey named Parameters under PlugPlay (no values needed).
  6. Close the registry editor and restart your PC.

After the restart, the service should appear in the Services console and start automatically. If you’re not comfortable editing the registry, use the System File Checker first, as it may restore the key automatically.

Run System File Checker and DISM

Corrupted system files can cause the service to fail. The System File Checker (SFC) scans and repairs protected system files, while DISM fixes the system image that SFC relies on.

  1. Open Command Prompt as administrator (right-click Start > Terminal (Admin)).
  2. Run sfc /scannow and wait for it to complete. This may take 10-15 minutes.
  3. If SFC finds errors but can’t fix them, run DISM /Online /Cleanup-Image /RestoreHealth.
  4. Restart your PC and check if the Plug and Play service is now present and running.

If SFC finds nothing, the service entry is likely missing, and you’ll need the registry fix above.

Update or Roll Back Device Drivers

A faulty driver can cause the PnP service to crash repeatedly. If the error started after a specific driver update, roll it back.

  1. Open Device Manager (right-click Start > Device Manager).
  2. Look for devices with a yellow exclamation mark or that show as “Unknown device.”
  3. Right-click the problematic device and select Properties.
  4. Go to the Driver tab. If the Roll Back Driver button is available, use it.
  5. If not, select Update Driver > Search automatically.

If Device Manager won’t open because the service is missing, boot into Safe Mode (press Shift + Restart from the login screen, then Troubleshoot > Advanced options > Startup Settings > Restart > 4). In Safe Mode, the PnP service may start with minimal drivers, allowing you to remove the problematic driver.

Frequently Asked Questions

Why does my Plug and Play service keep stopping?

This usually points to a driver conflict or a corrupted service entry. Check the Event Viewer (Windows Logs > System) for errors from the Service Control Manager around the time of the failure. The event details often name the specific driver or error code, which can guide your next step. If the service stops immediately after starting, run SFC and DISM, then check for recently installed drivers.

Can I manually start the Plug and Play service from Command Prompt?

Yes. Open Command Prompt as administrator and run net start plugplay. If it starts, the service is fine but was stopped. If you get an error, the service entry is missing or corrupted, and you’ll need the registry fix or SFC.

Is it safe to set the Plug and Play service to Manual instead of Automatic?

No. The service should be set to Automatic. Windows starts it at boot to detect hardware. Setting it to Manual can cause devices to fail to initialize when you plug them in, and some system components may not load correctly. Always leave it on Automatic.

Will resetting Windows fix the Plug and Play service?

Yes, a reset or in-place upgrade will restore all system files and services, but it’s a last resort. Try the registry fix and SFC first, as they are less disruptive. If you do reset, choose “Keep my files” to preserve your personal data, but back up important files anyway.

Can malware disable the Plug and Play service?

Yes, some malware disables this service to prevent security tools from detecting USB devices or to hide its own activity. If you’ve tried all fixes and the service keeps disappearing, run a full antivirus scan with Windows Defender or a reputable third-party tool in Safe Mode.

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

The whole Tech How-To bed →