For some reason my laptop has a mind of its own and the Caps Lock tends to come on whenever it feels like it. I thought it was an software issue from that reasoning, but I later cleared the OS and then reinstalled it hoping to fix the problem, but it didn't. Not only does it do that it also comes on and off whenever the letters A, S, and left shift key are pushed.

So I assummed it was a keyboard issue and that the keyboard needs to be replaced, but it has one of those touch pad cap lock buttons also, because even when I press that button it tends to not react. So how can that be fixed with a keyboard replacement or is that connected still?

EDIT - I followed the direction with the following code in notepad and it didn't do the job:

although this solution might work, which I will try when I get to my computer, I still would like to know what kind of issue was it in case I ever decided to fix it the right way
–
Mr NewOct 13 '09 at 16:44

Caliban your approach worked pefectly, but the link you gave me solution wasnt disabling it for me, but This solution from vistax64.com worked, it was a little different but did the job: Disable the Caps Lock Key