If the touchpad on your laptop has failed. You're playing now you see it, now you don't wit TOUCHPAD in your settings. And no customer support can assist you from HP or MSFT, try this it just worked for me...
Go to DEVICE MANAGER
Expand HUMAN INTERFACE DEVICES
And you see 12C HID Device has an error.
If you click DRIVER and then UNINSTAL DEVICE the 12C HID Device is delisted, and on startup it magically refreshes.
I was hoping that would do it, but the TOUCHPAD was still inoperative, and the error persisted.
Then, on a wild thought. I repeated UNINSTAL on all of the HID-compliant Device tabs. My thought was the whole HID Device needed a reboot. As soon as they all delisted, I said a prayer and rebooted.
And my touchpad was finally restored!
I hope this helps others, as this was really frustrating.
Ps. In Touchpad settings (once you can access them again) it's also a good idea to tic LEAVE TOUCHPAD ON WHEN MOUSE IS CONNECTED.