The ruling from the Administrative Court of Cologne applies to some 1,900 stations or stops, some of which require passengers to call information hotlines to find out about schedule changes.
The case was made by Germany's Federal Railway Authority, an independent body tasked with the regulation of the country's train system, and followed an inspection of two stations in the northern state of Schleswig-Holstein.
While the company has signalled it will broadly accept the court's ruling, it is reportedly considering appealing in a few of cases, on the grounds of the economic feasibility of installing the new systems.
The rail giant is also unwilling to install the devices at stops with a daily footfall of less than a hundred.
Deutsche Bahn serves 5,500 stations and stops nationwide, two thirds of which are already fitted with electronic boards and public address systems.