Provisioning Services PVSDataCollector with 7.8/7.9–“Illegal Characters in Path”

CTX136079 includes a download link for PVSDataCollector  This utility is used to collect information about the Provisioning Services Farm and is often required when dealing with support.  Unfortunately, with 7.8 and 7.9 there is an issue – upon running the utility, you receive an error and it does not function. 

************** Exception Text **************
System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.GetDirectoryName(String path)
   at PVSDataCollector.frmMain.GetPVSVersion()
   at PVSDataCollector.frmMain.frmMain_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Fortunately, an enterprising soul put in a support case about the issue after discussion over at the Citrix discussion forums and found the resolution.

This Issue is due to the following Registry Value being enclosed in double quotes.

HKLM\SYSTEM\CurrentControlSet\services\StreamService Value: ImagePath
“C:\Program Files\Citrix\Provisioning Services\StreamService.exe” <– This should not be contained in double quotes.

Once you remove the quotes and test, it should be working as expected.

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.