Beginners Guide to Installing & Configuring A SharePoint 2010 Virtual Machine Using Hyper-V Technology, Part 2: Windows Server 2008 installation and configuration for Domain Services and DNS roles

Welcome to the second part of this guide. After creating the virtual machine using the Hyper-V Manager, we need to install Windows Server 2008 and configure both Domain Services and DNS roles.

If you remember from the previous post we instructed the virtual machine to load the Windows Server 2008 image. I remind you again that SharePoint Server 2010 supports a 64bit installation and does not support 32 bit. For our sandbox I’ll choose to install the Standard release of Windows Server 2008. Click Next.

Make sure to read the license terms. If you are ok with the terms, place a check in the acceptance checkbox and click Next.

Since we are installing Windows Server 2008 to an blank hard disk, the upgrade mode is disabled. Click Custom.

Windows setup will list the drives attached to your virtual machine. If you followed the previous post then you will have one disk drive only. Select the disk drive and click Next. You don’t need to worry about partitioning and formatting the disk drive because setup will do that automatically for you.

Setup will now start installing Windows.

When the Windows setup finishes the installation process, it will boot into the new Windows installation. You will be asked to change the administrator password. Click OK.

Fill in the new administrator password. I use the complex P@S$w0rd for my sandboxes. Microsoft on the other hand uses mostly Pass@word1 for their demo virtual machines. After filling the password click on the blue arrow button.

If the password matches the complex password policy and both password fields match then you will get the below screen, otherwise you will be prompted with an error message. Click OK.

The first thing you will see when Explorer loads up is the Initial Configuration Tasks.

Before we move on configuring the roles, we need first to install the Hyper-V Integration Services on our client virtual machine. To release your mouse cursor from inside the Virtual Machine Connection press CTRL + ALT + Left Arrow. Click on the Action menu and select Insert Integration Services Setup Disk.

The setup disk will be mounted and an auto play dialogue will appear. Click on Install Hyper-V Integration Services.

The Hyper-V Integration Services setup will start the installation process on the guest virtual machine.

After setup finishes the guest components installation it will prompt you for restart. Click Yes.

During Shutdown 2 of 3 updates will be installed.

After the restart the 3rd update will be installed.

Click on the CTRL + ALT + DEL button on the Hyper-V Virtual Machine Connection toolbar.

Enter the password we specified for the Administrator account in the first Windows boot and click the blue arrow button.

We need to specify a name to our virtual machine. Click on Provide computer name and domain.

Click on Change.

Fill the name down and click OK. I used SP2010.

You will be asked to restart in order to apply the name changes. Click Restart Now.

After specifying a name to our virtual machine, we need to configure a fixed IP address on our Network adapter. We need the fixed IP address to be able to install the DNS role.

Right click the Network connection tray icon and click on Network and Sharing Center.

Inside the Network and Sharing Center click on Manage Network Connections.

Right click the connection adapter and select Properties.

Double click Internet Protocol Version 4 (TCP/IPv4) and specify the IP addresses like the screen shot below and click OK.

 

After clicking OK, Windows will assign the fixed IP addresses to our Network adapter. Go back to the Initial Configuration Tasks and click on Add roles.

The Add Roles Wizard will be launched. Click Next.

Choose Active Directory Domain Services from the Roles list and click Next.

The Active Directory Domain Services role wizard will be launched. Click Next.

A summary of selected roles to be installed will be displayed for confirmation purposes. Click Install.

The wizard will start the Active Directory Domain Services setup.

The wizard will display a summary of the installation tasks when it is done. Click Close.

After we are done with installing the Active Directory Domain Services we launch the Domain Controller Promotion wizard to configure our Domain Services. Using the Run dialog type dcpromo and click OK.

The Active Directory Services Installation Wizard will be launched. Click Next.

You will get a warning about some compatibility issue. Nothing concerns the Snadbox setup. Click Next.

Select Create a new domain in a new forest and Click Next.

Specify the domain name. For my sandbox I used isharethepoint.local. Note that it is a good practice to use .local instead of .com or .org etc.. because your requests will be served by the local DNS first. So if you setup a site locally with Microsoft.com host header then you won’t be able to access Microsoft.com on the internet from any computer using your DNS. Click Next.

Choose Windows Server 2008 and click Next.

Select DNS Server and Click Next. This will setup my domain controller with the DNS server role.

Leave the default values for the database and log file locations. Click Next.

Specify a password in case of restore mode. Nothing concerns our Sandbox. Click Next.

A summary will be displayed at the end of the wizard. Click Next.

The wizard will launch the installation process.

When the wizard finishes the installation process it will display a summary of results. Click Finish.

You will be asked to restart for the new changes to take effect. Click Yes.

After the restart you will notice that the domain name is added before your user name. This means that you are using the domain user account.

We are done with the second part of this guide. In the next post we will install and configure SQL Server 2008. If you faced any problems during the installation and configuration, please don’t hesitate to contact me :-)

12 Comments

  1. Luke Vivolo says:

    A video would be nicer thanks

  2. I will post a video once the RTM is available.

  3. Terrific work! This is the type of information that should be shared around the web. Shame on the search engines for not positioning this post higher!

  4. Spink says:

    That was interesting . I like your quality that you put into your post . Please do continue with more like this.

  5. Chris Evans says:

    Many Thanks for the post. I was quite confused about this issue, however your post has cleared it up :)

  6. Frank says:

    Thank You!!!! for publishing the Beginners Guides…These Guides are the best I have found on the internet. This cleared up all of the issues that I had.

  7. Amy says:

    Terrific work! This is the type of information that should be shared around the web. Shame on the search engines for not positioning this post higher!

  8. Karine says:

    Hi,
    Thanks for this nice beginners guide. But I have a question: I intalled my Active Directory Domain Services role before I configured the static IP address. Is it enough to execute the dcpromo wizard? Or do I need to do something else?
    Thanks in advance for your advice
    Karine

  9. DCPROMO can use dynamic IP assignment. This is not recomended, because DNS records pointing to your virtual machine will be incorrect if your virtual machine gets a new IP. Since you have ADS installed you can run DCPROMO. ADS and static IP assignment are not associated in any order.

  10. Karine says:

    Hi Bander,
    Thanks for your swift answer! So I think I can run DCPROMO. In the meanwhile I have set up a virtual network to which my two VMs can connect. So I suppose that my webserver VM can now communicate with my database server vm?
    Karine

  11. Yep =) Also make sure to double check on the database server ports. At least you need 1433 to be open. You need also to enable the TCP/IP and Named Pipes from the SQL Server Configuration as well.

  12. Instead of posting this much images you could have used A video :)
    Still good article .

Leave a Reply