0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Windows 11のメモ帳の枠が白くなってしまう問題の修正

Last updated at Posted at 2023-07-30

概要

以下のような、Windows 11のメモ帳の枠が白くなってしまう問題の修正方法について書きます。

スクリーンショット 2023-07-30 094938.png

0.原因

Windows 11環境にて「Meiryo UIも大っきらい!!」というフォント変更ソフトにて変更したところ
同現象が発生した ※Advanced System Font Changerでも同現象確認

フォント変更によりウィンドウフレームのボーダーラインのサイズに関するレジストリ
"PaddedBorderWidth"が既定値-60から0になったことによるもの
レジストリ場所:HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics

1.問題修正

以下をPowerShellを開き入力後Enter、レジストリを修正する ("PaddedBorderWidth"を規定値に戻す)

Set-ItemProperty -LiteralPath  "HKCU:\Control Panel\Desktop\WindowMetrics" -Name PaddedBorderWidth -Value -60

修正後、PCを再起動する

2.修正後メモ帳画面

メモ帳の枠が白くなってしまう問題が修正された。
スクリーンショット 2023-07-30 095159.png

3.(おまけ) 試してNGだった方法

海外のMSコミュニティにて同現象があり、以下の方法を試してみましたが結果として直りませんでした。
https://answers.microsoft.com/en-us/windows/forum/all/notepad-dark-mode-bug/5d86b4a9-cf5d-4554-9b57-0fd4b5638e2b
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth
DISM.exe /Online /Cleanup-image /startcomponentcleanup

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?