Fix Immediate Sign-Out After Active Directory Login on Windows
Question details
Identify why some users are signed out immediately after logging in to a company-managed Windows device.

- Product
- Windows Active Directory sign-in
- Device & OS
- Company-managed Windows device; version not provided
- Scenario
- Newer users attempt to sign in to a managed device with accounts that work on other devices.
- Observed behavior
- Affected users are logged off immediately after signing in. Reconnecting Azure AD has not resolved the issue.
Ask an IT administrator to confirm whether the device uses Active Directory, Microsoft Entra ID (formerly Azure AD), or a hybrid setup. Record an affected username and the approximate sign-in time, and arrange administrator access to the device or its logs.
Check Windows Sign-In Logs and User Profile Events
Use device logs to identify profile errors or policies associated with the immediate sign-out.
Sign in with a working administrator account, or have IT access the device remotely. Open Event Viewer and check Windows Logs > Security around the affected sign-in time.
In Event Viewer, check Windows Logs > Application and Applications and Services Logs > Microsoft > Windows > User Profile Service for errors or warnings at the same time. Look for messages about loading the user's profile or accessing its files.
Have an administrator open Command Prompt and run gpresult /scope computer /r to review computer policies. Compare relevant sign-in restrictions and profile settings with a device where the account works.
Give the event details to IT to investigate profile configuration, permissions, or policy restrictions. After the administrator makes a targeted correction, retry the affected account on the device.

Review Entra Sign-In, Enrollment, and Compliance
Use this check if the organization also uses Microsoft Entra ID or manages device compliance.
Work With Office Files in WPS Office After Sign-In
WPS Office is a free, lightweight alternative with a familiar interface and support for Microsoft Office formats, making it easier to move existing documents. It does not fix Windows or Active Directory sign-in problems; a working device sign-in is required.

Frequently Asked Questions
Why does the account work on another device?
That pattern suggests checking the affected device's profile configuration, permissions, and policies. An administrator can compare its Event Viewer logs and applied policies with those on the working device.
Where can IT find errors related to the user profile?
Open Event Viewer and check Windows Logs > Application and Applications and Services Logs > Microsoft > Windows > User Profile Service around the sign-in time.
Should I reconnect the device to Microsoft Entra ID again?
Not without an administrator's assessment. Reconnecting did not resolve this case, and the cause may instead be a local profile or policy. IT can check dsregcmd /status and device management records first.
Will Microsoft Entra sign-in logs show every Windows login?
No. A local Active Directory Windows sign-in may not appear in Entra sign-in logs. Check the device's Windows Security and profile logs for the relevant time as well.




