usha
usha

Reputation: 29369

How can I find if Windows is running on a VM or on a physical machine?

I have a Windows server where we run some of the project managements services. I usually remote desktop into it to manage the service.

The service has become really slow and the documentation says that it’s not advisable to run the service on a VM.

How do I find out if the Windows install is running on a VM?

Upvotes: 8

Views: 50525

Answers (3)

user6751391
user6751391

Reputation: 51

For Windows, click Start → write msinfo32 → press Enter.

System manufacturer info will display "VMware. Inc" if it is a VMware VM. Probably other VM platforms like Hyper-V, etc. will also fill this information.

Upvotes: 5

Samuel Nicholson
Samuel Nicholson

Reputation: 3629

You could take a look through Device Manager. You'll most likely have quite a few VMware of virtual drivers that you wouldn't get on a physical machine.

Also you could type systeminfo into a CMD window and if it says "System Manufacturer: VMware, Inc." or similar instead of Microsoft Windows then you'll be able to work out of the setup_ is virtual or not.

Upvotes: 8

Waman
Waman

Reputation: 1179

Try this code:

@echo off
systeminfo > temp.txt
findstr /e "System Model:              Virtual Machine" temp.txt
del temp.txt
if errorlevel 1 (
    echo Physical machine

) else (
    echo Virtual machine
)

Upvotes: 1

Related Questions