SHORTNAME ISSUES WITH CITRIX XENAPP AND CITRIX PVS (Repost from My Virtual Vision)

source: MY VIRTUAL VISION

I was working on a new Citrix PVS image for one of my current projects and the test before running the P2PVS.exe were good, all my apps worked like they should so I prepped the server for the imaging (preparing antivirus, last PVS optimizations and a full pre-scan of my VM) and I ran P2PVS.

After a successful P2PVS I ran into a couple of problems: The RES Workspace Manager Service didn’t start and one of the key components of this image (an outlook plugin) gave a weird error that didn’t show up at first. I did some troubleshooting and found that the RES Software WM Service couldn’t start because the executable wasn’t found, I could browse to the directory and the res.exe was there. Luckily Barry Schiffer came up with the idea to check the shortnames which are used to start the RES WM Service and a lot of software still use the shortnames for the Office folder as well so apparently we had shortname issues with Citrix XenApp and Citrix PVS.

I soon realized that I used the XenApp 6.x (Windows 2008 R2) – Optimization Guide to optimize the image and one of the recommendations was to disable the NTFSDisable8dot3NameCreation:

ctx_83

Note: Even in 2012 some applications still rely on 8.3 names. Scanning the for commonly used director names (i.e. C:PROGRA~1) can help revealing affected programs.

After changing this value back to “0” we were able to run a successful P2PVS and the errors in RES Workspace Manager and the key application were gone. Here’s somebackground info on why to disable shortnames and how to check this from the command line.

To disable/enable 8.3 naming convention, users can issue the set command as follows:

C:Windowssystem32>fsutil 8dot3name set /?
usage : set [0 through 3] | [<Volume Path> 1 | 0]

I also received this MS page on 8.3 name creation with the following sample commands

The following command disables 8dot3 name creation on all volumes:

fsutil 8dot3name set 1

The following command disables 8dot3 name creation on the C drive:

 fsutil 8dot3name set C: 1

Kees Baggerman

Kees Baggerman is a senior performance and solution engineer for desktop and application virtualization solutions at Nutanix. Kees has driven numerous Microsoft and Citrix, and RES infrastructures functional/technical designs, migrations, implementations engagements over the years.

One comment

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s