If landlords wouldn't act to have an engineering inspection, Williamson said, he would reveal those buildings but he cited legal advice in the process.
"Frankly, if they won't get them done, then the best way to do it is to make that list public which I will do, even getting legal advice about what rights I have got. But I can resort to naming them in the House under parliamentary privilege," Williamson told Radio New Zealand.
That would result in an horrendous situation, with tenants "running for the hills", he said.
Williamson said just because a building had non-ductile columns did not mean it was unsafe.
"If such buildings are balanced out by other design features they pose no greater danger than other buildings. The CTV building failed catastrophically due to many more issues than just non-ductile columns," he said.
Andrew Cleland, Institution of Professional Engineers chief executive, said no building would be able to withstand a huge earthquake so the issue was about managing risk.
"Someone at the end of the day has to pay the bills for this work," Cleland said.
Williamson has introduced the Building (Earthquake-prone Buildings) Amendment Bill into Parliament. That implements the Government's policy on the management of earthquake-prone buildings released in August.
As many as 25,000 earthquake-prone buildings will be identified within five years of legislation taking effect. Building owners will then have another 15 years to strengthen them or have them demolished.
But landlords with heritage buildings will get special leniency - extensions of up to 10 years will be allowed for category 1 heritage buildings and those on the proposed National Historic Landmarks List.
Exemptions will be available for buildings where the impact of failure is low, such as farm outbuildings. Houses will not be captured by the new law.
Connal Townsend, Property Council chief executive, said when the issue was last discussed in his organisation, the unanimous response was that it would be pretty hard to sympathise with a building owner who had promised to get an engineer's report and then had failed to comply.
• 342 buildings in government review.
• 176 have been cleared.
• 59 have been excluded.
• 14 buildings without engineering assessments.
• Auckland: 158 in review, 99 assessed/cleared, 59 remaining.
• Wellington: 37 buildings assessed and cleared, one vacated.
• Christchurch: 13 in scope, 12 demolished, lacked non-ductile columns or acquired for demolition. One cleared.
- Source: Maurice Williamson, Building and Construction Minister