Examples of user profiles prevent login. What to do if windows boots with a temporary profile

23.02.2023 Services

User account corruption is a common Windows problem. The problem occurs when you enter a password or PIN on the lock screen and when you press enter you get the error "User Profile Service failed to sign in. The user profile could not be loaded" in Windows 10 or User Profile Service is preventing you from signing in in Windows 7. .

Solving the "User Profile Service could not log on" problem using Registry Editor

Option 1: Correct the user account profile

Sometimes your account may be damaged and this prevents you from accessing files in Windows 10. Let's go to the registry editor in several ways, through safe mode:

Step 1. Press the keyboard shortcut " windows + R" to call the command "run" and enter the command regedit to enter the registry.

Step 2. In the window that opens, follow the path:

Step 3. You will have several keys in the parameter s-1-5. You will need to select the longest key with a long array of numbers and your account that has the "User Profile Service failed to login" error. Make sure that the path is correct, click on the long key and there should be a name in the right column, if you haven’t found it, then scroll through all the long keys until you come across in the right column your broken profile, in my case an account .

Step 4. If you incorrectly renamed the user profile folder C:\User\site of the affected account, then open Explorer along the path C:\User\site and right-click on the broken profile, select rename and manually enter the correct profile name (site). After renaming, go back to the folder in the registry and make sure that the name is written as in the picture (step 3) C:\User\site.

See two options, step 6 and step 7, depending on who you are

Step 5. Now we will make two options, if we have one long key S-1-5-21-19949....-1001. bak(extension .bak at the end) and with the second without .bak those. just S-1-5-21-19949....-1001. Depending on who has two or one profile lined up.

Step 6. There is only one key at the end of s.bak (S-1-5-21-19949....-1001.bak).

  • A) If you only have one key at the end with .bak(S-1-5-21-19949....-1001.bak), right-click on it and click rename. (see picture below).

  • B) Delete the word itself with a dot .bak so that you get just numbers. Continue with step 8. (see picture below)

Step 7. If you have two identical keys, one without .bak, the second with .bak. (S-1-5-21-19949....-1001 and S-1-5-21-19949....-1001.bak) .

  • A) In the left pane of the registry, right-click on the key without .bak and add a period, two letters .bk(see picture below).

  • B) Now right-click on the key with .bak, select rename and delete .bak with a dot. (see picture below).

  • B) Now go back and rename the first key with .bk V .bak. Press enter and continue with step 8.

Step 8. Select the key that you renamed without .bak and from the right in the column, double-click to open the parameter settings, and assign the value 0. If you do not have such a parameter, then right-click on the empty field with the right mouse button and create a DWORD (32-bit) parameter, rename it RefCount and set the value to 0.

Step 9. In the right field, select the key without .bak and in the parameter State set the value to 0. If there is no such parameter, then click on the empty field to the right and click create DWORD (32-bit), rename it to State and set the value to 0.

Step 10. Restart your computer and the “User Profile Service failed to log in” and “Unable to load user profile” errors in Windows 10 should disappear.

Option 2: Delete and create a new user profile for the account

This option will delete your user profile, causing you to lose all of your account settings and personalization.

Step 1. If there is another administrator account that does not have an error, log out of the current account (eg: site) and log into the administrator account.

If you don't have another admin account to log in to, you can do one of the following options below to enable the built-in admin account to log in to and proceed to step 2 below.

  • A). Boot into Safe Mode, enable the built-in Administrator, log out and log in to Administrator.
  • B). Open a command prompt window at boot, enable the built-in administrator, restart your computer, and log in to Administrator.

Step 2. Back up anything you don't want to lose in the C:\Users\(username) profile folder (eg: website) of the corresponding user account to another location. When done, delete the C:\Users\(username) folder.

Step 3. Press the windows + R buttons to open the Run dialog box, type regedit and click OK.

Step 4. In Registry Editor, navigate to the location below.

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Step 5. In the left panel in the ProfileList, click on the long key that has an account error. The profile is visible on the right.

Step 6. Delete error profiles with.bak and without.bak. Eg ( S-1-5-21-19949....-1001 and S-1-5-21-19949....-1001.bak)-delete.

Step 7. Close Registry Editor and restart your computer, after which it will automatically recreate the new user.

