Never done it, but could you WMI Query the manufacturer?  iirc, the
'manufacturer' of all my VMs make it obvious it's a VM.
http://techsupt.winbatch.com/TS/T000001002F11.html
 
 

________________________________

From: James Rankin [mailto:[email protected]] 
Sent: Monday, August 24, 2009 10:37 AM
To: NT System Admin Issues
Subject: Detecting virtual machines


Does anyone know of a good way to detect whether a server is virtual or
physical through a script of some kind? I am currently filtering some of
my GPOs via security group membership and I have one group for physical
servers, another for virtual. I am wondering if there is some way I can
run a startup script that will, when a machine is first joined to the
domain, identify whether it is a virtual machine or not, and add it to
the correct security group accordingly. This would save me the headache
of trawling through new-build machines and adding them to the right
groups. I am using VMWare ESX 3.5 for my virtual machines. All
suggestions gratefully received...


TIA,



JRR

-- 
"On two occasions...I have been asked, 'Pray, Mr Babbage, if you put
into the machine wrong figures, will the right answers come out?' I am
not able rightly to apprehend the kind of confusion of ideas that could
provoke such a question."

http://raythestray.blogspot.com


 

 


~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to