You can delete a harmful registry file two ways: manually or with a software program. Either way will work. Manually works only if you know what you are looking for. Most people do not, so using the software is by far the easiest and quickest method you can delete a harmful registry file.
The first way is manually. Here you will need to know what you are looking for. If you suspect you do, then you can do the following:
Go to the “start” button in the lower left hand corner of your computer, click it.
Go to the “run” button on the right side of the menu that pops up, click it.
Type in the box “regedit”, and click the “OK” button.
In the left window pane, you will see 5 folders.
At this point, you are on your own. I do not mess with my registry files, nor do I recommend for you to. If you are going to, ensure you have a backup of the registry somewhere. I personally do not know exactly what to look for, and spyware is hidden carefully, so it makes it hard to find the harmful registry files. I use a registry repair software.
This type of software will scan your computer, and look for messed up registry files. Once it finds them, it will them fix them for you. This will bring your computer back to its designed speed, and have all of your programs functioning correctly again. This is by far the easiest, fastest, and the best method to delete a harmful registry file.