Complete one of the following workarounds to successfully publish Explorer.exe in a New XenApp 6.x Farm Windows 2008 R2 x64-bit:
Workaround 1Use the following code in AutoIt:
Dim $PIDIE$PIDIE = Run( "C:\Program Files\Internet Explorer\IEXPLORE.EXE", @SW_MINIMIZE)Sleep(2000)Run("C:\Windows\explorer.exe H:\")Sleep(2000)ProcessClose($PIDIE)Sleep(2000)Workaround 2Browse to the registry of the affected server and add the following registry key:
HKEY_LOCAL_MACHINESYSTEM\CurrentControlSet\Control\Citrix\Wfshell\TWI
DWord (32bit) – LogoffCheckerStartupDelayInSeconds
Set it to a value of 10.
The setting is active for every subsequent session launched, a restart is not necessary.
Workaround 3Add the following ADM-Template to your XenApp Policy:
CLASS MACHINECATEGORY "Citrix Settings"KEYNAME "SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI"POLICY "Startup Delay"PART "Set delay" NUMERIC REQUIRED SPIN 1VALUENAME "LogoffCheckerStartupDelayInSeconds"END PARTEND POLICYEND CATEGORY