Hotkeys for Desktop viewer
Explanation
This feature allows you to toggle between a full-screen mode and windows-mode in a desktop session. You can now switch to the preferred mode using customized keyboard shortcuts that can be used as hotkeys.
Customize fullscreen toggle hotkeys lets you to select the key combinations that you prefer to use to toggle
Note : This hotkey works independant of "AllowHotKeys" Registry value.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Citrix\ICA Client\THK- Value name
ToggleFullScreenEnabled
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: receiver/Policy_ToggleFullScreen
$k = 'HKLM:\Software\Policies\Citrix\ICA Client\THK'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ToggleFullScreenEnabled' -Value 1 -Type DWord
# Customize fullscreen toggle
# Possible options:
# Shift = Shift
# Ctrl = Ctrl
# Alt = Alt
Set-ItemProperty -Path $k -Name 'FirstKey' -Value 'Ctrl' -Type String
# +
# Possible options:
# Shift = Shift
# Ctrl = Ctrl
# Alt = Alt
Set-ItemProperty -Path $k -Name 'SecondKey' -Value 'Shift' -Type String
# +
# Possible options:
# F1 = F1
# F2 = F2
# F3 = F3
Set-ItemProperty -Path $k -Name 'ThirdKey' -Value 'F1' -Type StringDisable
# Disable: receiver/Policy_ToggleFullScreen
$k = 'HKLM:\Software\Policies\Citrix\ICA Client\THK'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ToggleFullScreenEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": receiver/Policy_ToggleFullScreen
$k = 'HKLM:\Software\Policies\Citrix\ICA Client\THK'
Remove-ItemProperty -Path $k -Name 'ToggleFullScreenEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'FirstKey' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SecondKey' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ThirdKey' -ErrorAction SilentlyContinueOptions (3)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Customize fullscreen toggle:Part_ToggleFullScreen_FirstKey | Drop-down listenum | FirstKey | REG_SZ | Default choice (UI): #1
| ||||||||
| +Part_ToggleFullScreen_SecondKey | Drop-down listenum | SecondKey | REG_SZ | Default choice (UI): #0
| ||||||||
| +Part_ToggleFullScreen_ThirdKey | Drop-down listenum | ThirdKey | REG_SZ | Default choice (UI): #0
|
Application
Citrix Workspace app (Citrix) — October 2026 templates
October 2026 templates from pl4nty/web-admx-tool.