How-to disable GPU Hardware Acceleration for Teams in Citrix for all users

In this step-by-step guide I will describe how-to disable GPU Hardware Acceleration for Teams in Citrix for all users. If the Virtual Desktop does not have a GPU/vGPU, Citrix recommends to disable GPU hardware acceleration in Teams (link). This cannot be done by policy or registry but by editing a json-file in the AppData directory.

I will describe in this article how I managed this with a simple Powershell script which you can run at logon.

Preparations

  • Administrator privileges are required
  • User policy needed for placing the startup script

Create or use a user-based policy where you want to use the Powershell script and use the contents of the script below. This script will first check if the json-file is present. If not, the user have never started Teams and the json-file is not present and will therefor not be edited.

$configPath = "$env:APPDATA\Microsoft\Teams\desktop-config.json"
$FileExists = Test-Path $configPath

if ($FileExists -eq $true) {

    $a = Get-Content $configPath | ConvertFrom-Json

    if ($a.appPreferenceSettings -match "disableGpu") {
        $a.appPreferenceSettings.disableGpu = $true
    } else {
        $a.appPreferenceSettings | Add-Member -Name "disableGpu" -MemberType NoteProperty -Value $true
    }

    $a | ConvertTo-Json | Set-Content $configPath
}

Black or grey screen fix for Citrix XenApp/XenDesktop 7.6 on Windows Server 2008R2

In this step-by-step guide I will describe how-to fix a black or grey screen with XenApp or XenDesktop 7.6 and Windows Server 2008R2.

Preparations

  • XenApp/XenDesktop installed
  • Administrator privileges are required

Black or grey screen fix for Citrix XenApp/XenDesktop 7.6 on Windows Server 2008R2

I encountered a black and grey screen on Citrix Xenapp 7.6 on Windows Server 2008R2. I found multiple fixes which worked for me. Try one of these three fixes/workarounds.

Continue reading

How-to Enable Secure XML Traffic on Citrix Delivery Controllers

In this step-by-step guide I will describe how you can enable secure XML traffic on a Xenapp Delivery Controller. After these steps it’s possible to select HTTPS as transport type when adding a Delivery Controller to a store in StoreFront. I have tested this on XenApp Delivery Controller and StoreFront 7.6 FP3.

References

http://support.citrix.com/article/CTX200415

Preparations

  • Delivery Controller and StoreFront servers installed
  • Store on StoreFront server configured
  • WebServer-based certificate or a WebServer-template to request a certificate for your Delivery Controllers
  • Administrator privileges are required

Continue reading