State police are investigating a multiple vehicle crash on I-90 near Batavia. The crash occurred around 2 p.m. Wednesday going eastbound on the Thruway.

LE ROY — A crash involving 21 cars and trucks Wednesday shut down a section of the New York State Thruway in western New York, where blizzard warnings were in place and people were urged to stay inside and out of the wind-driven snow and sub-zero wind chills.

Troopers said some of the vehicles involved in the 2 p.m. crash — on the eastbound lanes between Batavia and Le Roy between Buffalo and Rochester — were tractor-trailers, even though the trucks had been banned from that part of the thoroughfare because of the storm since Tuesday evening. All lanes on the section were reopened by Wednesday evening.

A trooper suffered non-life threatening injuries in the crash, state police said. The number and extent of other injuries wasn't immediately known.

Earlier Wednesday, Gov. Andrew Cuomo warned those who defied the ban would be ticketed.

With up to 2 feet (61 centimeters) of snow expected by early Friday accompanied by 40 mph (64 kph) wind gusts and dangerous cold, the conditions "should not be taken lightly," Cuomo said.