Inside Microsoft Dynamics GP

Get the latest inside scoop directly from the Product Marketing team!

Dynamics GP2010R2 Hyper-V Image Setup

Dynamics GP2010R2 Hyper-V Image Setup

Rate This
  • Comments 11

There have been quite a few people having issues and/or questions about the new 64-bit Hyper-V Dynamics GP demo image set.  I’ll try to cover what I did to get the image up and running.

I downloaded the image set (A, B, C images) to my hard drive and then “installed” (uncompressed) them to my D drive, specifically I set the directory to install them to as D:\Images\GP2010R2HV64. 

Then I started Hyper-V Manager.  When you start it, if you haven’t installed any Hyper-V images in the past, you should see something like the below image:

 

Once you are there, you’ll see “Virtual Network Manager”.  When you click on it, you should see something like:

 

Now, it is very important that you add a new virtual network.  Click New virtual network, select Private, click Add (Name: GP2010, Connection type: Private virtual machine network), click OK.  The name MUST be GP2010.

For Internet access from the VM a second virtual network (Connection type: External) is required.  Repeat the above “New virtual network” but select External (Name: [any name can be used], Connection type: External).  If you have an existing virtual network you can assign it to the VM after import.

NOTE:  The most import thing in the setup is creating the Private Virtual Network adapter with the name GP2010.  Not doing so will cause all kinds of networking issues that will break just about everything.

After setting up virtual networks, the next step is to import the three virtual machines.  Importing them does not mean that you have to use/start them, as most of the time you’ll start the A image, then the B image, and only if you’re doing a Lync demo will you need to be concerned about the C image. 

To import them, click Import Virtual Machine…Browse to the folder GP2010-A in the output location (in my case D:\Images\GP2010R2HV64\GP2010-A).  Import Settings: Move or restore the virtual machine (use the existing unique ID) and click “Import”. 

Repeat this step to import the GP2010-B virtual machine, selecting the directory appropriately.  In my case D:\Images\GP2010R2HV64\GP2010-B.

Repeat this step to import the GP2010-C virtual machine, selecting the directory appropriately.  In my case D:\Images\GP2010R2HV64\GP2010-C.

 When you’re done, you should have something similar to this:

 

Next, internet connections need to be set up for each image. Select the GP2010-A image, go to Settings, and select “Network Adapter” to add a new network adapter and select your external connection, similar to the screenshot below:

 

Once you have done that, click on Apply and OK to close it.

Repeat this for GP2010-B and GP2010-C.

Either during this process, or when you do the next process of activating windows, you will likely see that you will need to “Restart Now” the image.  This is because the network drivers will be loaded and linked to your laptop’s network interface card.

 

Windows Licensing Model

With Microsoft GP 2010 R2 we are not using the time-bombing technology, but instead we have installed an evaluation version of Windows Server 2008 R2. The evaluation period for Windows Server 2008 R2 is 180 days, and you are given 10 extra days in the beginning to activate the image. During these 10 days you should activate Windows via Internet. (Product key not required) After that you are given 180 days to use the image. You will be able to extend, or “rearm”, the evaluation period three times, which gives you in total 720 days + 40 days for activation. The count down for evaluation period will start once you activate Windows.

Windows Activation

When you run each of the virtual machines for the first time or first time after the “rearm”, you should activate Windows within 10 days.  Start GP2010-A first, then do below steps under Description, then Start GP2010-B, again complete the two steps below, and finish by starting GP2010-C and doing the two steps below.

Please note that you should log in to each image as “Contoso\Administrator” with a password of “pass@word1”.

Description

Screenshots

  1. In order to activate Windows, click Start, and then type “Activate Windows” and <Enter>.
  2. Under Windows activation click Activate Windows online now. Follow the wizard to complete the activation.

Note that you need to have Internet Connection on the image to activate the Windows over internet.

Windows Rearm

Once you have activated Windows you are given 180 days of evaluation period. After 180 days are over, you can extend the evaluation period for the same number of days – maximum three times. The section below shows how to “rearm” Windows and provides several useful commands to track the remaining number of days and rearms.

 

