The tool overrides all your material, shadow and render settings while rendering and then restores the previous settings after the preview is rendered.

This allows you to render quick previews without having to go through all materials to set lower subdivs etc.Usage: Simply run the script.
http://www.niksula.cs.hut.fi/~jylilamm/tools.shtml