Noisy, rattling windows are generally caused by one of two things--a loose glass pane, or a loose frame. The first case generally afflicts older windows, where the glass has traveled down the pane, causing the top of the window pane to become thinner than the bottom. The second case is more common on wood framed windows, where the wood can warp and shrink with the weather.
Apply the caulk to the space between the glass pane and the frame. Use the putty knife to work the caulk into the crack. You need to fill the crack completely.
Soak the rag in vinegar and wipe any escaped caulk off the window glass.
Check the window after the caulk dries. Fill in any revealed cracks in the caulk.
Listen to the window carefully during the next windstorm. If the window still rattles, carefully check for and fill any cracks in the caulk.
Open the window all the way. Measure the length and width of the exposed track.
Add 6 inches to the length, and subtract 1/8 inch from the width. Cut 2 pieces of linoleum to these measurements.
Nail a linoleum strip to the track on either side of the window with the carpet tacks. Add more strips if necessary to stop the rattling.
Rub paraffin wax over the linoleum.