無法啟動 powershell.exe 或使用伺服器管理員

無法啟動 powershell.exe 或使用伺服器管理員

Windows Server Datacenter 2022 用作遠端桌面伺服器。 Powershell 啟動後立即關閉。我可以啟動伺服器管理員,但出現相同的錯誤。如果我想新增或刪除功能,或者如果我想使用伺服器工具,它也會自行關閉。

錯誤訊息

C:\使用者\管理員> powershell.exe

出現意外錯誤。訊息:無法載入檔案或組件「System.Management.Automation,Version=3.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35」或其依賴項之一。該系統找不到指定的檔案。

已經嘗試過:-DISM -SFC /scannow -update .net Framework

相關內容