Windows 7 does not boot user. The User Profile Service is preventing you from logging in. Deleting a profile through the registry

How can I resolve the error “User Profile Service is preventing you from logging in” using Windows 7 as an example?

How to resolve the "User Profile Service is preventing you from logging in" error on Windows 7?

Sometimes it happens that the system displays a message on the screen stating that it is not possible to log in because User Profile Service prevents Windows 7 login. A similar message looks something like this.

Error window

In this case, the PC user immediately has anxious thoughts about losing all the data on the computer or about a virus attack on the system. But there is no need to panic, because this problem can be solved and you don’t have to take your computer to a service center.

Cause of Profile Service Error

The most common reason is incorrect parameters system registry. Another reason may be that the antivirus scan of your computer coincides with your login. In any case, the problem can be fixed.

Error resolution methods

So, you see a message on the screen that The User Profile Service is preventing you from logging in. What to do when I encounter such a message and how to solve this problem? There is a simple but reliable way. But first, try restarting your computer normally, the error may go away on its own.

If rebooting does not help, you should log in as an administrator. To do this, you will have to restart your computer and log in. Next, you should launch the Registry Editor. To start you need to click on the menu “ Start» to the program « Execute", which is located in the "Standard" section or launch it by pressing the keys Win+R. IN command line should write " regedit" without quotes and click OK.

Command to enter the system registry editor

The registry editor will open, in which you need to go through the folders in the left column in this order:

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

  • Select a folder with a long name that ends in ".bak".
  • Find a file called " ProfileImagePath» – your name must be indicated correctly on the right account and the path in it in the Users folder.
  • If the name is correct, then go to another folder with a long name and look for the same file. Most likely, it will be written here “ C:\Users\TEMP"or there will be a set of random characters.
  • We change the names of folders with long names. The one that ended in “.bak” is left without this ending, and the one that did not have this ending is renamed to “.bak” at the end. That is, we swap the ending “.bak” for the folders.
  • Now in the folder without ".bak" at the end, find the file " RefCount", then click on it right click mouse and select the command " Change" And then enter the value “ 0 ».
  • Do the same in the file " State" Also enter a null value.

Renaming profile values ​​in the registry

All that remains is to restart your computer, and the problem should be resolved if you did everything correctly. The profile service should no longer prevent you from logging in.

If the method described above did not help, then by logging into, you can create a new profile and log in windows already under him.

Also, do not forget about system recovery, which can be launched through the same safe mode and roll back the system to a date when the “User Profile Service is preventing you from logging in” error did not exist.


Share this article on in social networks! Help our site!

Join us on VK!

In work with operating system Often there are such things that we cannot even turn on the computer normally and enter the OS - something or someone is preventing 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 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 to do if the system itself does not allow you to log in, for example, the error “user service prevents you from logging in”? We will understand using the example of Windows 10, which is the same as 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. How to login securely Windows mode 7 read, if you have Windows 10, then you. 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.

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.

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 No. 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 menu Windows boot 7.

  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 number 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

Use this method stands in a situation where you do not have access to the 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:

And press enter. The system should respond with a message indicating that the command was completed successfully.

Conclusion

To fix the error that prevents you from logging in to the profile service in Windows 7, you need to use the tips I listed above. The method of editing the system registry showed the greatest effectiveness, so I recommend using the specified solution algorithm to correct the dysfunction of the profile service on your PC.

What can be done?

1. Enter safe mode (when starting the PC, before loading Windows, press the F8 key). We go into safe mode Start\Control Panel\All Control Panel Items\User Accounts\Windows Account Control.

2. Create a new user.

3. Next, go to the folder c:\users\your-username-that-won't-load(For example c:\users\Dmitry) and copy the contents of the folder Dmitry to a folder new created user.

4. Reboot, log in as a new user.

Option #2 (if the first one didn’t help):

1. Enter safe mode as any user (the main thing is that the account is an administrator) (I described how to enter safe mode above). Next, open Start and type regedit in the search bar. We go to regedit - the registry editing window opens. In the registry we follow the following path

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

In the profilelist folder we need to find the folder with the ID of the broken profile. Usually this is a folder with .bak, we actually remove the word .bak from the folder name and reboot. If it does not allow you to rename the folder, then most likely there is already a folder with the same name. We delete it, then rename it (erase the word.bak).

After reboot it should work fine. Thanks to all. This instruction assumes that your OS is Windows 7, but it will most likely work on other OSes.

If you have questions, ask them in the comments to the article, we will definitely help you.

Sometimes it may fail that after a new account has been created in the OS, the PC user cannot log into the system from it. This directly depends on the fact that Windows has a user profile service, due to an error in which nothing works. Read on - the suggested options will help you fix the problem.


What is the first thing you can do if the User Profile Service is preventing you from logging in? Windows system 7? Restart your PC and before loading Windows itself, click F8 to go to the menu BIOS. Afterwards, select to start the OS in Safe Mode , then let the download take place.


Now open the menu Start (checkbox) and in the search bar below type User Accounts – select the appropriate line as below:



Accordingly, let's move on to Manage another account . After clicking in a new window, find the line by Create a new account – create and specify account parameters:



The next step you will need to go to is Local disk with OS Windows - I have this "WITH", and for almost all users too. Enter the folder Users (may be called Users). You now need to define a couple of folders: the folder of the user who does not want to boot, and the folder of the user who has just been created. Go to the folder of the non-booting user and copy all the data to the newly created one.



Restart your PC and log in to the user account where you copied all the data. If the account starts, great - now you have a new account. an entry with a new name (if you want, you can delete the old one later).


If this solution did not help you, the following should definitely help you.


Similarly, we go to Safe mode from the administrative account records. We start in the same way with Start , but in search bar indicate regedit:


We launch the registry editing program and now we have a very long way to go! Be careful! We start with a folder called HKEY_LOCAL_MACHINE- and from there we will go through the branches of folders.


HKEY_LOCAL_MACHINE– start with it – see the screenshot:



After that SOFTWARE , Now Microsoft , V Windows NT , from her to CurrentVersion and now we already find ProfileList .


Inside ProfileList in addition to the rest there will be two almost identical folders, only at the end of the other one will be added .bak- this is the account that does not let you through.



First, let's deal with the folder without .bak- just rename it, giving it some name so that ProfileList it was not repeated with any other. And the folder with .bak at the end we just delete this extension - in the end it will acquire the name of the folder with which you dealt with first - only numbers will remain.


If you followed the description, after rebooting the PC everything should work fine. Please let me know if you were able to resolve the issue where the User Profile Service prevents you from logging in. What can't I do in the OS? What was difficult? Leave it in the comments below - we will help you if you have any difficulties! Thank you!