0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windows11で勝手に追加されるen-USキーボードを自動削除

Last updated at Posted at 2025-02-04

背景

Windows11でGoogle日本語入力を使っているのですが、しばらく使っていると勝手にen-USキーボードが追加・適用されて、キーボード配列が変わってしまうのです。

これが起きないようにする手法はわからなかったのですが、PowerShellで削除するコマンドがわかったので、対症療法ですが載せておきます。
起きないようにする方法をご存じの方はぜひとも教えてください。

危険なやり方かもしれないので、使う方は自己責任で。
やりたい方は定期実行など好きに使ってください。

コマンド

このドキュメントとかを参考にしてください。

Remove-KeyboardExceptJa.ps1
# 一時的に英語を追加
$langlist = Get-WinUserLanguageList
$langlist.Add("en-US")
Set-WinUserLanguageList $langlist -Force

# そして再び英語を削除
$langlist = Get-WinUserLanguageList
$langlist = $langlist | Where-Object LanguageTag -ne 'en-US'
Set-WinUserLanguageList $langlist -Force
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?