Setting up a Windows Virtual Machne
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Setting up a Windows Virtual Machne

  1. #1
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,451

    Setting up a Windows Virtual Machne

    It's often recommended to use a Virtual Machine when trialling downloaded software and I know a lot of the devs here use VM's regularly. But what's involved in setting up a VM? I've heard about free packages called VMware and VirtualBox. Are they the best thing to use? And what benefits does a Virtual Machine offer? (presumably they can protect against viruses to some extent ?)
    "A problem well stated is a problem half solved. - Charles F. Kettering

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    5,787

    Re: Setting up a Windows Virtual Machne

    We use VMWare. It is very easy to set up. From File menu, choose new Virtual Machine. Change the settings as needed (amount of memory to be used etc), insert the OS install DVD and it will install as if on a physical computer. When completed you then do File, Open and open the newly created virtual machine. You'll need to install the appropriate drivers etc but this is easy from VM menu, Install VMware Tools. The disk(s) for the virtual machine are just file(s) on the host os which can be copied etc etc. If you get a problem with the VM (virus etc) then just override the file(s) with a previous copy and you're back up and working. Enterprise versions of VM provide a lot more functionality - but these are expensive! You can have multiple VMs open at one time (depending upon how much physical memory is installed in the host computer) and they can be networked - just like actual computers. I can have several complete domains (PDC, BDC, member server, XP, W7, W10 etc) running on my laptop (for different OS versions). Note that for each OS you install as a VM you still need a valid licence with activation codes required if needed. We use them as test beds for new hotfixes, testing new software, new releases, old versions etc etc.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++17 Compiler: Microsoft VS2017 (15.4.1)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)