Microsoft-Windows-Embedded-KeyboardFilterServiceMicrosoft-Windows-Embedded-KeyboardFilterService

你可以使用中的 KeyboardFilterService 来禁止显示不需要的按键或组合键。You can use KeyboardFilterService in to suppress undesirable key presses or key combinations. 通常情况下,客户可以使用某些 Windows 键组合,如 Ctrl + Alt + Delete 或 Ctrl + Shift + Tab,通过锁定屏幕或使用任务管理器关闭正在运行的应用程序来更改设备的操作。Normally, a customer can use certain Windows key combinations like Ctrl+Alt+Delete or Ctrl+Shift+Tab to alter the operation of a device by locking the screen or using Task Manager to close a running application. 如果你的设备适用于专用目的,则可能不需要这样做。This may not be desirable if your device is intended for a dedicated purpose. 但是,你可以使用 KeyboardFilterService 来禁止任何导致不需要的系统行为的按键或键组合。However, you can use KeyboardFilterService to suppress any key press or key combination that causes an undesirable system behavior.

提示

有关演示如何禁止显示各种关键笔划和快捷方式的无人参与代码示例,请参阅以下主题。For Unattend code samples that show how to suppress various key strokes and shortcuts, see the topics below. 有关此功能的更多常规信息,请参阅 企业键盘筛选器的自定义For more general information about this feature, see Customizations for Enterprise - Keyboard Filter.

子元素Child elements

