天天看點

2144108526 0x80338012:修複用戶端無法連接配接到請求中指定的目标

作者:勞資丶蜀道三

錯誤“用戶端無法連接配接到請求中指定的目标”的原因

以下錯誤消息清楚地表明 WinRM 服務未在用戶端(Windows 11 裝置)上運作和配置。

WSManFault Message = The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig".           
2144108526 0x80338012:修複用戶端無法連接配接到請求中指定的目标

在 Windows 用戶端上啟用 WinRM

WSManFault Message Number: -2144108526 0x80338012 的解決方案是啟用 WinRM。要在 Windows 上啟用和配置 WinRM 服務,隻需運作以下指令即可,因為用戶端 PC 上預設未啟用該服務。

winrm quickconfig           
2144108526 0x80338012:修複用戶端無法連接配接到請求中指定的目标

請輸入字母“Y”接受如下所示的以下更改。這将確定服務啟動、啟用 WinRM 防火牆例外等。

2144108526 0x80338012:修複用戶端無法連接配接到請求中指定的目标

PowerShell 遠端指令

或者,您也可以使用“ Enable-PSRemoting –Force ”指令來啟用服務。

繼續閱讀