Medium Operating Systems ✓ Solution Verified by Community (0+ upvotes)

How to fix error error-invalid-sub-authority in Windows 11

ERROR_INVALID_SUB_AUTHORITY = 1335

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 30 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Codeerror-invalid-sub-authority
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time30 min
Requires Admin Rights⚠️ Yes
Requires Reboot🔄 Yes

Solution Steps

  1. 1 First, try restarting your computer. Sometimes a temporary glitch can cause this error. If it persists, proceed.
  2. 2 Open Command Prompt as administrator. Type "sfc /scannow" and press Enter. This scans and repairs corrupted system files. Wait for it to complete (may take 15-20 minutes).
  3. 3 If SFC doesn't fix it, run DISM: type "DISM /Online /Cleanup-Image /RestoreHealth" and press Enter. This repairs the Windows image. This can take 20-30 minutes.
  4. 4 If the error is related to a specific application, reinstall that application. Uninstall it via Settings → Apps → Installed apps, then download the latest version from the official website.
  5. 5 Check the registry for invalid SIDs: Press Win+R, type "regedit", and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Look for any profile keys with a long SID-like name. If you see one that doesn't match any user, you can delete it (after backing up the registry).
  6. 6 If the issue persists, consider creating a new user account and migrating your files. Go to Settings → Accounts → Family & other users → Add account, and set up a new user.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Still having issues?

Describe your exact problem to Error Buddy and get a personalized fix in seconds.

🛠️ Try Error Buddy — It's Free