Disable then enable to the keyboard.
Open Start, type: CMD
Right click CMD
Click Run as administrator
Type in at the prompt OR Copy and Paste these one at a time : (Hit enter after each)
sc config "TabletInputService" start= disabled
sc stop "TabletInputService"
When you want to enable it, go to the command prompt then enter the following commands.
sc config "TabletInputService" start= auto
sc start "TabletInputService"