Monday, March 4, 2013

Citrix PVS - Encountered an improper argument

While reverse imaging a vDisk it errors with "Encountered an improper argument"

While trying to reverse image a vDisk, the conversion from volume (C:\) to volume (G:\), failed halfway through with the error, "Encountered an improper argument"

You see the error when you open the XenConvert Log. You can locate the XenConvert log in:
  • C:\Program Files\Citrix\XenConvert\XenConvert.txt 
So what does this error mean? It means that XenConvert does not like one (or more) of your directory names or naming convention. Chances are, you have a directories that are two long. To see which directories have issues, you can use an application called "Long File Path Lister"

The application is very easy to use. Just download it and click the "Search" button.

Below, you can see that I have an issue with:
  • C:\Program Files (x86)\SAP BusinessObjects\InstallData\InstallCache\

So what now? You can exclude the problem directories and copy them off, so that you can copy them back into your vm after you v2v them back into PVS. I have decided to zip the InstallCache directory so that it no longer technically exists and will not cause any issues. That in return will let me to v2v as much as I need to, and then when I am finished, I will unzip the directory.

Excluding directories from the XenCovert Process

To exclude directories from the XenConvert process, you will need to add the directory under the "exclude" section in the XenConvert.ini file. That file is located at:
  • C:\Program Files\Citrix\XenConvert\XenConvert.ini 
Below is what it looks like. After adding the problematic directories, all you need to do is run XenConvert.

After running XenConvert now, I receive a "Conversion was successful!"

Where’s my enabled Users?

Where’s my enabled Users? I’m going through and fine tuning our Proodpoint Spam solution and noticed one of the filters needs to be updated....