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?
Asked
Active
Viewed 1,672 times
2 Answers
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
- 4
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
- 20,913
- 11
- 63
- 84
-
2Sadly, this is no longer true with modern versions of Parallels. – Paul Alexander Jan 07 '11 at 18:09
-
I love how serious Parallels appear to be about preventing the guest from figuring this out. :) – Hakanai Oct 27 '11 at 00:10