Playing nearly all of their regulars, the Red Wings scored three goals in the first 13-plus minutes, blitzing Blues goaltender Reinhard Divis.
Lidstrom had the first assist on Sergei Fedorov's third goal of the preseason 6:44 into the contest and scored on a blast from left point less than two minutes later. Shanahan's power-play goal - his first of the preseason - gave Detroit a 3-0 lead.
Divis settled down a bit and made 18 saves through two periods. With Brent Johnson and Fred Brathwaite injured, he could be St. Louis' starting goalie on opening night. Pavol Demitra set up goals by Petr Cajanek in the second period and Cory Stillman on the power play in the third that pulled St. Louis within 3-2.
Former Blue Curtis Joseph made 14 saves for Detroit.
Scarlett Johansson steps out with fiance after pregnancy reveal
Susan Sarandon 'very excited' about daughter's pregnancy