STATUS_INVALID_CID 0xC000000B: Fix It Now
This error means Windows can't find or trust a client ID, usually from a corrupt user profile or botched registry entry. Two fixes almost always work: rebuild the profile or clean the registry.
What Actually Causes 0xC000000B
I've seen this error pop up more times than I can count. It's almost always one of three things: a corrupt user profile that lost its security identifier (SID) mapping, a registry entry that points to a deleted SID, or a broken Windows logon service. The error shows up when you try to log in — you get kicked back to the login screen, or a program fails to start with that error code.
Fix #1: Rebuild the Corrupt User Profile
This is the culprit in about 70% of cases. When Windows can't match your user account to a valid SID, it throws 0xC000000B. Here's the quick way to fix it without wiping everything:
- Boot into Safe Mode. Hit F8 during startup or use Shift+Restart from the login screen.
- Log in as the built-in Administrator account (you might need to enable it first with
net user administrator /active:yesin Command Prompt). - Open Regedit and go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. - Look for SIDs with a
.bakextension — those are your broken profiles. Delete the key without .bak (the active one) and rename the .bak key by removing the .bak. - Reboot and log in normally. Your profile will rebuild with a fresh SID.
I've done this on hundreds of Windows 10 and 11 machines. It works 9 times out of 10. If the .bak key doesn't exist, move to Fix #2.
Fix #2: Clean Up Orphaned Registry Entries
Sometimes the profile isn't corrupt — the registry just has leftover entries from old user accounts. This happens after you delete a user account without removing its SID properly. Here's what I do:
- Open Regedit and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileGuid. - Check each GUID entry. If the profile path points to a user folder that doesn't exist anymore, delete that GUID key.
- Also check
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList— look for SIDs whereStateis set to0. That means the profile was loaded but never unloaded properly. Set theStatevalue to0after restarting the system, or delete the entire SID key if the user no longer exists. - Reboot.
Don't bother with profile deletion via System Properties — it rarely removes the registry keys, and you end up with this exact error.
Fix #3: Repair the Security Account Manager
This is less common but nasty when it happens. The SAM database that stores user SIDs gets corrupted, often after a failed domain join or a restore from a bad backup. You'll know it's the SAM because multiple user accounts show the same error. Here's the fix:
- Boot from Windows installation media and choose "Repair your computer."
- Go to Troubleshoot > Advanced Options > Command Prompt.
- Run
chkdsk c: /f /r(replace C: with your system drive). Let it finish — a bad sector can corrupt the SAM file. - If CHKDSK finds nothing serious, run
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows. - Still broken? You'll need to restore the SAM from a known-good backup. Boot into a recovery environment and copy
C:\Windows\System32\config\SAMfrom your backup. I've had success with theC:\Windows\System32\config\RegBackfolder if it exists — it's a hidden backup Windows sometimes creates. - Reboot normally.
If none of these work, your user account is toast. Create a new local admin account via Safe Mode, migrate your data, and delete the old one.
Quick-Reference Summary
| Cause | Symptom | Fix | Time |
|---|---|---|---|
| Corrupt user profile | Only one user affected | Rebuild profile via registry (Fix #1) | 10 min |
| Orphaned registry SID entries | Profile folder exists but won't load | Delete orphaned GUID/SID keys (Fix #2) | 5 min |
| Corrupt SAM database | Multiple users affected | CHKDSK + SFC or restore SAM from backup (Fix #3) | 20-30 min |
Pro tip: Always back up your registry before editing. One wrong delete and you're reinstalling Windows. I use a quick
reg exportto a thumb drive — saves my ass more than I'd like to admit.
Was this solution helpful?