Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»Why Can’t I Log Into Windows? How to Fix it?

Why Can’t I Log Into Windows? How to Fix it?

Grishm DevkotaBy Grishm DevkotaDecember 20, 2022
Can't log into Windows

Issues such as “Incorrect username or password”, “Cannot sign-into account” or graphical bugs like the password field missing are some of the errors that can stop you from logging into your device.

The error can be triggered by a variety of reasons ranging from incorrect password entry, failing to load user profile, incorrect system settings or network problems.

Fortunately, Windows provides us with a variety of solutions that can be applied to fix the login errors. 

Table of Contents

  • Methods to Fix Unable to Log into Windows
    • Check Credentials
    • Change Login Method
    • Check Keyboard Issues
    • Access Safe Mode
    • If Safe Mode is Not Accessible
    • System Scan
    • Create a Temporary Profile
    • Disable Group Policies 
    • Change Registry Settings
    • Reset Device

Methods to Fix Unable to Log into Windows

Simple fixes would be to first check the typed password by making it visible, and connecting your device to the internet for solving account related issues. If the issue is due to graphical or system related errors, reboot your computer to reload the processes correctly. 

To solve serious errors that are concerned with corrupt registry, user profile, group policies and system files, you can perform the fixes mentioned below.

Check Credentials

Sometimes due to recent changes in security credentials, users may find that they cannot log into their device. This is due to the system taking time to sync new changes across all the devices.

  • Firstly, check whether you have entered the password correctly or not. While entering the password, click on the eye icon to make the password visible.
    eye icon login
  • If you cannot connect to the internet, change the user login type from PIN to password or vice versa.

Change Login Method

If you are having issues due to account or passcode related issues, using an alternate login method can help solve the issue.

  • If the PIN is not being accepted, login by using your Microsoft account credentials and then reset the PIN or remove the folder that contains the data.
  • If you have forgotten either the PIN or the password, you can use an alternate login method, like Windows Hello
    alternate login

Check Keyboard Issues

If the credentials and login information you entered are correct, you can check the keyboard for input issues. Sometimes, the language input and keyboard responsiveness can cause incorrect passcode entry which denies login.

  • Check if the Caps lock key is on/off as login passwords are case sensitive 
  • If the keyboard is not responding as intended, toggle Filter keys off from Accessibility
  • If the keyboard is experiencing hardware issues, enter PIN/password from the on-screen keyboard
    onscreen keyboard
  • If the language input of the keyboard has been changed, select the appropriate language from the bottom right and then type your password

Access Safe Mode

Note: If you have set up a password account, you may need to sign-in to access Safe mode

Some users have reported that logging into safe mode and then rebooting their device has helped solve the error. Making changes to the settings requires access to the system therefore, to get safe mode access

  1. From the lock screen, click on the Power menu 
    safe mode restart
  2. Press the Shift key and click on Restart
  3. In the Windows recovery environment, click on
    Troubleshoot> Advanced options> Start-up Settings> Restart
  4. From the list, enter the corresponding number (4 or 5) to boot your device in Safe mode

If Safe Mode is Not Accessible

If you cannot gain access to safe mode normally, perform the following steps to enable the local administrator account and then get access to safe mode.

Enable Built in Administrator Account

If you cannot sign-into safe mode using your current user profile, then you can use the built in administrator account created by Windows to gain access to the system. To enable this, you will need to first boot into Windows from a bootable installation media such as a DVD or a USB drive. After booting into the Windows setup screen

  1. Open the Command prompt by pressing Shift key + F10  
  2. To check in which directory Windows is installed, type bcdedit on the console
  3. On the Windows bootloader section, look for osdevice partition
    win bcedit
  4. In the console, type the following and press the Enter key after each line. Make sure to replace the [c:] with whichever volume you have installed Windows to
    copy c:\windows\system32\utilman.exe d:\
    copy utilman
    copy /y c:\windows\system32\cmd.exe d:\windows\system32\utilman.exe
    wpeutil reboot
    copy cmd over utilman
  5. Remove the installation media and let Windows boot normally
  6. On the login screen click the Accessibility icon and select Command prompt from there
  7. Now in command, type the following and press the Enter key
    net user Administrator /active:yes
    net user admin active
  8. After entering the command, reboot your computer and you can get access to the hidden administrator account

BIOS Reset

Sometimes the logging in error could also appear if the XMP profile of the memory modules are modified. Modifying the values can cause signalling errors which disrupts the timing of the operations. 

This can cause multiple instructions to be sent out during a single instance which can in turn cause the log in error to appear. To change this, users will need to reset the BIOS to disable the XMP and any overclocking settings.

  1. If your device is on, restart it and repeatedly press the BIOS key. You can find the BIOS key information on the device manual or the manufacturer support site
  2. After the BIOS is open, search for labels named “Default” or “Setup Defaults”
    bios reset
  3. Confirm the setting and then reboot your device

Another method is to remove and reinsert the CMOS battery from the motherboard to reset the BIOS. Make sure to disconnect any power cables and to turn off your device before attempting this method.

These two approaches should help you access safe mode. Now that you are inside safe mode, getting your system back should be easy with these fixes.

System Scan

Inside Safe mode, the first solution would be to perform a system scan and try repairing any corrupt or missing system files.

  1. Press Windows key + R to open Run and type cmd
    run cmd
  2. Now, type  DISM /Online /Cleanup-Image /CheckHealth to perform a DISM scan
    dism scan
  3. Again, on the console type sfc /scannow to perform a system scan
    sfc scan
  4. Let the process finish and then restart your device normally.
  5. Check whether if you can log in successfully

