
Windows 11 IoT Enterprise LTSC 2024 Deployment Guide
Post-install PowerShell script for Citrix
#Give sleep to install the plugins required
Start-Sleep -Seconds 30
# 1. Add or modify AddScanCodes value
$icaClientPath = "HKLM:\SOFTWARE\Wow6432Node\Citrix\ICA Client"
$propertyName = "AddScanCodes"
$propertyValue = 1
Try {
If (Test-Path $icaClientPath) {
Set-ItemProperty -Path $icaClientPath -Name $propertyName -Value $propertyValue -Type DWord
} Else {
New-Item -Path $icaClientPath -Force | Out-Null
New-ItemProperty -Path $icaClientPath -Name $propertyName -Value $propertyValue -PropertyType DWord
}
} Catch {
Write-Host "Error setting AddScanCodes: $_"
}
# 2. Remove specified keys from Run path
$runPath = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run"
$keysToRemove = @("ConnectionCenter", "Redirector")
Foreach ($key in $keysToRemove) {
Try {
If (Get-ItemProperty -Path $runPath -Name $key -ErrorAction SilentlyContinue) {
Remove-ItemProperty -Path $runPath -Name $key
}
} Catch {
Write-Host "Error removing $key $_"
}
}
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\