Microsoft Windows Error Code 0xC0000152: How to Fix It

Medium 30-60 minutes Medium Severity Verified June 2026
Error Code
0xC0000152
Brand
Microsoft Windows
Product Type
operating_system
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
30-60 minutes
Error code 0xC0000152 means Windows has denied your logon because of a policy restriction. This typically happens when your user account is disabled, expired, or not allowed to log on at this time. The following steps will help you identify and fix the policy that's blocking you.
Ad

Tools You'll Need

How to Fix Error Code 0xC0000152

  1. Boot into Safe Mode

    Back up important data if possible before making changes.
  2. Check User Account Status

  3. Review Local Group Policy Settings

    Modifying Group Policy incorrectly can cause system instability.
  4. Check Account Lockout and Logon Hours

  5. Repair or Reset Windows via Recovery

    Resetting Windows may remove installed apps, but keeps personal files if you choose the right option.
Ad

When to Call a Professional

If you cannot boot into Safe Mode or recovery environment, or if you are on a domain-managed computer without admin rights, contact your IT administrator or a professional technician.

Frequently Asked Questions

What does error code 0xC0000152 mean?
It means Windows denied your logon because a policy (like disabled account, expired password, or restricted logon hours) prevents it.
Can I fix error 0xC0000152 without reinstalling Windows?
Yes, in most cases you can fix it by enabling the user account, adjusting Group Policy, or clearing logon restrictions.
Why can't I log in even with the correct password?
The error is not about password correctness; it's a policy restriction. Your account may be disabled, expired, or denied logon privileges.
How do I boot into Safe Mode if I can't get to the login screen?
Interrupt the boot process three times (e.g., press and hold the power button during startup) to trigger automatic repair, then navigate to Troubleshoot > Advanced options > Startup Settings > Restart > Safe Mode.
Do I need administrator privileges to fix this error?
Yes, most fixes require administrator access. If you're using a standard account, you may need help from an admin or use a built-in Administrator account in Safe Mode.