Let's solve the problem "Unable to load user profile" in a simple way

Method 1. This method does not work for everyone, but it has helped many. Try to copy your documents in the folder (C:\Users\) to another location to create a backup just in case. Typically the problem occurs due to corruption of the "NTUSER.DAT" file located in the "C:\Users\Default" folder. To solve this problem you need to replace the "NTUSER.DAT" file with another profile. .

  1. Log in to the system in safe mode with a profile account that works.
  2. Find the file (C:\Users\Default) "NTUSER.DAT" and rename the .DAT extension to .OLD. It should be (NTUSER.OLD).
  3. Find the file "NTUSER.DAT" in the work profile such as "Guest", "General". Example (C:\Users\Guest\NTUSER.DAT).
  4. Copy it and paste it into the default folder C:\Users\Default.
  5. To restart a computer.

You can copy this file from another computer with the same version of windows and paste it to your home along the path C:\Users\Default.

Method 2. You can try replacing the entire “C:\Users\” folder from another computer.

  • Take a flash drive in FAT32 format and write the C:\Users\ folder onto it from another computer and transfer it to your computer.

If anyone knows how else to fix the error, “The User Profile Service prevents you from logging in” using another method, then write in the “report a bug” form.

User account corruption is a common Windows problem. The problem occurs when you enter a password or PIN on the lock screen and when you press enter you get the error "User Profile Service failed to sign in. The user profile could not be loaded" in Windows 10 or User Profile Service is preventing you from signing in in Windows 7. .

Solving the "User Profile Service could not log on" problem using Registry Editor

Option 1: Correct the user account profile

Sometimes your account may be damaged and this prevents you from accessing files in Windows 10. Let's go to the registry editor in several ways, through safe mode:

Step 1. Press the keyboard shortcut " windows + R" to call the command "run" and enter the command regedit to enter the registry.

Step 2. In the window that opens, follow the path:

Step 3. You will have several keys in the parameter s-1-5. You will need to select the longest key with a long array of numbers and your account that has the "User Profile Service failed to login" error. Make sure that the path is correct, click on the long key and there should be a name in the right column, if you haven’t found it, then scroll through all the long keys until you come across in the right column your broken profile, in my case an account .

Step 4. If you incorrectly renamed the user profile folder C:\User\site of the affected account, then open Explorer along the path C:\User\site and right-click on the broken profile, select rename and manually enter the correct profile name (site). After renaming, go back to the folder in the registry and make sure that the name is written as in the picture (step 3) C:\User\site.

See two options, step 6 and step 7, depending on who you are

Step 5. Now we will make two options, if we have one long key S-1-5-21-19949....-1001. bak(extension .bak at the end) and with the second without .bak those. just S-1-5-21-19949....-1001. Depending on who has two or one profile lined up.

Step 6. There is only one key at the end of s.bak (S-1-5-21-19949....-1001.bak).

  • A) If you only have one key at the end with .bak(S-1-5-21-19949....-1001.bak), right-click on it and click rename. (see picture below).

  • B) Delete the word itself with a dot .bak so that you get just numbers. Continue with step 8. (see picture below)

Step 7. If you have two identical keys, one without .bak, the second with .bak. (S-1-5-21-19949....-1001 and S-1-5-21-19949....-1001.bak) .

  • A) In the left pane of the registry, right-click on the key without .bak and add a period, two letters .bk(see picture below).

  • B) Now right-click on the key with .bak, select rename and delete .bak with a dot. (see picture below).

  • B) Now go back and rename the first key with .bk V .bak. Press enter and continue with step 8.

Step 8. Select the key that you renamed without .bak and from the right in the column, double-click to open the parameter settings, and assign the value 0. If you do not have such a parameter, then right-click on the empty field with the right mouse button and create a DWORD (32-bit) parameter, rename it RefCount and set the value to 0.

Step 9. In the right field, select the key without .bak and in the parameter State set the value to 0. If there is no such parameter, then click on the empty field to the right and click create DWORD (32-bit), rename it to State and set the value to 0.

Step 10. Restart your computer and the “User Profile Service failed to log in” and “Unable to load user profile” errors in Windows 10 should disappear.

