I'm checking out the trial version of Parallels to
run Windows XP on my Windows Vista system. So far, I like it a lot. Yet I'm
concerned about viruses and surfing the net using my XP-"guest" virtual
machine. I've searched online and can't seem to get an answer on if I
need to install antivirus software on my guest machine as well? Also do
I need to reinstall all applications on my guest machine? I see that I
can share folders but can I also share apps?
Virtual machines are, to me at least, incredibly amazing pieces of
technology. They're powerful in that they let you run multiple
different operating systems on the same machine at the same time, as
well as really being able to protect that machine from whatever happens
within a virtual machine.
The problem, of course, is that it's very difficult to conceptualize
what a virtual machine is.
The short version is consider your VM as if it were a completely
separate physical machine, and make your decisions accordingly.
Let's see why that is.
]]>
A virtual machine or "VM" is a software simulation of an actual computer that you run on a real computer.
Seems simple in words, but harder to imagine.
So let's look at this picture of a part of my desktop:
You'll notice that there's a Windows XP taskbar along the very bottom of that screen shot. That's the task bar of my Windows XP that runs on my desktop machine where I'm working.
In the background you'll notice a Firefox Window open on Google.
In the foreground, however, you'll notice a Window that also has its own taskbar and start menu. That is a window to a virtual machine using Parallels Workstation that is also running Windows XP. And within that window you can see I'm running Internet Explorer, also open on Google.
The virtual machine acts almost exactly as if it were on its own physically separate computer. It has its own Windows, its own Start menu, its own software, registry, users and settings. It also has disk space allocated to it that it treats as its own separate hard disk. In fact, other than being hosted on my desktop, what happens inside this virtual machine is almost entirely unrelated to and separate from what happens on my desktop machine.
And that's by far the best way to think about it: it's a separate machine that through the magic of virtualization just happens to share some hardware with the host machine.
So, in light of viewing it that way, let's look at your questions again:
|
The point of confusion may be the fact that you can easily share files between your VM and your host machine. But think about it: you can share files between two separate computers as well, via networking. In fact, that's all that VM/host file sharing is - a form of network-like access between the VM and the host machine. The two remain as if they were two separate and distinct physical machines.
Virtual machines are incredibly powerful for certain applications if used properly. But by far the best rule of thumb to follow when understanding how they work is simply that they are separate machines.
I’ve been wondering, if I have files that I suspect have been infected by viruses, or that my virus shield (maybe falsely) reports as infected, would it be safe to run and use those files in a virtual machine environment, leaving the host computer unaffected? From this article it sounds like it.
I would also take care with any software that attempts to share disks between the infected virtual machine and the host machine.
You might also consider disabling the virtual network adapter in the virtual machine.
13-May-2009
Hope I’m not shunned for reviving an old thread here, but I read through Leo’s rules and it doesn’t seem to be frowned upon…
OK, I’m going to confess my IT n00b status in the area of VM’s. While I’m an IT professional, I have yet to work with any VM software. I’d like some recommendations on what to use. Are there any open-source (free) solutions with a good history? I run Windows XP exclusively and prefer to avoid Linux (any flavor). Anyone have suggestions?
Microsoft currently offers Virtual PC 2007 for free on their website:
http://www.microsoft.com/windows/virtual-pc/support/virtual-pc-2007.aspx
VPC 2004 is available also.
I use Virtualbox which can be found at http://virtualbox.org. It is simple, easy to use, and has low overhead on the host ;)