WASHINGTON — President Obama is expected to sign an executive order on Thursday that could make it harder for companies that violate wage, labor and anti-discrimination laws to win federal contracts, administration officials said on Wednesday.

Under the order, Mr. Obama will require federal contractors to disclose any labor violations that their companies committed over the previous three years, with government procurement officials then being advised to steer clear of those with repeated and egregious violations.

“The president’s view is that taxpayer dollars should not reward corporations that break the law,” said an administration official, who insisted on anonymity because the executive order had not yet been issued. The order would affect about $500 billion a year in contracts like those awarded to make Navy uniforms and run federal cafeterias.

Mr. Obama is scheduled to announce the order on Thursday, just a day after the House of Representatives voted along party lines to press forward with a lawsuit against the president that accuses him of excessively using executive authority to promote his agenda.