Option 2: Delete and create a new user profile for the account

This option will delete your user profile, causing you to lose all of your account settings and personalization.

Step 1. If there is another administrator account that does not have an error, log out of the current account (eg: site) and log into the administrator account.

If you don't have another admin account to log in to, you can do one of the following options below to enable the built-in admin account to log in to and proceed to step 2 below.

  • A). Boot into Safe Mode, enable the built-in Administrator, log out and log in to Administrator.
  • B). Open a command prompt window at boot, enable the built-in administrator, restart your computer, and log in to Administrator.

Step 2. Back up anything you don't want to lose in the C:\Users\(username) profile folder (eg: website) of the corresponding user account to another location. When done, delete the C:\Users\(username) folder.

Step 3. Press the windows + R buttons to open the Run dialog box, type regedit and click OK.

Step 4. In Registry Editor, navigate to the location below.

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Step 5. In the left panel in the ProfileList, click on the long key that has an account error. The profile is visible on the right.

Step 6. Delete error profiles with.bak and without.bak. Eg ( S-1-5-21-19949....-1001 and S-1-5-21-19949....-1001.bak)-delete.

Step 7. Close Registry Editor and restart your computer, after which it will automatically recreate the new user.

Let's solve the problem "Unable to load user profile" in a simple way

Method 1. This method does not work for everyone, but it has helped many. Try to copy your documents in the folder (C:\Users\) to another location to create a backup just in case. Typically the problem occurs due to corruption of the "NTUSER.DAT" file located in the "C:\Users\Default" folder. To solve this problem you need to replace the "NTUSER.DAT" file with another profile. .

  1. Log in to the system in safe mode with a profile account that works.
  2. Find the file (C:\Users\Default) "NTUSER.DAT" and rename the .DAT extension to .OLD. It should be (NTUSER.OLD).
  3. Find the file "NTUSER.DAT" in the work profile such as "Guest", "General". Example (C:\Users\Guest\NTUSER.DAT).
  4. Copy it and paste it into the default folder C:\Users\Default.
  5. To restart a computer.

You can copy this file from another computer with the same version of windows and paste it to your home along the path C:\Users\Default.

Method 2. You can try replacing the entire “C:\Users\” folder from another computer.

  • Take a flash drive in FAT32 format and write the C:\Users\ folder onto it from another computer and transfer it to your computer.

If anyone knows how else to fix the error, “The User Profile Service prevents you from logging in” using another method, then write in the “report a bug” form.

Many users have encountered such a problem when turning on their PC, such as a notification appearing that the User Profile Service is preventing them from logging into the system. Usually this error occurs in Windows 7, 8 and 10. Naturally, in such a situation it is impossible to work on a computer. In this regard, it is important to quickly and correctly resolve the problem. This is exactly what we will talk about today.

The first thought that arises when you see this on your device is that the virus is to blame for everything, how to save the data? Many users think so because the majority of errors are eliminated on the PC by reinstalling the OS. We should immediately reassure you that this problem appears due to incorrect account settings in the registry, or due to simultaneous computer scanning by an antivirus and logging into the OS.

In other words, when the user wants to log into the OS, it starts to authenticate him. Due to the glitch, the system perceives the login as using a temporary account, but in reality it is not. Such an alert indicates a failure in system operation. These are the most common reasons for its appearance. To eliminate them, you need to perform a few basic steps. The most remarkable thing is that the methods for fixing the problem are suitable for any edition of Windows. It is worth recalling that the user profile is the place where all information, parameters and personal information are stored.

Account service prevents you from logging in: first steps

First, you need to reboot the equipment. This is the simplest option and often helps. But don’t just click on the reboot button, you need to shut down the OS, and after a couple of minutes start it again. If the problem persists, don't panic. The method is not always effective, but it is worth using. If nothing works, then the files in the account are damaged.

Create a copy of the profile

The next step is to create a new account, but with all existing files. In other words, an exact copy is created. For this:

  • restart your computer;
  • Before the final launch, click the F8 key;
  • there will be a black screen, select “Log in through safe mode”;
  • Using the Start menu, go to Control Panel or Settings (it all depends on the version of Windows);
  • look for the “Accounts” item;
  • "Family and Security";
  • then “Adding a new account”;
  • create a new account (it is important to create with admin rights).

