PVS 1912 : error while creating vdisk image :"failed to connect to server verify server firewall ports 54321"

PVS 1912 : error while creating vdisk image :"failed to connect to server verify server firewall ports 54321"

book

Article ID: CTX296968

calendar_today

Updated On:

Description

Image wizard fails to connect to the PVS server and fails with error :"failed to connect to server verify server firewall ports 54321".

Resolution

  • Set SPN PVSSoap/pvs-server-fqdn using the following command
"setspn -a  PVSSoap/pvs-server-fqdn PVS-Soap-Service-User"
  • Make sure the Soap Service user has the permissions to write Service Principal Names. Soap Service usually sets SPN during service start if the user has right permissions.  

Problem Cause

User account used for connecting Imaging Wizard was part of "Protected user group". "Protected user group" are not allowed to connect via NTLM authentication and Kerberos Authentication was failing for the service. Kerberos authentication failed since the PVS Soap service User did not have SPN: PVSSoap/pvs-hostname set.  
   

Additional Information

  • https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn466518(v=ws.11)
  • https://docs.citrix.com/en-us/provisioning/7-15/install/pre-install.html