In a virtual enviroment such as Vmware Worksation or Vshpere 5, when you are installing Microsoft Windows Server 2012 you may come across the error below. This can also applied to Windows 8.
This is down to “Easy Install” trying to be to clever. To get around this do the following, instead of selecting the OS you want to install as seen below.
Change the selection of your OS to “other” and 64bit. As seen here.
You will now find that when you boot the os you will not receive the Server 2012 Windows cannot read the <ProductKey> setting from the unattend answer file error and the system will boot fine allowing you to install server 2012 or Windows 8 depending on what you are installing.