Fix: Command execution failed: The supplied handle is invalid on Lync 2010 Edge

When deploying a Lync Edge setup and during the ‘Setup or Remove Lync Server Components’ you might get the error:

Command execution failed: The supplied handle is invalid. This can happen when trying to set an ACL on an anonymous kernel object.

This could be because the name of the computer/server exceed the 15 characters since the setup uses the NETBIOS name rather than the FQDN. To fix this, change the computer name to less or equal to 15 characters. Then you have reconfigure Lync Edge server by doing the below:

– Change computer name to less or equal to 15 characters and restart
– Remove any installed application on the Edge server
– On the Front-End Server open the Topology builder
– Remove the Edge Pool for media from the Standard or Enterprise Front End node
– Remove the Edge Pool you created under the Edge Pool node
– Publish Topology
– Re-Export the configuration with Export-csconfiguration –filename c:\topology_export.zip
– Copy topology_export.zip on Edge server
– Re-start Setup

That should fix the issue

Leave a Reply

Your email address will not be published. Required fields are marked *