How to solve the Issue of Windows 10 logging off immediately after Logging In

Configurare noua (How To)

Situatie

1. Preliminary Checks

Check for Physical Issues

  1. Keyboard or Mouse Issues: Ensure no key is stuck on the keyboard, and the mouse isn’t malfunctioning.
  2. Power Supply: Confirm that the power supply is stable and the battery isn’t failing (for laptops).

2. Basic Troubleshooting Steps

Safe Mode Boot

  1. Boot into Safe Mode:
    • Restart your computer.
    • Press F8 (or Shift + F8) during startup to enter the Advanced Boot Options menu.
    • Select Safe Mode.

If you successfully log in, the issue might be due to a startup program or driver.

3. Advanced Troubleshooting Steps

A. Check and Remove Problematic Startup Programs

  1. Boot into Safe Mode.
  2. Press Ctrl + Shift + Esc to open Task Manager.
  3. Go to the Startup tab.
  4. Disable all startup items.
  5. Restart your computer and log in normally.
  6. If you log in successfully, re-enable the startup items one by one to identify the problematic program.

B. Check User Profile Issues

  1. Boot into Safe Mode.
  2. Press Win + R, type regedit, and press Enter to open the Registry Editor.
  3. Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  4. Look for any duplicate entries or entries with .bak extensions.
    • Delete any profiles that are corrupt or duplicate.
  5. Restart your computer and log in normally.

C. Scan for Malware

  1. Boot into Safe Mode with Networking.
  2. Run a full system scan using Windows Defender or a trusted third-party antivirus program.
  3. Remove any detected threats and restart your computer.

D. Check System Files for Corruption

  1. Boot into Safe Mode.
  2. Open Command Prompt as an administrator.
  3. Type the following command and press Enter:

    cmd

    sfc /scannow
  4. Wait for the scan to complete and follow any on-screen instructions.

4. Registry Fixes

A. Check Shell Value in Registry

  1. Boot into Safe Mode.
  2. Press Win + R, type regedit, and press Enter to open the Registry Editor.
  3. Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  4. Ensure the value of Shell is set to explorer.exe.
    • If it’s not, double-click Shell, change the value to explorer.exe, and click OK.
  5. Restart your computer and log in normally.

5. System Restore

A. Use System Restore

  1. Boot into Safe Mode.
  2. Go to Control Panel > System and Security > System.
  3. Click System protection on the left sidebar.
  4. Click System Restore and follow the prompts to restore your system to a point before the issue started.

6. Advanced Boot Options

A. Use the Windows Recovery Environment (WinRE)

  1. Access WinRE:
    • If Windows fails to start, WinRE should launch automatically.
    • If not, power on the PC and, as Windows attempts to load, press and hold the power button to turn it off. Repeat this process 2-3 times until you see the Preparing Automatic Repair screen.
  2. Select Troubleshoot > Advanced options.
  3. Try the following:
    • Startup Repair: Windows will attempt to fix issues preventing it from starting.
    • System Restore: Restore your system to a previous state.
    • Command Prompt: Run sfc /scannow and chkdsk /f /r commands.

7. Create a New User Account

A. Create a New User Account in Safe Mode

  1. Boot into Safe Mode.
  2. Open Command Prompt as an administrator.
  3. Create a new user account by typing:

    cmd

    net user newusername newpassword /add
    net localgroup administrators newusername /add
  4. Restart your computer and log in with the new account.
  5. If successful, transfer your files from the old profile to the new one.

8. Reinstall Windows 10

If none of the above steps work, you might need to reinstall Windows 10. Make sure to back up your data before proceeding.

A. Reinstall Windows 10

  1. Download the Windows 10 Media Creation Tool from the official Microsoft website.
  2. Create a bootable USB drive.
  3. Boot from the USB drive and follow the on-screen instructions to reinstall Windows 10.

Solutie

Tip solutie

Permanent

Voteaza

(1 din 3 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?