Create a Temporary Profile

A temporary/guest profile will allow access to the system from where you can fix corrupt system files, change system settings and perform account related fixes. To create a temporary/guest profile, firstly boot into safe mode with networking. 

  1. Press the Windows key + I to open Settings
  2. Click on the Accounts tab and scroll down to select Other Users
    other users
  3. Click on the Add account button
    add account
  4. To create a guest account, click on I don’t have this person’s sign-in information
    person info
  5. Click on Add a user without a Microsoft account 
    local account
  6. Enter a username for the account. You can choose to add password or not
    create user
  7. To finish, click on Next and then reboot your device

On the sign in screen, you can now gain access to the system from the newly created account. You can also now copy the user profile from your inaccessible account to the new one. This allows backup and transfer of selected account’s system preferences, downloads, desktop files and any application settings. 

Beware that copying a selected user profile to a new one will overwrite the current user profile entirely.

Disable Group Policies 

Note: This fix is not applicable for users having Windows Home version installed in their devices.

If your device has some group policies set up, this can cause the error to appear as well. To fix this, you will need to disable Windows Logon Settings from the Group policy editor. You will need to perform the fix using an account that has administrator privileges.

  1. In safe mode, Press the Windows key + R to open Run
  2. Type gpedit.msc to open the Local group policy editor
    run gpedit
  3. In the directory tree, click on
    Computer Configuration> Administrative Templates> Windows Components> Windows Logon Options
    display information logon
  4. In Windows Logon Options, open the “Display information about previous logons during user logon” setting
    disable group policy
  5. Inside, click on Disable to disable the setting. 
  6. Click on Apply and OK to save changes

Normally, it will take around 90 minutes and a logon (for user settings) or a restart (for system settings) to update the group policy. If you want to implement the changes immediately, 

  1. Open Run again and type powershell to open Windows PowerShell
  2. On the console type gpupdate /force to update the group policy 
    gpupdate
  3. Close the console and restart your device to apply the updates 

Another policy you will need to disable is the “Accounts: Block Microsoft Accounts”. 

  1. In the Group policy editor navigate to the following directory
    Computer Configuration> Windows Settings> Security Settings> Local Policies> Security Options
    block microsoft account
  2. Search for policy labelled “Accounts: Block Microsoft Accounts”
  3. Double click to open the policy and then click on the Local Security Setting tab
  4. From the drop down menu, select “This policy is disabled”  
    policy disabled
  5. Save and Apply settings to make changes
  6. Reboot your device and check if the login works 

Change Registry Settings

Note: We recommend users to backup their registry before attempting this fix.

The user login error could also appear if the ProfileImagePath key in the Registry becomes corrupt or if its value is changed.  To fix this error, users will need to change the value data of the SID (Security identifier) from the Registry.

To check the SID of the affected account, boot in safe mode 

  1. Open command prompt and type the following
    wmic useraccount get name, sid
    sid
  2. From the list, note down the affected user’s SID
  3. Now open Run and type regedit
  4. On registry, navigate to the this directory
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    profile list
  5. From the ProfileList key, open the subkey that corresponds with the previously noted SID
  6. Inside the SID key, if there are multiple SID with same value, search for the value that does not have the .bak extension and then delete it
  7. Remove .bak extension from the value that has it
  8. Open the profile key and check the State and RefCount entries. Make sure that their values are set to 0.
    value data

If you cannot find the entries, you will need to create them  

  1. Right click on an empty space and select
    New> DWORD (32 bit value)
    dword value
  2. Now, name the values as State or RefCount (whichever is missing) 
  3. Set their values to 0 and then restart the system

Reset Device

By resetting, you will be reverting the device back to the state it was after it left the factory line i.e. all the settings, modifications and preferences are reverted and set to default. 

  1. Open Settings and on the System tab, click on Recovery
    recovery settings
  2. Click on Reset PC button
    reset pc
  3. On the new window, choose whether to keep files or remove them
    choose reset type
  4. Follow the prompts and wait until the process completes
  5. After resetting, check and see if you can log into the device
fix
Grishm Devkota
  • LinkedIn

Grishm holds a computer science degree and is currently employed as a Tech writer at TechNewsToday. He specializes in topics related to Windows OS, iOS and PC hardware. You can contact him at grishm@technewstoday.com

Related Posts

how to delete win backup files

How to Delete Backup Files on Windows

January 29, 2023
how to reset password on hp laptop

How to Reset Password on HP Laptop

January 29, 2023
Reset BIOS password

4 Ways to Reset BIOS Password

January 28, 2023
how to make windows 11 look like windows 10

How to Make Windows 11 Look Like Windows 10

January 25, 2023
how to find hidden folder in laptop

How to Find Hidden Folder in Laptop

January 24, 2023
mouse not showing in chrome

Mouse Not Showing in Chrome? Here’s How to Fix It

January 25, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how long does a cmos battery last

How Long Does a CMOS Battery Last

January 25, 2023
thunderbolt vs usb c

Thunderbolt Vs USB C: What’s the Difference

January 25, 2023
how to find hidden folder in laptop

How to Find Hidden Folder in Laptop

January 24, 2023
You may also like
how-to-connect-headphones-to-tv

5 Ways to Connect Headphones to TV

January 29, 2023
connect-airpods-to-samsung-tv

How to Connect AirPods to Samsung TV? (Step-by-Step Guide)

January 29, 2023
AIO Pump Not Working

AIO Pump Not Working? Here’s How to Fix It

January 29, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.