Windows 11/10 “Choose your keyboard layout” Loop

Published by Nyau Wai Hoe - Updated on

The issue at hand occurs after applying a Windows update in Windows 11 or Windows 10. Your computer boots into a blue screen requesting you to choose your keyboard layout. Despite multiple restarts, you remain stuck at the same screen.

Upon selecting a keyboard layout, you are presented with several options, such as:

Selecting Windows Rollback results in a loop, causing the computer to return to the keyboard layout selection screen. Choosing the latter two options leads to a black screen after login, with no icons visible, but a functioning cursor.

In the initial blue screen, you can also access Windows startup troubleshooting tools, such as command prompt, system restore, Windows reset, startup repair, and rollback to a previous version. Before attempting any of these options, try the workaround detailed below.

How to fix “Choose your keyboard layout” loop or black screen after login

The issue is likely caused by a compatibility problem between Avast antivirus and the Windows Update. Removing Avast from affected computers resolves the loop and allows normal booting into Windows 10/11.

To remove Avast without accessing your Windows desktop, follow these steps using another computer and a USB flash drive or an external hard drive:

  1. On a separate computer, visit this page to download the Avast uninstaller.
  2. Save the uninstaller to a USB flash drive or external hard drive.
  3. On your affected Windows computer, at the “Choose your keyboard layout” blue screen, select a language.Windows 11/10 choose your keyboard layout loop
  4. Choose “Use another operating system.”
  5. When prompted to select Windows Rollback or Windows 11 or 10 on volume [x], pick the second option (Windows 11/10 on volume 3 or 2).
  6. Enter your account username and password to sign in to Windows (if necessary).
  7. As the desktop attempts to load, close any error messages that appear.
  8. When the taskbar appears on the Windows desktop, right-click it and select Task Manager. If the taskbar is not visible, press Win+R to open the Run window, type “taskmgr,” and click OK.Open task manager
  9. If Task Manager is in simplified mode, click “More details.”
  10. Insert the USB flash drive containing the Avast uninstaller into the computer.
  11. In Task Manager, click File, then “Run new task.”
  12. Click “Browse” and navigate to “avastclear.exe” (the Avast uninstaller) on your USB flash drive.Avast uninstall
  13. Follow the on-screen instructions to uninstall Avast. Run Avast uninstaller to fix Windows rollback loop
  14. When prompted to run in Safe Mode, press “Yes” to automatically boot into safe mode. While in Safe Mode, repeat steps 8-12 to run the uninstaller again.Uninstall Avast to fix Windows 11/10 update black screen

After uninstalling Avast, check if the issue is resolved and whether you can access Windows. If you are still stuck in the loop or experiencing other problems, follow these steps:

  1. Obtain a blank USB flash drive or use the one you’ve used previously.
  2. On another computer, visit this page and click “Download tool now“. For Windows 11, visit here instead.Install Windows 10
  3. Run the tool on the functioning computer to create a Windows 11 or 10 installation USB drive. Ensure you select the appropriate version (64-bit or 32-bit) that the problematic computer is using.
  4. Insert the Windows installation drive into the affected computer and follow steps 3-8 below.
  5. In Task Manager, click “File” and select “Run new task.”
  6. Click “Browse” and navigate to the Windows installation drive. Run the setup.exe file located on the drive.Run Windows 10 setup
  7. When prompted, choose “Upgrade Windows.” Deselect the options for “Check for new updates” and “Help make this version better.”
  8. Follow the remaining on-screen instructions to update Windows. Once the process is complete, restart your PC. It should boot normally and function properly.

If the solution above does not work, consider exploring other options on this page: Windows Rollback Loop After Windows Update.

For those seeking an immediate return to Windows, consider rolling back the Windows update. If rollback is unavailable, use system restore to revert Windows to a previous date, provided there is a saved restore point or recovery drive. If not, reset Windows 11/10 to factory default settings. Should the reset fail, reinstall Windows.

Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link