ED had filed cases against the erstwhile Satyam Computers Services Limited (SCSL) and its promoters.
ED's contention was that since Tech Mahindra had acquired Satyam, it automatically became an accused.
However, In June 2014, Tech Mahindra filed a writ petition questioning the criminal prosecution commenced by ED against it.
Justice P Naveen Rao held Tech Mahindra cannot be held responsible for acts committed by SCSL before it was acquired by Tech Mahindra.
ED's lawyer P S P Suresh Kumar said the agency would decide the course of its action after receiving the order copy.
Also Read
In the country's biggest accounting fraud, the scam came to light on January 7, 2009, after Ramalinga Raju allegedly confessed to manipulating his company's account books and inflating profits over many years to the tune of several crores of rupees.
In February that year, Central Bureau of Investigation (CBI) took over the investigation and filed three charge sheets (on April 7, 2009, November 24, 2009 and January 7, 2010), which were later clubbed into a single charge sheet.
SCSL was taken over by the Mahindra Group and later merged into Tech Mahindra.