App Layering: Agent installation fails on French Windows, “A failure occured when executing ‘netsh'”

After the installer produces its error, the Agent is still installed. It’s running and functional, except it cannot communicate on port 8016. What you need to do is manually run the two commands that failed.

Run CMD as Administrator, and run this command:

netsh http add urlacl https://+:8016/ user="Tout le monde"

Then we need to assign an SSL certificate to the port: The following document describes how to locate a certificate on a machine and retrieve it’s thumbprint:

https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-configure-a-port-with-an-ssl-certificate

We need the one in Certificates – Local Machine -> Personal -> Certificates called “UnideskAgent”. Double-click on the certificate, click Details, scroff down to the ThumbPrint, and copy it. Paste it into the command and remove spaces. Our AppId is always the one below; don’t forget the curly braces.

netsh http add sslcert ipport=0.0.0.0:8016 certhash=THUMBPRINT appid={bf28cef2-7642-4294-b3d3-a68c2e971031}

You will also need to manually register this Agent service with the ELM so it is visible in the PVS Connector.

https://www.unidesk.com/support/learn/4.3.0/vmware_vsphere/itoc_2_install_vs4/get_started_deploy_unidesk_elm_vs4#Manual_Register

Basically, run CMD As Administrator. Then:

CD C:Program Files (x86)CitrixAgentCitrix.AppLayering.Agent.Service.exe register /i /e:IP_Address_of_ELM /u:Administrator

Then the agent should appear in the Create Connector page.

Related:

  • No Related Posts

Leave a Reply