You need to create 2 such accounts. As a result, you should get 3 profiles (one with a problem and two new ones). Then you copy the files from the old one. You can do it like this:

  • Log in to the system through one of your work accounts;
  • click “Start”;
  • "Documentation";
  • go to the “View” section at the top, check the “Show hidden items” checkbox (maybe Tools – Folder Options in earlier versions);
  • go to the disk with Windows installed, look for the Users folder (next to c:\Users);
  • find the folder with the name of the problematic profile;
  • copy the contents, except Ntuser.dat, Ntuser.dat.log, Ntuser.ini;
  • return to “Users”, open the folder with a new account, not the one you logged in with previously;
  • paste the copied objects into a folder with the name of the new entry;
  • restart the computer, and go through a new copy, check for the presence of all the necessary files.

We are trying to remove the error that the service is interfering with operation through system recovery

Maybe the profsvc service was unable to log into the system because there were recent changes in the operating system made by the user or the program. If this is actually the case, then these actions can be reversed by restoring Windows.

In the tenth version, the algorithm of actions will be as follows:

  • reboot your PC;
  • until the system loads completely, tap F8;
  • "Safe mode";
  • Using the Start menu, go to Settings;


  • "Update and Security";
  • "Recovery";
  • Click “Start”.


Further actions depend on the situation. Windows offers to save the necessary objects or perform a complete cleanup.

In this version the procedure is almost the same:

  • first, reboot your PC;
  • secondly, before the final launch, press F8;
  • thirdly, “Safe Mode”;
  • fourthly, go to “Explorer” through the shortcut on the taskbar;


  • then select “This computer” on the right side and right-click with the mouse;
  • "Properties";


  • on the right find “System protection”;


  • Click “Restore” in the new window;

  • click “Next”;
  • select a restore point (the date before the error occurred is important);
  • tap “Done”.

If the service prevents work in Windows 7 OS

Finding the desired function in the seventh version is quite simple:

  • restart the operating system;
  • click F8 ;
  • tap on the “Safe Mode” item;
  • open the “Run” program with the combination Win + R;
  • enter into the box systempropertiesprotection;
  • The “System Properties” window will appear, where you look for “System Protection”;
  • "Recovery";
  • Windows will offer to perform recovery procedures from the recommended save point;
  • "Further";
  • click “Finish”;


  • a warning will appear stating that a return after the procedure will not be possible;
  • tap “Yes”;
  • After a successful process, a notification appears about this.


If everything went correctly, a corresponding notification will appear.

The user profile service prevents you from logging into the operating system: fix it using the registry editor

Here the instructions will be simple:

  • log in through safe mode;
  • press the combination Win + R;
  • Type the regedit command into the window and execute it by clicking Enter;
  • follow the path:
  • open the ProfileList directory and look for 2 subsections starting with S-1-5. Usually there are many numbers in the name of these subsections. One of them should have an extension bak;
  • Tap on one of them and check the value (ProfileImagePath) on the right. If a user profile is specified, then this is what is required;
  • right-click on the section without ending bak and change his name, you can just enter 00 at the end. The most important thing is that there is no .bak;


  • in subsection with bak remove this extension;
  • Open the same section and right-click on RefCount RMB in the registry. Note the change and set the value to zero;


  • similarly set zero to State.

Delete an account using the registry

Not everyone knows that you can delete an account through the registry. For this:

  • first, enter safe mode;
  • secondly, press Win + R;
  • thirdly, in the “Run” window, enter the command regedit and press Enter;
  • finally follow the path:

HKEY_LOCAL_MACHINE\ Software \Microsoft \Windows NT \CurrentVersion \ProfileList\

  • open the ProfileList folder and look for the subsection starting with S-1-5 (there are two of them). One will have an extension .bak;
  • Click on one of them and see the assigned value. If it points to a user profile, then this is the correct one;
  • right-click on the section and delete it;
  • after which, during login, the operating system will create a new account without errors.

This is how you can fix the problem when the User Profile Service prevents you from logging into the system. The main thing is to do everything in the specified sequence so as not to harm the system parameters.

