The user service is preventing login. Treatment


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:

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.

Updated: 12/13/2019 Published: December 28, 2018

Description

Windows logon fails with "User Profile Service is preventing you from logging in" error.

The error is typical for any version of Windows.

Cause

The profile is corrupted, there is an error in the ProfSvc profile service, or an unsuccessful download attempt. The latter can lead to changes in the registry, which makes the error permanent.

Solution

1. Reboot

If the error occurs for the first time, simply restart the computer - this may be enough.

2. Editing a profile in the registry

You must first launch the Windows registry. There are several options to do this:

  • Log in with a different account, such as the built-in administrator. If your computer is on a domain, you can also use any domain account with administrative rights (domain administrator). Afterwards we launch the registry with the command regedit.
  • Boot your computer with Windows LiveCD. Run any program to edit the registry, for example, Regedit:

Go to the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList branch.

We go through all the sections - find the one that starts with S-1-5-* and ends with .bak:

* we need to make sure that we have selected the right user using the key ProfileImagePath, which points to the path to his profile.

Please note that there is a section nearby with the same name, but without bak at the end - right-click on it and rename it, adding to the name .bak2:

And from the other section we remove .bak at the end:

Click on the section without bak and on the right side we find the RefCount and State keys - if they exist, change their values ​​to 0:

We restart the computer and try to log in with the desired profile.

3. Copy the Default folder

The problem may occur if the files in the directory are corrupted Default(in older versions of the system Default user), which is located in the folder with profiles - usually C:\Users. This directory is hidden - to see it, go to the tab in Explorer View and put a tick Hidden elements:

* in older versions go to the menu Service - Folder properties- tab View- put a tick Show hidden files and folders.

To solve the problem, you need to copy the contents of the Default folder from the working computer and paste it and replace it into the directory on the non-working computer.

4. System Restore

The easiest way is to try restoring the system to a restore point. To do this, run Windows recovery from the installation disk.

After this, select the item System Restore and an early recovery point. We wait for the recovery process to complete and restart the computer.

5. Create a new profile

If the options described above do not help, you can create a new user profile.

a) If the computer is joined to a domain, log in to the system under any account with administrator rights and rename the profile folder. Then we try to log in to the system under the account of the user we need.

b) If it is possible to log in to the system under a different account, create a new user (for Windows 7 you can use the command described in the instructions below). Then log in under a new account.

Afterwards, you need to copy all the data from their old profile folder to the folder with the new one.

6. Setting up permissions for the home directory

If at the previous stage we did not find a branch with .bak at the end, and the error User Profile Service prevents login does not allow you to log into Windows, you need to check NTFS rights and make sure that he is not denied access to his directory.

This procedure must be performed as a different user. Right-click on the profile folder (C:\Users\<Имя пользователя>) - Properties- tab Safety. We check that the corresponding user has full rights to the directory.

7. Granting administrator rights

If a user does not have administrative rights, they may not have enough privileges to create the required profile folders. As a rule, this is due to a malfunction in the operating system, since the user must have full rights to his profile. Failure may occur as a result of incorrect settings of rights or virus actions.

To solve the problem, log in as a different user and change the account type to “Administrator”. If the user is a domain user, then add him to the local “Administrators” group.

If these actions help you log in, we try to return the rights of a regular user.

You should be more careful when granting account administrator rights. If the cause is a virus, then we ourselves will give it full authority in the system. Before changing rights, we check the computer for viruses, for example, using CureIt.

8. System reinstallation

As a last resort, there is always a radical solution, which is to reinstall the system. If there is important data on the system drive, you can copy it to external media by booting your computer with Windows LiveCD. After which you can begin to reinstall the system.

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's the first thing you can do if the User Profile Service is preventing you from logging into Windows 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 the search line we 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!


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, since this problem can be solved and you will not have to take your computer to a service center.

Cause of Profile Service Error

The most common cause is incorrect system registry settings. 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. On the command line you 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" - on the right, the name of your account and the path in it in the Users folder must be correctly indicated.
  • 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 right-click on it 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 loading into, you can create a new profile and log into windows under it.

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.


The best way to thank the author of the article is to repost it on your page






2024 gtavrl.ru.