Automatically adding unnecessary layout when opening a Notepad

Артем Корніяш 0 Reputation points
2025-10-18T02:10:35.4933333+00:00

Recently, after some system updates, when launching certain programs (e.g., Microsoft Notepad), a third keyboard layout (Ukrainian) is automatically added and does not disappear after closing the program. My system interface is Ukrainian. I also installed two language packs (Ukrainian and Polish). I have two keyboard layouts installed (Polish programming and Ukrainian extended), which are the default layouts in these language packs.

Adding a regular truncated Ukrainian layout to this makes no sense. It's just annoying. To remove this additional layout, you need to go to the language pack settings, install it and remove it again, or restart your PC. This is not an effective solution, because this layout reappears again when you open Notepad.User's image

Windows for home | Windows 11 | Input and language
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Jhun Buala 2,745 Reputation points Independent Advisor
    2025-10-18T05:52:32.9+00:00

    Hi Артем Корніяш,

    Good Day. I hope everything's well. Im Jhun an independent advisor, let's try to do some fix arounds on your keyboard layout problem.

    First, through Registry editor. Press "Win+R" and type "regedit" run the registry editor. Navigate to:

    "HKEY_USERS.DEFAULT\Keyboard Layout\Preload" and/or "HKEY_CURRENT_USER\Keyboard Layout\Preload".

    Check for entries like "1 REG_SZ 00000422 (Ukrainian)" or "2 REG_SZ 00020415 (Polish Programming)".

    Delete the unwanted "00000422" (plain Ukrainian) entry -but keep your "Ukrainian Extended" (00020422) and Polish layouts. Reboot your PC and check.

    NOTE: ALWAYS EXPORT THE KEY REGISTRIES INCASE YOU NEED TO RESTORE THEM.

    Second Option: You can remove the layout through "Windows PowerShell". Run Windows PowerShell as Administrator and type the code:

    "Get-WinUserLanguageList"

    Then find the unwanted layout and remove it:

    $LangList = Get-WinUserLanguageList

    $LangList[0].InputMethodTips.Remove("0422:00000422")

    Set-WinUserLanguageList $LangList -Force

    Replace the "0422:00000422" with the exact code of the extra layout if different. You can check all the installed layouts with:
    Get-WinUserLanguageList | Select-Object -ExpandProperty InputMethodTips

    Option 3: Disabling automatic input method syncing option: To do this, go to "Settings" > Time and Language > Language and Region > Advance keyboard settings > Turn off the following:

    “Let me set a different input method for each app window” and “Use my Windows display language as the default input method”.

    Then add again only the wanted layouts.

    Last option: preventing windows from adding layouts automatically through Group Policy:

    Open gpedit.msc > Go to User Configuration > Administrative Templates > Control Panel > Regional and Language Options

    Enable:

    Restrict selection of languages” and/or “Turn off automatic keyboard layout changes

    Reboot to apply.

    I hope the 4 options above has the solution to your problem.

    Regards,

    Jhun


  2. Pauli O 14,550 Reputation points Volunteer Moderator
    2025-10-18T06:36:51.16+00:00

    This bug is related to Notepad version 11.2507.26.0 which was released on August. Microsoft have already fixed that issue in version 11.2508.28.0 which is already released to insiders for testing before release to public Windows 11.

    Feedback hub: https://aka.ms/AAxr7j8

    User's image


  3. Jhun Buala 2,745 Reputation points Independent Advisor
    2025-10-18T11:46:19.2833333+00:00

    Hi Артем Корніяш,

    While we wait for the next update hotfix to be released, as of the moment let's try to pursue the method 1, where the registry edit reverts.

    Do this additional step and let's see if it will stop reverting the registry back to "00000422"

    Process 1. Forcing the default input profile via powershell. Run PowerShell as Administrator and paste this block:

    # Force the system to use Ukrainian Extended (00020422) as the default for uk-UA

    $LangList = Get-WinUserLanguageList

    foreach ($lang in $LangList) {

    **if ($lang.LanguageTag -eq "uk-UA") {**
    
        **$lang.InputMethodTips.Clear()**
    
        **$lang.InputMethodTips.Add("0422:00020422")**
    
    **}**
    

    }

    Set-WinUserLanguageList $LangList -Force

    # Reapply current language as default display language to overwrite system template

    Set-WinUILanguageOverride -Language uk-UA

    Set-WinSystemPreferredUILanguage -Language uk-UA

    Then Reboot your system and test it again.

    Process 2. If process 1 didnt work lets try stopping the windows from writing to .DEFAULT by locking that key's permission.

    Run "regedit" as Administrator. Navigate to: "HKEY_USERS.DEFAULT\Keyboard Layout"

    Right Click > Preload > Permissions > Click "Advanced" > For SYSTEM and Administrators, set "Read" permission only (remove "Full Control") > Apply > OK > OK.
    Windows can read the layout for new sessions, but cannot rewrite it.

    After this, set your preferred values manually:

    1 REG_SZ 00020422

    2 REG_SZ 00020415

    Then reboot and test again.

    Microsoft engineers confirmed this is a "TextInputHost regression" and plan to fix the .DEFAULT overwrite behavior in an upcoming "Windows 11 25H2 cumulative update". For now, Process 1 (PowerShell reset) or Process 2 (permissions lock) are the only reliable, lasting workarounds for Home edition users. Let's hope this will work this time.

    Regards,
    Jhun


  4. Jhun Buala 2,745 Reputation points Independent Advisor
    2025-10-19T03:22:04.3933333+00:00

    Hi Артем Корніяш,

    You've done everything correctly. I think this is a confirmed Windows update bug. Im sure Microsoft is in the fixing/testing stage right now. The fix should reach stable Windows update withing the next cumulative patches. As of now just keep your Windows update enabled. Once your system patched the update, it will correct the bug. If it really annoys you just restart the TextInputHost.exe in the task manager. Ctrl+Shift+Esc > Details Tab > Choose the TextInputHost.exe and End task. Windows will restart it instantly and the layout usually disappears for the current session.

    Rest assured that this will be fixed once update is being released.

    Regards,

    Jhun

    0 comments No comments

  5. Jhun Buala 2,745 Reputation points Independent Advisor
    2025-10-19T03:30:28.0933333+00:00

    Hi Артем Корніяш,

    Incase you want to download the updated Notepad separately, you can visit the Microsoft apps store.

    User's image

    Just scroll down a bit so you can review its additional information.
    User's image

    Regards,

    Jhun


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.