WASHINGTON  Before leaving for the Presidents’ Day break, the Senate on Thursday night confirmed  by unanimous consent  more than two dozen of President Obama’s nominees to federal positions.

Mr. Obama and Senator Harry Reid, the majority leader, had warned this week that the president might use the weeklong holiday break to make recess appointments, a threat underscoring his frustration with months of delays in confirming some key nominees.

Also this week, Republicans blocked the confirmation of Craig Becker, a labor lawyer, to a seat on the National Labor Relations Board, which has been operating with only two of its five members for a few years. At an impromptu news conference, just before a procedural vote on Mr. Becker, Mr. Obama complained that he wanted Republicans to stop holding up his nominees.

In a statement on Thursday night, the president described the confirmations as “a good first step” and seemed to signal he would not be making recess appointments anytime soon.