Baroda were all out for 305 after resuming their first innings at 286 for nine.
In reply, Mumbai were 313 for eight stumps thanks to Herwadkar's 106 off 216 balls.
The other contributions came from Suryakumar Yadav (54) and Balwinder Sandhu, who remained unbeaten on 56.
Sagar Mangalorkar was the stand out bowler for Baroda, taking three wickets for 74 runs.
Captain Irfan Pathan, who made 19 with the bat yesterday, was economical in his 13 overs giving away only 21 runs and took the wicket of talented rookie Armaan Jaffer.
Mumbai made a nervy start, losing Shreyas Iyer and Jai Bista cheaply to be 18 for two. Herwadkar held his end and struck an 81-run stand with Yadav, who 10 fours in his attacking knock.
Herwadkar himself hit 14 fours in his 216 ball effort.
Yadav's run out resulted in loss of three quick wickets for Mumbai before Sandhu and Abhishek Nayar (38) came to their team's rescue.
Brief Scores: Baroda 305 all out in 86.1 overs (Pinal Shah 66, Deepak Hooda 46, Yusuf Pathan 41; Vijay Gohil 3/70, Shardul Thakur 2/82).
Mumbai 313/8 in 88 overs (Herwadkar 106, Yadav 54, Sandhu 56 batting; Mangalorkar 3/74).
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)