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


CTX136079 includes a download link for PVSDataCollector 2.5.2.1.  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 Reply