ササキログを拝見したところ、IISに問題があるようです。C:\WINDOWS\System32\inetsrvフォルダ内の一部の実行ファイルが欠落しており、エラー2が発生しています。
-------------------
, Info CSI 00000241 Calling generic command executable (sequence 3): 'C:\WINDOWS\System32\inetsrv\iissetup.exe'
CmdLine: '"C:\WINDOWS\System32\inetsrv\iissetup.exe" /install NetFxEnvironment'
2023-07-14 20:24:57, Info CSI 00000242 Failed to launch generic command 'C:\WINDOWS\System32\inetsrv\iissetup.exe':CreateProcessW failed with error 2; giving up after 5 retries.
2023-07-14 20:27:15, Error CSI 00000280 (F) Generic Command ErrorCode: 80004005 Executable: iissetup.exe ExitCode: N/A Phase: 38 Mode: Install (first install) Component: Microsoft-Windows-WAS-NetFxEnvironment-GC, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS[gle=0x80004005]
-------------------
以下のコマンドを実行してみてください:
dism /online /cleanup-image /restorehealthsfc /scannow
それでも解決しない場合は、IISコンポーネントと.NET Frameworkコンポーネントを完全にアンインストールしてから再インストールしてみてください。