The user profile service service failed the sign-in server 2012

Whenever I try to login to our Exchange Server, I receive the following error:

"The User Profile Service service failed the sign-in. User profile cannot be loaded."

The issue affects more than one user.

Relevant Info:

Server Version: 2012 Datacenter

Exchange Version: 2013

The Exchange server is virtualized.

What I've tried:

1) Remote Desktop from a workstation on the network

2) Remote Desktop from Virtual Machine Manager

3) Connect via console from Virtual Machine Manager

4) Accessing the server via Computer Management and adding my user account to Allow Login via Remote Desktop

5) Creating a new user account for myself by copying the account of a user who can get in

6) Rebooting

I'd appreciate any suggestions.

, last updated March 13, 2021, in

Contents
  • User Profile Service Failed the Logon
    • Default Profile Permissions
    • Default Profile Corrupt
      • Fixing a Corrupt Default Profile

This article is part of Helge’s Profile Toolkit, a set of posts explaining the knowledge and tools required to tame Windows user profiles.

Many errors related to user profiles result in the user getting a temporary profile instead of the regular local or roaming profile. I have written about possible causes for that here. In addition to that, there is an entirely different category of errors that occur when even a temporary profile cannot be created. This article describes likely causes.

User Profile Service Failed the Logon

When Windows cannot even create a temporary profile you get to see the following error message:

The user profile service service failed the sign-in server 2012

The User Profile Service failed the logon. User profile cannot be loaded.

This typically happens when the default profile, stored in C:\Users\Default, has incorrect permissions or is corrupt in some way.

Default Profile Permissions

If all is well, the directory C:\Users\Default inherits permissions from its parent folder, C:\Users. This results in SYSTEM and Admninistrators having full control, while Users and Everyone have read permissions. In SetACL Studio this looks as follows:

The user profile service service failed the sign-in server 2012

The permissions for SYSTEM and Administrators are not relevant, but if for some reason the user logging on does not have read permissions on C:\Users\Default the error message User Profile Service Failed the Logon will be displayed and logging on is not possible.

When this happens the user profile service logs an event with ID 1509 and source User Profile General in the application event log:

Windows cannot copy file \\?\C:\Users\Default\ to location \\?\C:\Users\username\. This error may be caused by network problems or insufficient security rights. 

DETAIL - Access is denied.

Default Profile Corrupt

Logon is not possible, either, if the default profile’s NTUSER.DAT file is nonexistent or corrupt.

If NTUSER.DAT does not exist the user profile service logs an event with ID 1500 and source User Profile Service in the application event log:

Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network and that your network is functioning correctly. 

DETAIL - The system cannot find the file specified.

If, on the other hand, NTUSER.DAT is corrupt the user profile service logs an event with ID 1508 and source User Profile Service in the application event log:

Windows was unable to load the registry. This problem is often caused by insufficient memory or insufficient security rights. 

DETAIL - The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format.
for C:\Users\username\ntuser.dat
Fixing a Corrupt Default Profile

The easiest way to fix a corrupt default profile is to delete the content of C:\Users\Default and copy it from a working system. Make sure, though, that the machine you copy from has the same operating system version and language.

About the Author

Helge Klein (ex CTP, MVP and vExpert) worked as a consultant and developer before founding vast limits, the uberAgent company. Helge applied his extensive knowledge in IT infrastructure projects and architected the user profile management product whose successor is now available as Citrix Profile Management. Helge is the author of the popular tools Delprof2 and SetACL. He has presented at Citrix Synergy, BriForum, E2EVC, Splunk .conf and many other events. Helge is very active in the IT community and has co-founded Virtualization Community NRW (VCNRW).

Read more

What does the User Profile Service service failed the sign in mean?

If the error The User Profile Service failed the sign-in appears when you first log in to the computer under a new account, it means that the Default profile is corrupted or the permissions on the Default profile folder have been changed.

What is the User Profile Service?

The User Profile service stores information about users in a central location. It enables My Sites, social computing features such as social tagging and newsfeeds, and creating and distributing profiles across multiple sites and farms. It is also required by most SharePoint hybrid scenarios.