Citrix Remote PowerShell SDK installation failed with error code 0x80040801

Citrix Remote PowerShell SDK installation failed with error code 0x80040801

book

Article ID: CTX580522

calendar_today

Updated On:

Description

Install or upgrade Remote PowerShell SDK in an environment with restricted internet access might be failed as below.
image.png

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

Download the latest standalone installer package of WebView2 from the following page, then install it manually before installing Remote PowerShell SDK.
https://developer.microsoft.com/en-us/microsoft-edge/webview2/

Problem Cause

Remote PowerShell SDK installing process will detect if the WebView2 has been installed in the machine.
In the environment with internet access, WebView2 can be downloaded and installed automatically.
If WebView2 downloading is blocked because of network restriction, WebView2 needs to be installed manually otherwise Remote PowerShell SDK installation will be failed.