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キーボードを自動削除

Posted at

背景

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

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

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

コマンド

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

Remove-KeyboardExceptJa.ps1

# 言語の一覧を取得
$langlist = Get-WinUserLanguageList
# langlist のうち LanguageTag が ja であるものだけを取得
$langlist = $langlist | Where-Object LanguageTag -e 'ja'
# 変更を適用
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?