If the loose pipes are in the walls, you may be able to eliminate the knocking noise by placing padding or foam insulation at each end of the wall. If your pipes are secured well, too much water pressure may cause them to rattle.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.