Terminal not accepting keyboard input in Windows 10
Environment
Windows version: 19041.572 Windows Terminal version: 1.3.2651.0
Steps to reproduce
Launch Terminal Attempt to type anything
Expected behavior
Characters show up on the screen.
Actual behavior
Nothing happens. It's as if I have no keyboard attached.
Additional info
Using Windows Remote Desktop. Right-click on mouse pastes text. No "de-bloating" software installed (neither MSI Afterburner). "Touch Keyboard and Handwriting Service" is enabled and running. I've read #4448, and as it suggests, I'm filling out a new issue.
Huh, that's weird, this is the first time I'm hearing of this bug with the Touch Keyboard and Handwriting Service enabled, and also the first time Remote Desktop has been involved.
By any chance can you paste copied text by right-clicking in the Terminal?
I've also got another theory that this is due to the whole scanCode=0 thing, but debugging that is a little more involved, so let's start with the right-clicking
@zadjii-msft Yes. I can paste text by right-clicking as I've mentioned in the Additional Info section.
I have the same issue, I can paste text with a mouse, but I can't type anything with keyboard, also I don't use remote desktop.
Windows Terminal
Version: 1.3.2651.0
Ah sorry, I missed that. By any chance, are you using the on-screen keyboard to input text? That's another variable to try and help isolate the problem.
I'm gonna cc @lhecker, who's been working in this area recently, and also @miniksa who I think actually uses Remote Desktop to his work machine to see if he can repro this as well.
@BerhorShadowbuckle For the record, can you confirm you have the "Touch Keyboard and Handwriting Service" enabled?
@zadjii-msft If it's related to the scanCode issues (I bet it is), then it'll probably be fixed with #7900.
@zadjii-msft I'm not using the virtual keyboard, but it doesn't work anyway.
Ah sorry, I missed that. By any chance, are you using the on-screen keyboard to input text? That's another variable to try and help isolate the problem.
I'm gonna cc @lhecker, who's been working in this area recently, and also @miniksa who I think actually uses Remote Desktop to his work machine to see if he can repro this as well.
@BerhorShadowbuckle For the record, can you confirm you have the "Touch Keyboard and Handwriting Service" enabled?
I do work all day through Remote Desktop and I do not have an input issue. I do have the "Touch Keyboard and Handwriting Service" enabled at all levels of my remote connection.
I've just tested this out with my remote desktop connection as well and can't repro this on 1.3.2651.0, so there's gotta be something else we're missing here.
I faced the same issue, but I had Touch Keyboard and Handwriting Service disabled. After enabling it, input only worked after a restart.
same issue windows10 upgrade from 20H1 to 20H2 ,after that windows terminal can't input anything. windows version 19042.572 windows terminal 1.3.2651.0
@ anyone who comes to this thread because their keyboard input isn't working: I'm gonna need you to confirm that the "Touch Keyboard and Handwriting Panel" service is running before posting in this thread. You can check that with the command
sc query TabletInputService
Which should get you something like:

If it's not running, and you start it, please make sure to reboot your PC before trying the Terminal again. For instructions how to do that, see: https://github.com/microsoft/terminal/issues/8130#issuecomment-720575268.
ONLY IF the service is running and keyboard input isn't working should you post in this thread, especially with any details of things that might be unique about your setup. If you don't confirm the service is running, I'm just gonna mark your comment as an off topic dupe of the discussion in #4448.
How do I enable TabletInputService? Also once enabled do i have to reboot or something?
I have the same issue, I can paste text with a mouse, but I can't type anything with keyboard

If you're seeing that the service is running, could you check if ctfmon.exe is also running? Apparently ctfmon.exe is the real important process, which the service is just used to resurrect.
> tasklist /v /fi "imagename eq ctfmon.exe" /fo list
Image Name: ctfmon.exe
PID: 10828
Session Name: Console
Session#: 1
Mem Usage: 26,536 K
Status: Running
User Name: REDMOND\migrie
CPU Time: 0:01:05
Window Title: N/A

Dec 2020 update: One user hitting a similar issue (https://github.com/microsoft/terminal/issues/8142#issuecomment-743268887) found that they had a bad Group Policy on their machine that would kill ctfmon.exe after a few seconds. So ctfmon.exe would be running, but with an unstable PID.
I have the same issue. I checked the proposed services and both are running.

The problem is solved with that proposed in discussion #4448 . However, other programs are not functioning properly. Example: microsoft whiteboard
I have the same issue, I can paste text with a mouse, but I can't type anything with keyboard
The problem Was solved
Thanks guy
Please confirm that in addition to tabletinputservice running, ctfmon.exe running (with stable PID) that you also have the following registry key set.
C:\Users\ebadger.REDMOND>reg query hklm\software\microsoft\input /v InputServiceEnabled
HKEY_LOCAL_MACHINE\software\microsoft\input InputServiceEnabled REG_DWORD 0x1
Everything running, but I can't type on the windows terminal

if I go to the registers and change the InputServiceEnabled to 0, I can type back into the terminal. However, other windows applications start to have problems.

if I go to the registers and change the InputServiceEnabled to 0
NOTE TO FUTURE READERS
Please don't do this. It might fix the Terminal, but it's definitely not the root cause. Changing this in the registry is going to cause far more issues than it will fix.