Since beating on it doesn't help check for power at the motor with a test light, if theres no power there check for power at the switch, if it's dead there run a jumper to the switch and see if the windows work.

If there is power at the motor and it doesn't work banging on it then hose it down with electrical cleaner, let it dry and try it again, you should get something if it has power.