Government regulators are trying to shut down a company they say secretly downloaded spyware onto the computers of unwitting Internet users, rendering them helpless to a flood of pop-up ads, computer crashes and other annoyances.

The Federal Trade Commission accused Walter Rines of Stratham, N.H., and his company, Odysseus Marketing, of luring computer users with the promise of free software that would make peer-to-peer file sharing anonymous.