设置Setting 说明Description
AltAlt 阻止两个 Alt 键。Blocks both Alt keys.
AltF4AltF4 阻止用于关闭应用程序的 Alt + F4 键组合。Blocks the Alt+F4 key combination used to close applications.
AltSpaceAltSpace 阻止用于打开活动窗口的快捷菜单的 Alt + Space 键组合。Blocks the Alt+Space key combination used to open the shortcut menu for the active window.
AltTabAltTab 阻止用于切换任务的 Alt + Tab 组合键。Blocks the Alt+Tab key combination used to switch tasks. 还会阻止 Alt + Shift + Tab 键组合。Also blocks the Alt+Shift+Tab key combination.
AltWinAltWin 阻止以 Alt + Windows 徽标键开头的所有键盘组合,例如 Alt + Win + S。Blocks all keyboard combinations beginning with Alt + Windows logo key, for example Alt + Win + S.
BrowserBackBrowserBack 阻止浏览器后退键。Blocks the Browser Back key.
BrowserFavoritesBrowserFavorites 阻止浏览器收藏夹键。Blocks the Browser Favorites key.
BrowserForwardBrowserForward 阻止浏览器前进键。Blocks the Browser Forward key.
BrowserHomeBrowserHome 阻止浏览器主页键。Blocks the Browser Home key.
BrowserRefreshBrowserRefresh 阻止浏览器刷新键。Blocks the Browser Refresh key.
BrowserSearchBrowserSearch 阻止浏览器搜索键。Blocks the Browser Search key.
BrowserStopBrowserStop 阻止浏览器停止键。Blocks the Browser Stop key.
ControlAltDeleteControlAltDelete 阻止用于打开 Windows 安全屏幕的控件 + Alt + Delete 组合键。Blocks the Control+Alt+Delete key combination used to open the Windows Security screen.
ControlEscapeControlEscape 阻止用于打开 "开始" 屏幕的控件 + Escape 键组合。Blocks the Control+Escape key combination used to open the Start screen.
ControlTabControlTab 阻止用于切换窗口的控件 + Tab 键组合。Blocks the Control+Tab key combination used to switch windows.
ControlWindowsFControlWindowsF 阻止用于打开 "查找计算机" 对话框的控件 + Windows 徽标键 + F 键组合。Blocks the Control+Windows logo key+F key combination used to open the Find Computers dialog box.
CtrlCtrl 同时阻止两个 Ctrl 键。Blocks both Ctrl keys.
CtrlF4CtrlF4 阻止用于关闭活动窗口的控件 + F4 键组合。Blocks the Control+F4 key combination used to close the active window.
CtrlWinCtrlWin 阻止 Ctrl + Windows 徽标键键盘组合。Blocks the Ctrl + Windows logo key keyboard combination.
CustomFiltersCustomFilters 阻止自定义密钥列表。Blocks the list of custom keys.
CustomScancodesCustomScancodes 阻止自定义扫描代码的列表。Blocks the list of custom scan codes.
DisableKeyboardFilterForAdministratorsDisableKeyboardFilterForAdministrators 对管理员禁用键盘筛选器。Disables the keyboard filter for administrators.
EscapeEscape 阻止转义键。Blocks the Escape key.
F21F21 阻止 F21 键。Blocks the F21 key.
ForceOffAccessibilityForceOffAccessibility 禁用所有的轻松使用功能,并阻止用户启用它们。Disables all Ease of Access features and prevents users from enabling them.
LaunchApp1LaunchApp1 阻止启动应用程序1键。Blocks the Start Application 1 key.
LaunchApp2LaunchApp2 阻止启动应用程序1键。Blocks the Start Application 1 key.
LaunchMailLaunchMail 阻止 "开始" 邮件键。Blocks the Start Mail key.
LaunchMediaSelectLaunchMediaSelect 阻止媒体选择键。Blocks the Media Select key.
LeftShiftLeftAltNumLockLeftShiftLeftAltNumLock 阻止用于打开 "鼠标按键" 对话框的左 Shift + 左 Alt + Num Lock 组合键。Blocks the Left Shift+Left Alt+Num Lock key combination used to open the Mouse Keys dialog box.
LeftShiftLeftAltPrintScreenLeftShiftLeftAltPrintScreen 阻止用于打开 "高对比度" 对话框的左 Shift + 左 Alt + Print Screen 组合键。Blocks the Left Shift+Left Alt+Print Screen key combination used to open the High Contrast dialog box.
MediaNextMediaNext 阻止下一曲目键。Blocks the Next Track key.
MediaPlayPauseMediaPlayPause 阻止播放/暂停媒体键。Blocks the Play/Pause Media key.
MediaPrevMediaPrev 阻止上一个曲目键。Blocks the Previous Track key.
MediaStopMediaStop 阻止停止媒体键。Blocks the Stop media key.
ShiftShift 阻止两个 Shift 键。Blocks both Shift keys.
ShiftControlEscapeShiftControlEscape 阻止用于打开任务管理器的 Shift + Ctrl + Escape 组合键。Blocks the Shift+Control+Escape key combination used to open Task Manager.
ShiftWinShiftWin 阻止 Shift + Windows 徽标键。Blocks the Shift + Windows logo key.
VolumeDownVolumeDown 阻止音量减小键。Blocks the Volume Down key.
VolumeMuteVolumeMute 阻止音量静音键。Blocks the Volume Mute key.
VolumeUpVolumeUp 阻止调大音量键。Blocks the Volume Up key.
WindowsWindows 阻止两个 Windows 徽标键。Blocks both Windows logo keys.
WindowsBWindowsB 阻止用于在通知区域设置焦点的 Windows 徽标键 + B 键组合。Blocks the Windows logo key+B key combination used to set focus in the Notification area.
WindowsBreakWindowsBreak 阻止用于打开 "系统" 对话框的 Windows 徽标键 + Break 键组合。Blocks the Windows logo key+Break key combination used to open the System dialog box.
WindowsCWindowsC 阻止用于打开超级按钮的 Windows 徽标键 + C 组合键。Blocks the Windows logo key+C key combination used to open charms.
WindowsCommaWindowsComma 阻止用于扫视桌面的 Windows 徽标键 + 逗号键组合。Blocks the Windows logo key+Comma key combination used to peek at the desktop.
WindowsDWindowsD 阻止用于显示桌面的 Windows 徽标键 + D 组合键。Blocks the Windows logo key+D key combination used to show the desktop.
WindowsDownWindowsDown 阻止使用 Windows 徽标键 + 向下键组合来最小化活动窗口。Blocks the Windows logo key+Down Arrow key combination used to minimize the active window.
WindowsEWindowsE 阻止用于打开 Windows 资源管理器的 Windows 徽标键 + E 组合键。Blocks the Windows logo key+E key combination used to open Windows Explorer.
WindowsEnterWindowsEnter 阻止 Windows 徽标键 + 输入用于启动讲述人的组合键。Blocks the Windows logo key+Enter key combination used to start Narrator.
WindowsEscapeWindowsEscape 阻止用于关闭放大镜应用程序的 Windows 徽标键 + Esc 组合键。Blocks the Windows logo key+Esc key combination used to close the Magnifier application.
WindowsFWindowsF 阻止用于打开搜索的 Windows 徽标键 + F 键组合。Blocks the Windows logo key+F key combination used to open Search.
WindowsF1WindowsF1 阻止用于打开 Windows 帮助的 Windows 徽标键 + F1 键组合。Blocks the Windows logo key+F1 key combination used to open Windows Help.
WindowsHWindowsH 阻止用于打开 "共享" 超级按钮的 Windows 徽标键 + H 组合键。Blocks the Windows logo key+H key combination used to open the Share charm.
WindowsHomeWindowsHome 阻止用于最小化或还原所有非活动窗口的 Windows 徽标键 + Home 组合键。Blocks the Windows logo key+Home key combination used to minimize or restore all inactive windows.
WindowsIWindowsI 阻止使用 Windows 徽标键 + I 组合键来打开 "设置" 超级按钮。Blocks the Windows logo key+I key combination used to open the Settings charm.
WindowsJWindowsJ 阻止用于在已对齐和已填充的应用程序之间交换的 Windows 徽标键 + J 键组合。Blocks the Windows logo key+J key combination used to swap between snapped and filled applications.
WindowsKWindowsK 阻止使用 Windows 徽标键 + K 组合键来打开 "连接" 超级按钮。Blocks the Windows logo key+K key combination used to open the Connect charm.
WindowsLWindowsL 阻止用于锁定设备的 Windows 徽标键 + L 键组合。Blocks the Windows logo key+L key combination used to lock the device.
WindowsLeftWindowsLeft 阻止 Windows 徽标键 + 向左键的组合,用于将活动窗口靠齐到屏幕的左半部分。Blocks the Windows logo key+Left Arrow key combination used to snap the active window to the left half of the screen.
WindowsMWindowsM 阻止使用 Windows 徽标键 + M 键组合来最小化所有窗口。Blocks the Windows logo key+M key combination used to minimize all windows.
WindowsMinusWindowsMinus 阻止用于缩小的 Windows 徽标键 + 减号键组合。Blocks the Windows logo key+Minus key combination used to zoom out.
WindowsOWindowsO 阻止用于锁定设备方向的 Windows 徽标键 + O 键组合。Blocks the Windows logo key+O key combination used to lock device orientation.
WindowsPWindowsP 阻止用于循环显示模式的 Windows 徽标键 + P 组合键。Blocks the Windows logo key+P key combination used to cycle through Presentation Mode. 还会阻止 Windows 徽标键 + Shift + P 和 Windows 徽标键 + Ctrl + P 组合键。Also blocks the Windows logo key+Shift+P and Windows logo key+Ctrl+P key combinations.
WindowsPageDownWindowsPageDown 阻止 Windows 徽标键 + Page Down 组合键,用于将 Microsoft Store 应用移动到正确的监视器。Blocks the Windows logo key+Page Down key combination used to move a Microsoft Store app to the right monitor.
WindowsPageUpWindowsPageUp 阻止 Windows 徽标键 + Page Up 组合键,用于将 Microsoft Store 应用程序移到左侧的监视器。Blocks the Windows logo key+Page Up key combination used to move a Microsoft Store app to the left monitor.
WindowsPeriodWindowsPeriod 阻止用于将当前屏幕与左或右装订线对齐的 Windows 徽标键 + Period 键组合。Blocks the Windows logo key+Period key combination used to snap the current screen to the left or right gutter. 还会阻止 Windows 徽标键 + Shift + Period 键组合。Also blocks the Windows logo key+Shift+Period key combinations.
WindowsPlusWindowsPlus 阻止 Windows 徽标键 + 加上用于放大的组合键。Blocks the Windows logo key+Plus key combination used to zoom in.
WindowsQWindowsQ 阻止用于打开 "搜索" 超级按钮的 Windows 徽标键 + Q 键组合。Blocks the Windows logo key+Q key combination used to open the Search charm.
WindowsRWindowsR 阻止用于打开 "运行" 对话框的 Windows 徽标键 + R 组合键。Blocks the Windows logo key+R key combination used to open the Run dialog box.
WindowsRightWindowsRight 阻止使用 Windows 徽标键 + 向右键组合键将活动窗口与屏幕右半部分对齐。Blocks the Windows logo key+Right Arrow key combination used to snap the active windows to the right half of the screen.
WindowsShiftDownWindowsShiftDown 阻止使用 Windows 徽标键 + Shift + 向下键组合来最小化活动窗口。Blocks the Windows logo key+Shift+Down Arrow key combination used to minimize the active window.
WindowsShiftLeftWindowsShiftLeft 阻止使用 Windows 徽标键 + Shift + 向左键组合键将活动窗口移到左侧监视器。Blocks the Windows logo key+Shift+Left Arrow key combination used to move the active window to the left monitor.
WindowsShiftRightWindowsShiftRight 阻止使用 Windows 徽标键 + Shift + 向右键组合键将活动窗口移到右侧的监视器。Blocks the Windows logo key+Shift+Right Arrow key combination used to move the active window to the right monitor.
WindowsShiftUpWindowsShiftUp 阻止使用 Windows 徽标键 + Shift + 向上键组合,以便垂直地将活动窗口最大化。Blocks the Windows logo key+Shift+Up Arrow key combination used to maximize the active window vertically.
WindowsSlashWindowsSlash 阻止用于打开输入法编辑器 (IME) 的 Windows 徽标键 + 斜线组合键。Blocks the Windows logo key+Slash key combination used to open the Input Method Editor (IME).
WindowsSpaceWindowsSpace 阻止用于切换布局的 Windows 徽标键 + 空格键组合键。Blocks the Windows logo key+Spacebar key combination used to switch layout.
WindowsTWindowsT 阻止用于将焦点设置到任务栏和循环切换程序的 Windows 徽标键 + T 组合键。Blocks the Windows logo key+T key combination used to set focus on taskbar and cycle through programs.
WindowsTabWindowsTab 阻止用于在 Microsoft Store 应用间循环的 Windows 徽标键 + Tab 键组合。Blocks the Windows logo key+Tab key combination used to cycle through Microsoft Store apps. 还会阻止 Windows 徽标键 + Ctrl + Tab 和 Windows 徽标键 + Shift + Tab 组合键。Also blocks the Windows logo key+Ctrl+Tab and Windows logo key+Shift+Tab key combinations.
WindowsUWindowsU 阻止用于扫视桌面的 Windows 徽标键 + 逗号键组合。Blocks the Windows logo key+Comma key combination used to peek at the desktop.
WindowsUpWindowsUp 阻止用于最大化活动窗口的 Windows 徽标键 + 向上键组合。Blocks the Windows logo key+Up Arrow key combination used to maximize the active window.
WindowsVWindowsV 阻止用于按相反顺序循环遍历 toast 的 Windows 徽标键 + V 组合键。Blocks the Windows logo key+V key combination used to cycle through toasts in reverse order.
WindowsWWindowsW 阻止用于打开 "设置搜索" 超级按钮的 Windows 徽标键 + W 组合键。Blocks the Windows logo key+W key combination used to open the Settings Search charm.
WindowsZWindowsZ 阻止用于打开应用栏的 Windows 徽标键 + Z 键组合。Blocks the Windows logo key+Z key combination used to open the app bar.

适用于Applies to

若要确定某个组件是否适用于你在构建的映像,请将你的映像加载到 Windows SIM 中并搜索组件或设置名称。To determine whether a component applies to the image you’re building, load your image into Windows SIM and search for the component or setting name. 有关如何查看组件和设置的信息,请参阅 在答案文件中配置组件和设置For information on how to view components and settings, see Configure Components and Settings in an Answer File.

键盘筛选器Keyboard filter