0

I'm trying to figure out a way to programatically determine if a copy of windows is running inside a copy of Parallels. I have found this post with very good instructions for determining if Windows is running within VMWare, VirtualPC, or WINE, but I haven't been able to find anything similar for Parallels. How does one go about detecting Parallels?

Community
  • 1
  • 1
Grant Limberg
  • 19,335
  • 10
  • 59
  • 84

2 Answers2

1

You can detect if you are running inside Parallels if you interrogate the hardware manufacturer and model information in the .net System.Management class. This Article describes in detail how to get hardware information. If you are running in Parallels, the hardware manufacturer will return "Parallels Software International Inc." and the model will return "Parallels Virtual Platform"

Ken Haynes
  • 21
  • 3
0

Turns out that the redpill method works fine for detecting Parallels


Edit:

As Paul Alexander noted in his comment, Red Pill no longer works on Parallels. I did find another method, however. If you look up the BIOS serial number, 'Parallels' is part of the serial number string.

Grant Limberg
  • 19,335
  • 10
  • 59
  • 84