Microsoft had argued that the transfer of Dr Kai-Fu Lee from Microsoft to Google China violated the company's confidentiality and non-competitive agreements. Lee held a position as head of research and development at both companies' China offices.
Google disclosed that it had hired Lee on 19 July, and insisted that he would not be doing anything that would conflict with the work he did at Microsoft.
But Microsoft stated in its legal complaint that Lee had played a key role in its China operations and had worked on search technology.
The restraining order issued by Judge Steven Gonzales prevents Lee from working on search technology, business strategy, planning or development or any other area in which he worked while at Microsoft.
The next hearing in the case is scheduled for September.
Facebook suspends Cambridge Analytica following weekend claims that it illegally harvested information from 50 million users
Insider claims Cambridge Analytica used academic app to filch Facebook data of 50 million users
Is the Samsung Galaxy S9+ worth its high price?
STK will sell Wileyfox smartphones and provide support
Despite the failure of Google Glass, the company is still investing in augmented reality