How to Stop Windows 11 from Automatically Opening the On-Screen Keyboard

The Unwanted Touch Keyboard

If you use a Windows 11 laptop with a touchscreen (like a Microsoft Surface, Dell XPS 2-in-1, or Lenovo Yoga), you have likely experienced a highly disruptive software behavior. Whenever you tap a text field—even if your physical keyboard is attached and sitting right in front of you—a massive, digital “On-Screen Keyboard” slides up from the bottom of the screen, covering half of your application. This automatic deployment is designed for tablet mode, but when Windows gets confused about whether a physical keyboard is present, it aggressively forces the touch keyboard onto the screen.

How to Restrict the Touch Keyboard

You can configure Windows 11 so that the touch keyboard never appears automatically when a physical keyboard is attached, while still allowing it to function when you detach the screen to use it as a true tablet.

1. Open the Start menu and click the gear icon to open Settings.

2. In the left-hand sidebar, click on Time & language.

3. In the right-hand pane, click on Typing.

4. Scroll down and click to expand the Touch keyboard section.

5. Look for the setting labelled “Show the touch keyboard when there’s no keyboard attached.”

6. Change the dropdown menu from “Always” to When no keyboard attached.

How to Completely Disable the Touch Keyboard Service

If you absolutely never want to see the on-screen keyboard under any circumstances—even if you are in tablet mode—you must completely disable the underlying Windows service that drives it.

1. Open the Start menu, type Services, and press Enter to open the Services Management console.

2. Scroll down the long alphabetical list until you find the service named Touch Keyboard and Handwriting Panel Service.

3. Double-click on this service to open its properties.

4. Look for the Startup type dropdown menu and change it to Disabled.

5. Click the Stop button under “Service status” to kill the process immediately.

6. Click Apply, then OK.

The on-screen keyboard is now permanently disabled at the system level and will never appear again, regardless of what text fields you touch.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.