Description

Screenshots

  1. In order to “rearm” Windows on the image, open a command windows and type the following:

slmgr -rearm

  1. After you run the “rearm”, you will need to activate Windows again to continue using the image. See Windows Activation

 

Best Practice

It is recommended that you do all your customization on the virtual machine during your first evaluation period (first 180 days), and then you run rearm command, shut down the machine and save it. The benefit of this is that you can start your image again whenever you want it, it can be in a week, a month or more, but once you start the image again, you have 180 days ahead of you. To the contrast with the time-bomb technology you were bind to a specific date when the VM expires.

Commands to track remaining number of days and “rearms”:

To see the remaining number of evaluation days and “rearms”, in Command Prompt on the image type slmgr.vbs /dlv

At this point, you should have internet access on all images, you should have completed activation of all images, and you should be ready to take advantage of the image.

 

Dynamics GP 2010R2 64-bit Hyper-V FAQs

  • On the GP2010-A image, if you log in, there is a “Start Services” icon on the main desktop, but when the you try to run it, it gives you errors. – The errors are fine. Some of the Windows Services will not start but need to be set to automatic. The script is primarily for Exchange and Lync services. So you can safely ignore the errors.
  • On the GP2010-B image, if you log in as ‘sa’, there is a “rsSharePoint” icon on the main desktop.  What is it for? – You should not log in as Administrator, rather log in as Contoso\Administrator, and you won’t see that icon.
  • On the GP2010-B image, if you log in as ‘sa’, Outlook is not set up. – Log in as Contoso\Administrator and it’ll work appropriately.

 

I know there are some other concerns with how to access functionality, and I will begin documenting that as well, so look towards future updates in that regard as well.

Jay Manley

Leave a Comment
  • Please add 5 and 5 and type the answer here:
  • Post
  • I have had trouble in the recent past with other Microsoft Hyper-V Images where I am not able to import the image correctly. I have found that this is because my main Hyper-V host box here is only running Windows Server 2008 with Hyper-V as opposed to Windows Server 2008 R2 with Hyper-V. Has anyone gotten around this before? I don't think it is the best way to do it, but I have just taken the VHD files from these images and attached it to a new VM.

  • Corey,  using the above, I have had no issue importing the H-V images at all on several boxes, some that were "clean" and some that had several existing H-V images on them.  Let me know if you have issues with this new VM set as you shouldn't (they were built using Win Server 2008 R2).

  • Thanks Jay. I will let you know once I get the image downloaded.

  • My issue is that Hyper V has to be run on a Server.  Currently I run VPC on a laptop for demo's.  Now thanks to Microsoft changing to Hyper V I can no longer use my laptop and have to havee the demo's on an in house server and then link in while at a client site via the internet.  

  • Mark - While the Hyper-V needs to be run on a server OS (best if run on Windows Server 2008 R2), you can set up your laptop in a dual-boot scenario.  That is what I am doing right now.  My normal OS is still Windows 7, but I dual boot into a Windows Server 2008 R2 Hyper-V image, which I then run the Dynamics GP Hyper-V image within.  Its a really cool way of setting up a laptop because you're not really installing two full OS's, one (the Win2008ServerR2) is a Hyper-V onto itself.  You can run it in this mode with just 8Gig of memory.

  • In this Demo Virtual Machine is isntalled the analysis services cubes for GP? i can't find it.. or i need to do a setup of the cubes?

  • Cubes are not set up currently.

  • I have followed the instructions but still cannot access the internet from the image (and therefore cannot activate windows).  Is there another step or something that I'm missing?

  • The instructions work.  You need to make sure you set up the connections for the network precisely as described above.  If you do not, you won't have internet access.  

  • I have activated windows as per the instructions - how do I now activate Office? I am getting the "will expire in xx days" message

  • Ray, you shouldn't need to activate Office at all.  Can you let me know if you're "changing the dates" on the image when you're starting it, or are you leaving the dates to "today's date"?

Page 1 of 1 (11 items)