Hello Marcellorice,
In order to isolate the cause of failure, please try the following steps:
1. Check in Safe Mode if the keys are working fine.
- Restart the computer.
- Keep tapping F8 key.
- The computer goes to Advanced boot Options.
- Select Safe Mode.
- Press Enter.
Check in safe mode if the keys are working fine. Being in safe mode, follow the step 2.
2. Check in Command Prompt.
- Click Start.
- In Search program and files tab type cmd.
- Press Enter.
- Check in the Window if the keys are working fine.
In case the keyboard does the same thing in both safe mode and command prompt, consider replacing the keyboard.You may also try connecting an external USB keyboard and check if that works fine.
Please write back for further queries.