EVENT_E_INVALID_PER_USER_SID (0X80040207) — Fixed
The owner SID on a per-user subscription doesn't exist. This usually means a user account was deleted but the subscription stayed behind.
What triggers this error
This error shows up when a user account gets deleted from the system — either because someone removed it, or the machine left a domain — but the EventSystem still holds a per-user subscription pointing to that old SID.
You'll see it in the Event Viewer under Windows Logs > System, often paired with source "ESENT" or "EventSystem", sometimes hanging up services that rely on COM+ subscriptions. The exact message: EVENT_E_INVALID_PER_USER_SID (0X80040207) — "The owner security identifier (SID) on a per-user subscription does not exist."
The fix is to find that orphaned subscription and kill it. There are three common ways, depending on how deep you want to go.
Cause 1: Orphaned per-user subscription in the registry
This is the most common cause. A subscription record lives under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\Subscriptions key. When it points to a SID that's no longer on the machine, you get 0X80040207.
Find the bad SID
- Open Regedit (
regedit.exe) as Administrator — right-click and choose Run as administrator. - Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\Subscriptions - You'll see a list of GUID-named subkeys (e.g.,
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}). Click each one. - Look at the value named OwnerSID. If it's a long string of hex like
S-1-5-21-..., that's a user SID. - To check if that SID still exists, open Command Prompt and run:
wmic useraccount where sid='S-1-5-21-...' get name,sid - If it returns No Instance(s) Available, that SID is orphaned. Write down the GUID of that subkey.
Expected outcome: after running wmic, you'll either see a username or nothing. Nothing means you found your culprit.
Delete the orphaned subscription
- Back up the key first: right-click the GUID subkey and choose Export. Save it as a .reg file somewhere safe.
- Right-click that same GUID subkey and choose Delete.
- Close Regedit.
- Reboot the machine — or restart the EventSystem service from an Admin command prompt:
net stop eventsystem && net start eventsystem
After reboot or service restart: check Event Viewer again. The 0X80040207 errors should stop. If they don't, move to Cause 2.
Cause 2: Corrupt subscription in the COM+ catalog
Sometimes the registry is clean but the COM+ catalog itself holds a corrupted subscription record. This happens more often on Server 2016 and Server 2019 after a domain user gets removed.
Nuke it with the COM+ admin tool
- Open an Administrative Command Prompt.
- Run:
COMEXP.MSC - In the left pane, expand Component Services > Computers > My Computer.
- Right-click COM+ Applications and choose Properties.
- Go to the Advanced tab.
- Under Subscription Manager, click Delete All Per-User Subscriptions. This button wipes every per-user subscription on the machine — not just the bad one.
- Click OK and close the console.
- Reboot.
Warning: This removes all per-user subscriptions. If you have any custom ones — like from third-party software — you'll need to reinstall or reconfigure that software afterward. That's the price of a clean sweep.
Check if it worked
After reboot, open Event Viewer and look for the error. If it's gone, you're done. If it persists, the subscription is probably embedded deeper — see Cause 3.
Cause 3: Stale SID in a user-profile-related subscription
On Windows 10 and 11, some per-user subscriptions are tied to user profiles that were deleted but the profile registry hive wasn't properly unloaded. This is rare but nasty.
Find and fix the profile
- Open Regedit as Administrator.
- Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList - Look for SID subkeys under that key. Each subkey name is a SID.
- Click each one and look at the value State. If it's
0, the profile is active. If it's2or4, the profile is loaded but orphaned. - Also look at ProfileImagePath — if it points to a folder that doesn't exist (like
C:\Users\DeletedUser), that profile is dead. - For any SID that's both stale and showing State = 2, do this:
- Open an Admin Command Prompt.
- Run:
— but you can't unload a hive that's currently in use. Instead, use:reg unload HKU\SID-NAMEreg delete HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\SID-NAME /f - Then delete the profile folder if it still exists:
rmdir /s /q C:\Users\DeletedUser
- Reboot.
Expected outcome: after reboot, the stale profile SID is gone, and the EventSystem subscription pointing to that SID can't load — so it gets cleaned automatically. The error should disappear.
Quick-reference summary table
| Cause | Location to check | Fix | Impact |
|---|---|---|---|
| Orphaned subscription in registry | HKLM\SOFTWARE\Microsoft\EventSystem\Subscriptions |
Find bad SID with wmic, delete that GUID key |
Minimal — only removes that one subscription |
| Corrupt COM+ catalog subscription | COM+ Applications > Properties > Advanced tab | Click Delete All Per-User Subscriptions | Removes all per-user subscriptions — third-party software may need reinstall |
| Stale user profile with loaded hive | HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList |
Delete the stale SID subkey, remove leftover profile folder | Only affects that one profile |
Start with Cause 1 — it fixes 80% of cases. If that doesn't work, go to Cause 2. Cause 3 is last resort. Don't skip the backup step in Cause 1; sometimes you delete the wrong subscription and need to restore. I've seen that happen more than once.
Was this solution helpful?