How to stop windows from sliding down

windows

About 10 years ago I had all the windows in my apartment replaced. Four or five years later, when I would open them to insert a fan or an air conditioner, the top window would slide down 6-12 inches in a few of the windows. Is there anything that I can do to adjust the windows so they don't slide down?

[update]

I got a couple good answers for wooden windows. Can anything be done with metal?

Best Answer

The counter balance is not working correctly, but repairing this or replacing it is non-trivial. Instead, you can pickup a device like this that will create enough friction to hold the window in place. It should be installed between the window and the frame and is a simple DIY job.

http://www.lowes.com/pd_128860-76018-F+2537_0__?productId=3010767

enter image description here