Try these solutions in order. Stop when the error resolves.
Warning: Incorrect registry edits can damage Windows. Create a restore point first.
If the SWC is missing from the registry, you must manually remove the orphaned device node.
This is the first line of defense. It forces Windows to re-evaluate the SWC.
The error often occurs because a specific registry key pointing to the SWC is missing. Back up your registry before doing this.