Plug and Play Registry Path Error (0x26C) Fix
This error means Windows can't read a device's registry path. Usually happens after a driver install or USB swap. Here's how to fix it.
You plug in a USB printer, a webcam, or some random Bluetooth adapter, and instead of working, you get hit with ERROR_INVALID_PLUGPLAY_DEVICE_PATH (0X0000026C). This usually pops up in Device Manager with a yellow exclamation, or as a pop-up from some piece of software trying to talk to the device. I've seen it most often after a failed driver install or when you yank a device out instead of safely removing it. Last month, a client had a whole batch of USB-to-serial adapters fail like this because they'd been using a cheap unpowered hub and the devices never properly registered.
Root Cause: Corrupted Registry Reference
The core issue is simple: Windows keeps a registry key for every Plug and Play device it's ever seen under HKLM\SYSTEM\CurrentControlSet\Enum. When the key gets corrupted—maybe from a bad uninstall, a power loss during driver setup, or just a wonky device that doesn't follow the spec—that path becomes invalid. The OS can't find the driver or the device properties it's expecting, so it spits out error 0x26C. It's not a hardware failure 90% of the time.
Fix It in 4 Steps
This fix is about cleaning that registry entry and letting Windows rediscover the device fresh. Don't skip steps—each one is deliberate.
Step 1: Identify the Breakage
Open Device Manager (right-click Start > Device Manager). Look for the device with a yellow exclamation. Right-click it, go to Properties > Details tab, and select Device instance path from the dropdown. Copy that string—something like USB\VID_1234\SOME_SERIAL_NUMBER. That's the registry path that's busted.
Step 2: Remove the Corrupted Registry Key
Press Win + R, type regedit, and hit Enter. Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\[Your Device Path]
Right-click the specific device key (the one with the serial number or instance ID) and choose Delete. Confirm the prompt. Do not delete more than that device's key—the parent folders like USB\VID_1234 are fine to leave.
Step 3: Clear the Device Cache
This jolts Windows into rescanning. Open a command prompt as Administrator. Run:
pnputil /enum-devices /problem 0x26C
If it lists anything, note the instance ID. Then remove it:
pnputil /remove-device [Instance ID]
Replace [Instance ID] with the exact ID from the output. This tool is cleaner than Device Manager's uninstall because it nukes the software side too.
Step 4: Rescan and Reinstall
Back in Device Manager, right-click any device and select Scan for hardware changes. The device should reappear and Windows will try to install the driver fresh. If it picks the wrong driver, you can manually point it to the correct .inf file by right-clicking the device > Update driver > Browse my computer.
What If It Still Fails?
If the error comes right back, check these:
- The device itself—try it on a different PC. If it works there, the problem's on your machine. If not, the hardware is fried.
- Old driver leftovers—use
pnputil /enum-driversto list all third-party drivers. Look for anything related to the device's manufacturer and delete them withpnputil /delete-driver. Then repeat the fix steps. - Group Policy weirdness—rare but possible. If this is a company laptop, IT might've locked down the Enum key. Run
regeditas Admin and check if you can create a new key underHKLM\SYSTEM\CurrentControlSet\Enum. If denied, talk to your admin.
Honestly, in 8 out of 10 cases, deleting the registry key and rescanning does it. The other 2 times, it's a bad cable or a dead chip. Start with the fix above—you'll be done in five minutes.
Was this solution helpful?