Also note that some cabinets do this when missing the third prong, and others don't. And some cabinets have a 3 prong cord, but eliminate the third prong instantly inside the cabinet (actually that is WAY common).
Of course, if you live in a place like mine where it is all 2 prong, then that isn't going to help much, is it.
I had a Do! Run Run that did that, and I was able to get it to quit simply by increasing the connectivity between the various metal grounds in the thing. Luckily that worked, because it was a 2 prong japanese cabinet and I have a 2 prong house anyway.