Try this in order, from safest to most permanent:
- Remove it from Settings
- Open Start > Settings > Bluetooth & devices > Devices.
- Under Other devices, find the unknown device.
- Select it, expand it, then choose Remove this device > Remove.
- If it disappears, it has been removed from the device list.
- Remove it from Device Manager
- In Windows search, open Device Manager.
- Select View > Show hidden devices.
- Expand the category where the unknown device appears.
- Right-click the device and select Uninstall device.
- If available, select Delete the driver software for this device.
- Select OK.
- Restart the PC.
- If the device keeps coming back, remove the driver package from the Driver Store
- This is more permanent, but it can break hardware if the wrong driver is removed.
- First create a system restore point.
- Open an elevated Command Prompt.
- Remove the driver package with:
pnputil /delete-driver <Published Name> /uninstall - If no other matching driver exists, the device will stop functioning until a valid driver is installed.
- Prevent immediate reinstallation
- If Windows Update detects a missing required driver, it can reinstall it.
- If that happens, Windows Update settings might need adjustment.
- For the 23H2 to 24H2 upgrade failure
- A corrupt or incompatible driver package can block the upgrade.
- In similar cases, uninstalling the specific bad driver package resolved the issue. Examples in the context include a corrupt Realtek PCIE CardReader package and a faulty smart card reader package.
- If the upgrade still fails after removing the unknown devices, identify the exact failing driver from setup logs or a diagnostic tool, then uninstall that specific package before retrying the upgrade.
Important:
- Before uninstalling a device, physically unplug it if possible. Otherwise Windows can rediscover it and reinstall it immediately or after restart.
- Administrative privileges might be required. If the option to delete driver software does not appear, the account likely does not have sufficient permissions.
- Avoid deleting registry entries manually unless there is a documented reason and a backup. Incorrect registry changes can cause system issues.
- Using Device Manager to uninstall devices and driver packages
- Using Device Manager to uninstall devices and driver packages
- [Windows 11
- How to fix error code Ox8007002 - Ox20007 during an update for Win 11? - Microsoft Q&A
- We couldn't update Windows 11 23H2 to 24H2 - error 0x80070002 - 0x20007 - Microsoft Q&A
- windows 11 24h2 install failed 0x800700002 - 0x20007 The installation failed in the SAFE_OS phase with an error during INSTALL_DRIVEERS operation - Microsoft Q&A