Disable hardware graphics acceleration GPU in Internet Explorer and Office

How to disable hardware graphics acceleration in Internet Explorer and MS Office using registry

Src:
http://shawnbass.com/psa-software-gpu-can-reduce-your-virtual-desktop-scalability/

Registry entries:

IE 9, 10, 11:

Key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main

Value:   UseSWRender

Type:  REG_DWORD

Data: 0x1

Office 2010:

Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Gfx

Value: DisableHardware

Type:  REG_DWORD

Data:  0x1

Office 2013:

Key:  HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Graphics

Value:  DisableHardwareAcceleration

Type:  REG_DWORD

Data: 0x1

Citrix Receiver and Online Plugin with Pass-Through Authentication

For Citrix online plugin:
CitrixOnlinePluginFull.exe /silent ADDLOCAL="ICA_Client,PN_Agent,SSON" ENABLE_SSON="yes" ENABLE_KERBEROS=Yes SERVER_LOCATION="http://citrix_wi_pnagent_site"

http://www.jasonsamuel.com/2012/01/05/how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver/

For Receiver:
CitrixReceiver.exe /includeSSON
CTX133982 How to Manually Install and Configure Citrix Receiver for Pass-Through Authentication

CTX368624 Troubleshooting Citrix Pass-Through Authentication

Citrix client error 2320 The lockdown requirements in force may be conflicting

Error number 2320 with message:
Citrix online plug-in Configuration Manager: No value could be found for (AllowHotkey) that satisfies all lockdown requirements. The lockdown requirements in force may be conflicting.

To fix this error just change the registry as below:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions
Name: EnableLockdown
Data: 1 -> 0

Citrix XenApp – List servers publishing no applications

List servers and number of published applications.

MFCOM/.vbs:
set farm = CreateObject("MetaFrameCOM.MetaFrameFarm")
farm.Initialize(1)
for each server in farm.Servers
if server.Applications.Count = 0 then
WScript.Echo server.ServerName & " " & server.Applications.Count
end if
next

PowerShell:
Add-PSSnapin Citrix.XenApp.Commands
Get-XAServer | Select ServerName, @{n='Applications'; e={$_ | Get-XAApplication | Measure-Object | Select -Expand Count}}

Issues with Google Chrome published in XenApp 6.5

In case of your Google Chrome published in Citrix XenApp 6.5 is unstable, crashed or cannot open any site (even chrome://settings etc.) please follow these steps:

– add –allow-no-sandbox-job parameter to the command line in published application’s properties:
“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –allow-no-sandbox-job

– add chrome.exe to below registry entries (create them if they don’t exist):

For the 32-bit version

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook
Value Name: ExcludedImageNames
Type: REG_SZ
Value: chrome.exe

For the 64-bit version

Keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CtxHook
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CtxHook
Value Name: ExcludedImageNames
Type: REG_SZ
Value: chrome.exe

Tested with Chrome 43.0.2357.130 (Official Build)

Ref:

Google Chrome Becomes Unresponsive when Started as Published Application
http://support.citrix.com/article/CTX132057

How to Disable Citrix API Hooks on a Per-application Basis
http://support.citrix.com/article/CTX107825

 

List sessions in Citrix XenApp 4.5 sample script

<package><job id="Discovery"><reference object="MetaFrameCOM.MetaFrameFarm"/>
<reference object="MetaFrameCOM.MetaFramePolicy"/><script language="VBScript">
Dim theFarm : Set theFarm = WScript.CreateObject("MetaFrameCOM.MetaFrameFarm")
theFarm.Initialize(MetaFrameWinFarmObject)
Wscript.Echo "Sessions on a farm: " & theFarm.FarmName


For Each aSession in theFarm.Sessions
if aSession.AppName <> "" then
Wscript.Echo aSession.SessionName & " " & aSession.AppName & " " & aSession.ClientName
end if
Next
</script></job></package>

Save the script as a .wsh file and run using cscript:
cscript scriptname.wsh