When downloading Windows 7 and trying to go to your account, a person may encounter a message stating that the Windows 7 profile service is preventing the user from logging into the system. This is usually due to corruption of user profile files in the OS, which can be caused by a variety of reasons. In this article, I will explain the essence of the profile service dysfunction that has arisen, and will also explain how to resolve the profile service error in Windows 7 on your PC.

I can’t log into my profile in Windows 7 - the essence and causes of the problem

The occurrence of the “User Profile Service is preventing you from logging in” dysfunction is usually associated with a violation of the integrity of the user profile files, access to them being blocked at the moment, or their previous deletion.

In particular, this may be caused by the following reasons:

  • A virus or antivirus blocks access to user profile files;
  • The Windows registry is damaged (accidental or intentional user actions, virus programs, problem sectors on the hard drive);
  • Disc shedding and other relevant reasons.

To get rid of the “User Profile Service is preventing you from logging in” error in Windows 7, you need to perform a number of steps, which I will list below:

Method number 1. Reboot your PC

Before describing more complex techniques to fix the profile service error in Windows 7, I recommend simply restarting your PC. In particular, this error occurs in a situation when, during Windows boot, the antivirus starts scanning the system and blocks access to the user profile. Just reboot your machine, it may help.

Method number 2. Perform a system rollback when login is prevented by the profile service

Another way to fix the profile service error in Windows 7 is to use . To do this, start your computer, when it starts, click on F8 to go to the Windows 7 boot menu.

  1. Select Safe mode in it to boot Windows OS.
  2. After turning on the system, click on the “Start” button, type rstrui in the search bar and press enter.
  3. Specify an earlier restore point when there were no problems with the profile service, and roll back the system to the selected stable state.

Method No. 3. Changing the registry value

This method is effective in a situation where you can log into the system under an administrator account. Do the following:

  • Click on the “Start” button, type regedit in the search bar and press enter;
  • In the registry window, go to:

We expand “ProfileList” and see several branches.


Registry branches

Of all the branches here, two have the same name, with one branch ending in .bak. This is the incorrectly functioning account, and the other does not have the mentioned ending. We are only interested in working with these two branches.


You can see how it all looks visually in this (albeit English-language) video:

Method number 4. Creating a new account and copying data

You should use this method in a situation where you do not have access to an administrative account on your PC. To resolve the "User Profile Service is preventing you from signing in" issue in Windows 7, follow these steps:

  • Boot the system in safe mode (as described just above), click on the “Start” button, enter cmd in the search bar, but then do not press enter. The found matches will be displayed at the top, move the cursor over the analogue of “cmd” found at the top, right-click, select run as administrator;
  • In the command line that opens, type:

When working with an operating system, there are often such things that we cannot even turn on the computer normally and enter the OS - something or someone prevents us from doing this. For example, if the system has been hacked, the thief will not allow you to enter the user interface, but will require you to send an SMS to a short number. In this regard, of course, it’s easier - you can simply reinstall the system or enter through safe mode and remove the virus. But what should you do if the system itself does not allow you to log in, for example, the error “the user service is preventing you from logging in”? We will look at the example of Windows 10, which, like previous versions, was not free from this error.

Why does this error occur?

When you log in, you are authenticated as a user. If the system thinks that you are logging in under a temporary user profile, but in fact this is not the case, then some specific failure has occurred. The same situation can happen when you officially log into the system under a temporary profile and still fail to complete it.

This issue can be resolved in several ways - using the registry editor or system recovery. Please note that the first option is a little complicated, but the second is more accessible to understand even for novice users. Let's take a closer look at each of them.

Solving the error using regedit

The first thing you need to do is log in to the system under the built-in System Administrator. To do this, you need to boot into safe mode. Read how to enter safe mode in Windows 7, if you have Windows 10, then you should. After booting into safe mode, begin executing the following instructions:


Solving the error using system restore

The method is quite simple, but not always effective. This is explained by the fact that not all users create restore points, and some simply delete them using programs to “clean” the system. If you are sure that there is a restore point when the system was working normally, follow the instructions in these instructions:


Now there should be no problems with logging in, and you can log into the system normally. There is another option, which is not worth special attention - just create a new user through the built-in Administrator profile, and then transfer your user files from the old profile to the new one.