This looks more like a windows (or perhaps even a hardware) problem than a problem with avast to me.
Hookup a external keyboard and see if that is working.