Creating our File Server

The next server we are going to be building is our File server. This will provide shared storage for our Environment. From Shared drives, to home profiles, and much more.


So, run through the same build from template process we did when creating our Domain Controller instead obviously call the server something else.


Assign the required resources to the VM.


At this point we want to make sure our VM has the required drives. This can be done after it is built, but I’m going to do it now.

I’ve created 2 50GB drives and a 100GB drive.


Share drive – 50GB

Home drive – 50GB

ISO drive – 100GB

Run through the sysprep build settings with your desired configurations.

Next we want to Rename the VM.

Reboot when prompted.

Now we want to join the machine to the domain: Use the full domain name. You can use the NetBIOS Domain name if required.


Often I get an error saying there are no DCs available, or cannot be contacted:


This is because the VM has a router assigned the IP address and the VM is using the router/default gateway for DNS, and obviously, the Router doesn’t have our named server records. So, if you didn’t disable DHCP on your router we will need to manually point the VM to the DC.

You need to set your VM NIC to the DNS server.


Now try to join the VM to the Domain. It should now join


Reboot again when prompted.


We need to assign an IP to the File server now, this can be done prior to joining the domain, so we need to set up DHCP and DNS records for this server. So, if you go to the Network tab on Xenconsole:


Copy the MAC address of the vNIC

Go to your domain controller, open DHCP, expand the domain, IPv4, and our Scope, right click on Reservations and New.


Open up DNS Manager, Expand the DC, Forward Lookup Zones, Domain Name, Right click and add New Host (A or AAAA record). Add the server host name and IP address, ensure PTR record is selected.


Reboot again

The vNIC in XenConsole should show our IP address we assigned.


Now we have our VM with a static IP assigned in DHCP, you can check DHCP to ensure it has been assigned. Go to the DHCP console and check Addresses Leased – Should show as active.


So now we want to format the drives we added earlier:

Right click the start menu, and select Disk Management.



The VM should show there are 3 disks that require initializing. Select OK.


Select each disk and right click “New Simple Volume”


Select Next

Confirm the amount you want to create from the available storage.


Select which Drive letter you wish it to have:


Give a name:


Next and completed, the drive should then turn Blue in the Disk management console, after a quick format.

Complete the same for the next two drives

If you are not able to remember which drives are what, you can look back at the XenConsole under Storage and it will tell you what position the drives fall.


They should now appear in Disk Management as below:



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s