参考YouTubeサイト:https://www.youtube.com/watch?v=OG4Q4F14Uzw

スタートボタンを右クリックして「ターミナル(管理者)」をクリックする。
下記をコピーして貼り付ける。

Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase

「操作は正常に完了しました。」と表示されたら×印をクリックして画面を閉じる。

WinSxSの分析と掃除コマンド

分析:Dism /Online /Cleanup-Image /AnalyzeComponentStore

実行:Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase

【休止状態を止める方法】

実行:powercfg.exe /hibernate off

【プロが解説】Windowsの“アレ”を切ったらPCが急に軽くなりました by パソコン博士TAIKI

WinSxS フォルダーのクリーンアップ(Microsoft Learn)

https://learn.microsoft.com/ja-jp/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder?view=windows-11