XenServer powershell pssnapins not loading correctly

The other day I encountered a problem starting the  XenServer PSSnapins.

The powershell error message told me “the Windows Powershell snap-in ‘XenServerPSSnapIn’ is not installed on this computer”

The explanation for this is quite easy: the XenServer powershell cmdlet’s are not(!) available for x64 platform. The batch file starting the XenServer Powershell Snapin starts powershell.exe using the C:\windows\system32… directory. Although this is valid on x86 platforms the directory has to be fixed on 64Bit platforms.

Simply Change C:\windows\system32\windowspowershell.. to C:\windows\SysWow64\windowspowershel… in “C:\Program Files (x86)\Citrix\XenServerPSSnapIn\XenServerPSSnapIn.bat”.

Hopefully Citrix will adjust the installer to check for the correct platform in future releases.

Leave a Reply

Required fields are marked *.


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>