I did try a bunch of USB ports all with the same result. It’s in the device manager that I see the error message I wrote before about the corrupt registry it’s were there is a yellow triangle for the hid Logitech device… I was thinking of doing a system restore but there are no old restore files available only from after the failure… Is there any other good way to repair the registry…

In device manager I did properties for the Logitech HID and then driver details there are a 5 drivers and 4 of them are provided by Logitech but the one on top is an Avast driver (aswKdb.sys) can this be whats giving me the trouble?

Also I have realized that a few buttons on the keyboard work, like the function buttons and the volume control. but no letters at all.