Updated

The familiar formula that carried San Francisco back to the Super Bowl last season for the first time in 18 years is on display again.

Colin Kaepernick marched the offense with six straight completions during a series that ended with a 5-yard touchdown pass to Quinton Patton, and Aldon Smith and Justin Smith plowed through Minnesota's offensive line to make plays and hard-hitting tackles in the 49ers' 34-14 exhibition victory over the Vikings on Sunday night.

Sure, it's only the preseason. And there were a lot of foolish penalties.

Yet Kaepernick looks sharp, and the defense looks its usual stingy.

Justin Smith ran over two would-be blockers to pound Toby Gerhart for a 4-yard loss midway through the first quarter, and sack man Aldon Smith recovered a fumble and put pressure on Christian Ponder.

The new look in this one: flashy Lavelle Hawkins.

Hawkins returned a kickoff 105 yards for a touchdown late in the second quarter, but he received two unsportsmanlike penalties in the process — one for pointing the ball at a Vikings player before reaching the end zone and another for removing his helmet in celebration. Coach Jim Harbaugh chewed him out on the sideline, and Hawkins could be seen saying, "My fault."

Yet Hawkins received another unsportsmanlike flag for head-butting linebacker Desmond Bishop after flipping the ball toward safety Mistral Raymond following a 22-yard catch in the fourth quarter.

There were a couple of other things Harbaugh certainly didn't like — Nick Moody's helmet-to-helmet hit on wideout Stephen Burton that resulted in an unnecessary roughness penalty in the third quarter, and a face mask by cornerback Perrish Cox on the same Minnesota scoring drive.

After a week of long practices as the Vikings tried to get their stagnant offense on a roll, there were considerable strides.

Ponder threw a pair of touchdown passes while playing three quarters.

He connected on a 1-yard touchdown pass to Zach Line late in the first half for the quarterback's first TD completion of the preseason, then threw an interception in Minnesota's final series before halftime. In the Vikings' opening drive of the second half, Ponder hit Joe Webb with a 3-yard scoring pass.

Reigning NFL MVP Adrian Peterson didn't touch the ball in one series of action for Minnesota, making his preseason debut — and first appearance in the exhibition schedule since 2011 — as he begins a year in which he will try to become the first player with consecutive 2,000-yard rushing seasons.

Ponder went 17 of 23 for 116 yards, a step up after two unimpressive outings and a 28.3 passer rating in his first two exhibition games.

This hardly looked like the Vikings' group that handed the NFC champion Niners their first loss last fall, a 24-13 victory Sept. 23 in Minneapolis.

On the third play of the game, Ponder fumbled and gave the 49ers the ball at the Vikings 11. Ahmad Brooks swiped the ball away and Aldon Smith recovered.

San Francisco then went ahead on a 30-yard field goal by Phil Dawson, who added a 50-yarder before halftime.

The 49ers saw a couple of new players for the first time in quarterback Seneca Wallace and wideout Jon Baldwin, not to mention a familiar face in backup running back Kendall Hunter. Returning from a torn Achilles tendon injury that ended his season in late November and required surgery, Hunter scampered 15 yards on his first carry since the injury.

That first-quarter run gave San Francisco first down during the 49ers' third series.

Kaepernick began the game 1 for 7, then converted his next six pass attempts during that touchdown drive — including four in a row of 10 or more yards. Vernon Davis caught back-to-back receptions of 10 and 11 yards, and Patton and Marlon Moore each had two receptions in the series.

Notes: Rookie fourth-round draft pick Patton (broken finger) played for the first time. ... 49ers QB Colt McCoy went 11 for 15 for 109 yards a day after restructuring his contract. Harbaugh all but announced McCoy as Kaepernick's backup, saying, "I feel real good that Colt's the backup." ... Vikings CB Chris Cook injured his groin in the first half and didn't return. DT Kevin Williams got his right knee tangled up with OL Joe Looney early in the third quarter. ... 49ers RB LaMichael James injured an elbow. OLB Cam Johnson sustained a third-quarter shoulder injury and didn't return. ... Two male fans ran onto field to briefly interrupt the game with 13:04 left. Minnesota WR Jerome Simpson tripped up one man, and security pounced. Another man came scurrying onto the field 33 seconds later, then police officers on bicycles lined the north end zone for the final 12:21. Police and security tackled another fan on the field after the game.

___

AP NFL website: www.pro32.ap.org