Update Touchpad Driver.
Open Device Manager.
Right-click the name of the device, then select Uninstall device.
Select Uninstall and then restart your PC.
Windows will attempt to reinstall the driver.
If Windows doesn't find a new driver and reinstalling the driver doesn’t help, visit the support site of the manufacturer to download and install the latest compatible driver.
Try running the keyboard troubleshooter from Settings > System > Troubleshooters > Additional Troubleshooters.
Change the USB port of the keyboard.
Reset the default DCOM permissions
a. Click Start and select Run, type dcomcnfg, and press Enter.
b. Expand Componet Services\Computers, right-click My Computer and select Properties.
c. In the Default Distributed COM Communication Properties section of Default Properties tab, make sure that:
Default Authentication Level is set to Connect
Default Impersonation Level is set to Identify