There may be a script that can do this project-wide, but here's a fast way to do it manually in a single comp.
Locate the search box on the timeline panel (upper-left corner, right next to the current time). Type in "casts shadows" -- all layers and properties that match will appear. Select all, then toggle from off to on.
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events