Allow Keyboard Filter in remote sessions
Supported on: At least Windows 11 Version 24H2
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System |
|---|---|
| Registry key | HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System |
| Value name | KbFilterAllowInRemoteSessions |
| Enabled writes | 1 (REG_DWORD) |
| Disabled writes | 0 (REG_DWORD) |
What it does (vendor explanation)
Keyboard filter typically only applies to local sessions.
Enabling this setting will allow the keyboard filter to be applied to users that connect to the computer by remote sessions.
Group Policy path: Computer or User Configuration > Administrative Templates > System > Keyboard Filter > Allow Keyboard Filter in remote sessions
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'KbFilterAllowInRemoteSessions' -Value 1 -PropertyType DWord -ForceGroup Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".