{"id":11445,"date":"2026-10-05T19:00:51","date_gmt":"2026-10-05T19:00:51","guid":{"rendered":"https:\/\/cheapwindowsvps.com\/blog\/how-to-use-keyboard-filter-on-windows-to-block-specific-keyboard-shortcuts\/"},"modified":"2026-10-05T19:00:51","modified_gmt":"2026-10-05T19:00:51","slug":"how-to-use-keyboard-filter-on-windows-to-block-specific-keyboard-shortcuts","status":"publish","type":"post","link":"http:\/\/cheapwindowsvps.com\/blog\/how-to-use-keyboard-filter-on-windows-to-block-specific-keyboard-shortcuts\/","title":{"rendered":"How to Use Keyboard Filter on Windows to Block Specific Keyboard Shortcuts"},"content":{"rendered":"<p>In this guide, we&#8217;ll explore how to enable and configure the <strong>Keyboard Filter<\/strong> feature in Windows to block specific keyboard shortcuts. This functionality is particularly useful in scenarios involving public computers, embedded devices in Kiosk Mode, and operator terminals.<\/p>\n<p>The Keyboard Filter can prevent users from utilizing certain keyboard combinations that might disrupt system operations, such as closing applications or accessing system commands. For instance, users may be restricted from executing shortcuts like <code>Ctrl+Alt+Del<\/code>, <code>Alt+F4<\/code>, or <code>Alt+Tab<\/code>. It also restricts access to the Task Manager using <code>Ctrl+Shift+Esc<\/code> and prevents the use of clipboard shortcuts like <code>Ctrl+C<\/code> and <code>Ctrl+V<\/code>.<\/p>\n<p>This feature can be applied to physical keyboards, the Windows on-screen keyboard, and touchscreen interfaces, although it is unavailable in Remote Desktop Protocol (RDP) sessions. The Keyboard Filter is supported only in the Enterprise, Education, IoT Enterprise, and LTSC editions of Windows, not in the Professional edition unless upgraded.<\/p>\n<p>To install the <strong>Keyboard Filter<\/strong>, access the Windows Features dialog (<code>optionalfeatures<\/code>) and select it under <strong>Device Lockdown<\/strong>. Alternatively, you can enable it through PowerShell with the following command:<\/p>\n<pre><code>Enable-WindowsOptionalFeature -Online -FeatureName Client-KeyboardFilter<\/code><\/pre>\n<p>After installation, restart your computer and ensure the <strong>Microsoft Keyboard Filter<\/strong> service (<code>MsKeyboardFilter<\/code>) is active and set to start automatically:<\/p>\n<pre><code>Set-Service -Name MsKeyboardFilter -StartupType Automatic -Status Running<\/code><\/pre>\n<p>Configuring which keys or combinations to block involves editing the Windows registry. The registry path for predefined Windows shortcuts is <code>HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows EmbeddedKeyboardFilter<\/code>. By default, all shortcuts are allowed. To restrict a specific shortcut, such as <code>Alt+Tab<\/code>, modify its value:<\/p>\n<pre><code>reg add &quot;HKLMSOFTWAREMicrosoftWindows EmbeddedKeyboardFilter&quot; \/v &quot;Alt+Tab&quot; \/t REG_SZ \/d &quot;Blocked&quot; \/f<\/code><\/pre>\n<p>After making any changes, a restart or service refresh is necessary for the settings to take effect. Attempts to use blocked shortcuts will result in no response from the system.<\/p>\n<p>Additional registry settings enable further customization of the Keyboard Filter:<\/p>\n<ul>\n<li><strong>DisableKeyboardFilterForAdministrators<\/strong>: Set to <code>1<\/code> to allow local administrators to bypass restrictions (default is <code>0<\/code>).<\/li>\n<li><strong>ForceOffAccessibility<\/strong>: Set to <code>1<\/code> to block access to Windows accessibility features such as Sticky Keys and Magnifier.<\/li>\n<li><strong>BreakoutKeyScanCode<\/strong>: Specifies the key for logging out, with <code>5B<\/code> representing the left Windows key by default.<\/li>\n<\/ul>\n<p>You can also manage predefined keyboard shortcuts via Windows Management Instrumentation (WMI). A PowerShell function to adjust predefined key blocking could look like this:<\/p>\n<pre><code class=\"language-powershell\">function Disable-Predefined-Key {    param (        [Parameter(Mandatory=$true)][string]$Id,        [Parameter(Mandatory=$true)][bool]$State    )    $key = Get-CimInstance -Namespace &quot;rootstandardcimv2embedded&quot; -ClassName &quot;WEKF_PredefinedKey&quot; -Filter &quot;Id = '$Id'&quot;    if ($key) {        $key.Enabled = $State        Set-CimInstance -CimInstance $key        Write-Host &quot;Keyboard filter set to $State for: $Id&quot; -ForegroundColor Green    } else {        Write-Error &quot;$Id is not a valid predefined key.&quot;    }}<\/code><\/pre>\n<p>To block or allow shortcuts with this function, you simply call:<\/p>\n<p>To block:<\/p>\n<pre><code>Disable-KeyboardKey -Id &quot;Alt+F4&quot; -State 1<\/code><\/pre>\n<p>To allow:<\/p>\n<pre><code>Disable-KeyboardKey -Id &quot;Alt+F4&quot; -State 0<\/code><\/pre>\n<p>Additionally, you can create custom keyboard filters by adding values under a subkey called <strong>CustomFilters<\/strong> in the KeyboardFilter registry key. For example, to block <code>Ctrl+C<\/code> and <code>Ctrl+V<\/code>, use:<\/p>\n<pre><code>reg add &quot;HKLMSOFTWAREMicrosoftWindows EmbeddedKeyboardFilterCustomFilters&quot; \/v &quot;Ctrl+C&quot; \/t REG_SZ \/d &quot;Blocked&quot; \/freg add &quot;HKLMSOFTWAREMicrosoftWindows EmbeddedKeyboardFilterCustomFilters&quot; \/v &quot;Ctrl+V&quot; \/t REG_SZ \/d &quot;Blocked&quot; \/f<\/code><\/pre>\n<p>You can also block specific keys directly by specifying their hexadecimal scan code. For instance, to block the left Windows key:<\/p>\n<pre><code>reg add &quot;HKLMSOFTWAREMicrosoftWindows EmbeddedKeyboardFilterCustomScancodes&quot; \/v &quot;E05B&quot; \/t REG_SZ \/d &quot;Blocked&quot; \/f<\/code><\/pre>\n<p>Monitoring the Keyboard Filter policy changes is possible via the Event Viewer, specifically under Application and Services Logs \u2192 Microsoft \u2192 Windows \u2192 KeyboardFilter \u2192 Operational. Here, you can find logs with Event ID <strong>10207<\/strong>, indicating the enabled policies.<\/p>\n<p>In summary, the Keyboard Filter serves as an effective tool for managing keyboard input, preventing unwanted shortcuts, and enhancing control over user interactions with the system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we&#8217;ll explore how to enable and configure the Keyboard Filter feature in Windows to block specific keyboard shortcuts. This functionality is particularly useful in scenarios\u2026<\/p>\n","protected":false},"author":0,"featured_media":11446,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[98,99],"tags":[],"class_list":["post-11445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-10","category-windows-11"],"_links":{"self":[{"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/11445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=11445"}],"version-history":[{"count":0,"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/11445\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media\/11446"}],"wp:attachment":[{"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=11445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=11445"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=11445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}