User Account immediately logged-off after entering - Windows 10

Hi all,

I've been trying to resolve this problem since almost two days ago. I can't access to my user account because it gets automatically logged off immediately after I try to access. This prevent me from using my PC because is the only existing/enabled account in the system.

I've already tried, from the booteable Windows DVD, doing the following:

  • CHKDSK and SFC Scan.
  • Startup Repair.
  • System Restore and Image Recovery: Couldn't move forward with these tools because none restore points were found.
  • To replace the Windows.UI.Logon.pri file with a new one from another Win10 working PC (same build).
  • To compare the registry entries in my user folder inside "ProfileList", with another Win10 working PC (same build).
  • To review the registry entries Shell and Userinit from WinLogon. Both as correctly setted as default.
  • To enable the build-in administrator accound from command console with "net user administrator /active:yes". This returned succesfull message but the new account doesn't shown-up in the Win10 login screen. Same with Guest build-in account.
  • To create a new user account with "net user /add NewUser "" " and "net localgroup administrators NewUser /add".

I can't Reset the PC because I have many programs and configurations I'd need to backup first.

Do you know any other possible solution for repairing my user account?

Thanks in advance for your help!!!!

Hi Mauro,

Thank you for posting your query on Microsoft Community.

I understand that you are facing issues with your Microsoft Account.

Try the following suggestions and check if it helps:

I would suggest you to run Microsoft account troubleshooter and check.

The Microsoft Account Troubleshooter scans your system for issues and repairs problems that are found in relation to your Microsoft Account.

The following issues are checked by the Microsoft Account Troubleshooter program:

 •Corrupt Microsoft Account settings

•Can’t connect to the sync service

•Problems with Microsoft account Policy

•Microsoft Account required

•Connection issues due to proxy or certificate issues

•Check for roaming GPO enabled status

•Problem with system registration

•Signed in with a guest account, or Roaming User Profiles enabled

•You are not connected to the Internet

•Proxy Settings

•You have reached your daily sync quote

•Sync your settings is turned off

•Check system not activated.

Refer to the following link to run the troubleshooter:

Microsoft Account Troubleshooter

http://download.microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/microsoftaccounts.diagcab

If the issue persists, Try to create a new user account and then transfer all your data's to the new user account as the current user account may be corrupted.

You can refer to the link below for more information on how to create new user account:

http://windows.microsoft.com/en-us/windows/create-user-account#create-user-account=windows-8

Note: Applies to Windows 10 as well.

Once the new user account is created, kindly follow the steps below:

Copy and paste the data files to the new user profile.

Follow the steps to copy the files from the old Microsoft account to the new account:
a) Press/tap Windows and x together and select Windows Explorer.
b) Click/tap on
View tab and click/tap on Options at the top right corner.
c) Click/tap the
View tab, and then click/tap Show hidden files, folders, and drives.
d) Uncheck the box which states
Hide protected operating system files.
e) Click
Yes to confirm, and then clickOK.
f) Locate the
C:\Users\Old_Username folder, where C is the drive that Windows is installed on, and Old Username is the name of the profile you want to copy files from.
g) Select all of the files and folders in this folder, except the following files:
Ntuser.dat•Ntuser.dat.log•Ntuser.ini

h) Right click/tap and Select Copy.
i) Locate the
C:\Users\New_Username folder, where C is the drive that Windows is installed on, and New Username is the name of the new user profile you created.
j) Right click/double tap inside the folder and select
Paste.
k) Restart your PC and check if you are able to log in to the computer using the new Microsoft account with all the files of the old account. 

Once all the data's are transferred you can connect your New user account to old Microsoft account by following the section "Signing in with a Microsoft account" in the below mentioned link:

http://windows.microsoft.com/en-us/windows-8/microsoft-account-tutorial 

Once all the steps are done and the count is set up properly, You can delete the old Microsoft user account. Follow the steps below to do so:

Follow the steps to delete the corrupted user account profile:
a) Login to your new User Profile.
b) Click/tap on the “Windows logo” and type “User Accounts”.
c) Now, select “Settings” and then select the “User Accounts” icon.
d) Click/tap on “Manage another account” and then select the user account that you want to delete.
e) Click/tap on “delete the account”.
f) Depending on whether you want to “Keep the files” or “delete the files” choose the appropriate option.
g) You can delete the other accounts similarly.

Please reply with the status of the issue, so that we could help you better.

Thank you.

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thanks for your quick answer Sangeeta!

But how do I run that Troubleshooter (.diagcab file) from command prompt? Remember I can't access to Windows as I explained before.

The same would happend to me if I follow your second suggestion, I'm not being able to create another account without accesing Windowns, how do I do?

Thanks in advance!

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi Mauro,

Thank you for your update on the issue. Apologize for the delayed response.

Do you have Windows 10 installation media?

In this case, you might have to boot from the installation media and run a Startup repair. Follow the instructions on Windows 10 Software Download page to create media.

After creating the media, boot the computer from the medium and then try the following method to perform a Startup Repair in Windows 10. 

  1. Contact the computer manufacturer to know on how to change the boot order of the computer. You will have to change the boot device to CD/DVD drive and then boot from the Windows 10 installation disk.
  2. In the “Windows Setup” dialog box that appears, set the Time and currency format, Keyboard or input method and the language to install and then click “Next”.
  3. Click on “Repair your computer” from the lower left corner.
  4. From the “Choose an option screen”, click on “Troubleshoot”.
  5. Click “Advanced Options” in the “Troubleshoot” screen.
  6. In the “Advanced Options” screen, click “Startup Repair”.
  7. Follow the on-screen instructions to complete the Startup Repair.

Check if you are able to successfully boot the system.

Hope this information is helpful. Do let us know if you need any further assistance, we'll be glad to assist you.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

That was the second thing I've done, I listed it in the issues details at the begining. Please read that details again.

4 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

I found this same issue happened to my home PC running Windows 10. This machine had been upgraded from Windows 8. On that Windows 8 machine I had third-party software installed that bypassed the Metro UI and went right to the desktop. As it turns out, this software left a bit of info in my registry prohibiting me from signing in unless the account was an admin. 

If you can somehow get logged in in safe mode or under an administrator account, check out the registry. 

HKLM/Software/Microsoft/Windows NT/CurrentVersion/Winlogon

Look at the UserInit key. Make sure it doesn't have anything extra in it. It should only contain C:Windows\system3\userinit.exe

Once I deleted the extra info added, I was able to log in again.

Good luck.

52 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Great tip, saved me a lot of work. Thank you.

In my case G Data Internet Security put something behind it in the UserInit value.

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Thanks, for you great help I was about to configure a new user account and transfer all the information across.

In my case the problem was with  HP software.

I had this entry in my registry.

C:\Windows\system32\userinit.exe,c:\Program Files (x86)\Hewlett-Packard\HP ProtectTools Security Manager\Bin\DPAgent.exe

Once removed I was able to log in.

thanks.

11 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated November 30, 2020 Views 55,541 Applies to: