Hi clairebear1984,
It looks that computer has been badly infected or the virus has not been removed completely from the computer.
You may try using another keyboard and check if it works.
Method 1
You may try performing startup repair and check it boots back to the desktop.
1. Insert the installation disc.
- Restart your computer.
Click the Start button, click the arrow next to the Lock button, and then click Restart.
3. If prompted, press any key to start Windows from the installation disc.
Note If your computer is not configured to start from a CD or DVD, check the information that came with your computer. You may need to change your computer's BIOS settings. For more information, see BIOS: frequently asked questions.
4. Choose your language settings, and then click Next.
5. Click Repair your computer.
6. Select the operating system you want to repair, and then click Next.
7. On the System Recovery Options menu, click on Startup Repair.
Refer the below link for more information.
http://windows.microsoft.com/en-US/windows7/What-are-the-system-recovery-options-in-Windows-7
Method 2
Try system restore from the System recovery options using the above link and check if it works.
Hope this helps!
Halima S - Microsoft Support.
Visit our Microsoft Answers Feedback Forum and let us know what you think.