CONCORD, N.H. — A Manchester man’s effort to build a veterans museum was temporarily shut down Monday amid complaints that he has spent years operating outside the rules that govern charitable organizations.

A Merrimack County Superior Court judge granted the attorney general’s request for a temporary injunction and ordered Henry Pratte to detail all funds collected and spent on behalf of Veterans Museum of New Hampshire since 2009, as well as a list of all military artifacts collected. The judge also ordered him to shut down a website set up to solicit donations.

Pratte declined to comment.

In the complaint filed last month, Thomas Donovan, head of the state’s Charitable Trusts Unit, spelled out the problems that have bedeviled Pratte’s effort to build the museum ever since he began asking for money and military artifacts in 2009.

The state says Pratte no longer owns the land where the museum is proposed, across from the state veterans’ cemetery in Boscawen. And he allegedly was seeking donations for three years without registering the charity, despite repeated written notices, phone calls and emails from the state.