If you think your computer has been infected with a keylogger, there are some steps you can take to detect and remove it. First, install software that will detect spyware such as micro keylogger and viruses. Run a thorough scan. Depending on the software used, follow the steps to remove the keylogger. Be sure to run regular scans to protect your computer in the future.