Ole Gunnar Solskjaer was pleased with his players' attitude and focus as Manchester United progressed to the FA Cup quarter-finals with an extra-time win against West Ham.

Having seen victory ripped from their grasp with the last kick of the ball on Saturday, the Red Devils produced a positive response to that frustrating 3-3 Premier League draw against Everton.

United had to dig deep against former manager David Moyes' in-form West Ham side, with substitute Scott McTominay meeting Marcus Rashford's fine lay-off with a thumping strike to secure a 1-0 victory in extra time.

"Of course going through is always the main thing in the cup," said Solskjaer, who is looking for his first trophy in the Old Trafford hotseat.

"And for us bouncing back after the disappointing last kick of the ball the other day, so very pleased with the mentality, how they reset their attitude and we're positive about going through.

"I think the players saw the game out really well. We are getting stronger and fitter."

Solskjaer made six changes for Tuesday's fifth-round tie, then made five substitutions to sway a tight game his side's way.

McTominay was among those brought on in the second half and went on to smash home the 97th-minute winner - the academy graduate's seventh goal in 30 appearances this season.

"Scott has really, really developed that part of his game this season," the United boss said, with this term's tally as many as he had managed in his 84 other games for the club.

"Of course we let him go into the box more often, unleash him. He's a very good striker of the ball and a very clinical finisher.

"As he was a forward or a striker in his younger days, you can see his authority when he gets a chance to finish."