How to Contact Us

callback Request Callback
enquiry form Enquiry Form
email info@help4it.co.uk
telephone 0800 043 4448
fax 0845 257 4449
address London HQ
61 Queen Street
London EC4R 1AF

Inside Track!

Inside information directly from help4IT technicians

Nov 15
2009

Unable to activate Windows after virtualization

Posted by: Tom Finnis

Tagged in: tips and tricks

I've been migrating a client to vSphere 4 this weekend and have encountered this problem with all their servers, and its not the first time either so I thought I should share the solution.

This is most common with Dell servers and their so called "OEM" licensing, and its another one of their sly cost-saving measures that you dont notice until they really cause you a hassle. To elaborate a bit more, you  may or may not be aware that OEM stands for Original Equipment Manufacturer, and such a license is supposed to only be used once on the hardware it is supplied with. HP are more honest about their licensing and offer two types of OEM license, Standard and "BIOS Locked", which sometimes appears as "Restricted OEM" if you run a system information tool such as Belarc. The difference is quite major, standard OEM will require re-activation after a significant hardware change whilst BIOS Locked will not re-activate after a change. You can guess which version is cheaper, hence why Dell use it, but its hard to tell beforehand as they do not tag it any differently.


Its always a good idea to use a tool such as Belarc to get a full system report before you start a conversion, here's part of my one:


Dastardly Dell fail to mention that this is actually an OEM-Restricted license....


Since converting a server to a virtual machine represents a significant change of hardware it will initiate the re-activation process, with standard OEM you will just get the popup reminder after you have logged in. BIOS locked OEM however will not let you get past the logon prompt, even in Safe Mode, you have to complete the re-activation process or shut the system down. Seems simple enough until you go through the process, probably having to use the "Telephone" option as you can't configure the network properties beforehand, and after typing all the numbers you will end up with a Microsoft operator telling you to contact Dell (or the original hardware supplier).

You've probably already spent all the time on the phone to Microsoft and Dell getting nowhere, but if you haven't yet then don't bother. The only way you will get it to activate at this stage is to obtain a new OEM product key and I haven't found a way to convince them yet. There is a not too painful solution though, but it might cost you a new license:

You need to obtain a license key for the version of Windows that you are running that you know will activate and the media to go with it. It doesnt matter if your VM is Windows 2003 R1 and you can only get an R2 license and media, this process will still work and you'll get an R2 update as a bonus. Try and make sure that the media is the same service pack level as the VM though otherwise you may get a lot of errors until you can reapply the service packs later.

Boot your VM off the Windows CD you have obtained, if you are using ESX then you will probably have to go into the virtual BIOS and change the boot order first, and the install process will start. Select the option to install Windows and it will run a scan for existing installations on the hard disks, if at this point it says it can't find any hard disks then you need to check what the virtual SCSI controller is. This is only likely to occur with ESX as HyperV and Xen both use IDE, if the controller is "BusLogic" then try changing it to "LSI Logic Parallel" and you should find the installer recognises it next time. 

The Windows Setup routine should find your existing installation so select the option to repair it, then let it run through the re-install process. About halfway through it will prompt you for a product key, enter the new one you have obtained and it should accept it, if not then you haven't got the right media to match the key type - OEM keys need OEM media, Volume License needs VL media and retail needs full retail media. 

There is another issue which sometimes pops up if your server has .Net 2 installed, you may be prompted for the CD2 media as it wants an "install.exe" file, but this isn't anywhere on the Windows Server media. To get round it you have to download the dotnet2 redistributable and use a program such as 7zip to unpack it (you'll see the install.exe in there!) and then another program such as ISOrecorder to turn it into an ISO. Mount your new ISO on the VM and the installer will happily continue, I've also heard the same thing can occur with IE 7 or 8.

Once the installer has completed the server will reboot and this time you should be able to login without any problems. Before you do  anything else though I advise running Windows Update as the repair process will have effectively uninstalled every update released after the media date.

Comments (2)Add Comment
0
...
written by Patrik, January 07, 2010
I just migrate our physical Windows XP machine (Dell) into a VirtualBox machine to realize I have run into this very problem. I have another OEM XP Pro cd but can't seem to repair it. When I choose to install Windows XP from the CD and hit F8 to accept the terms the installation doesn't seem to recognizse the current installation. It says "Partition1 [Unknown]" and claims no harddrive space is in use. I only have the option to completly re-install Windows from here.

Any clues?
Tom Finnis
...
written by Tom Finnis, January 07, 2010
Most Dell desktops have a hidden utility partition on the hard disk that can cause problems after virtualisation, which I suspect may be your problem here. The Windows installer is looking at the first partition on the disk and getting confused.

The easiest option if possible may be to run the virtualisation process again, but this time manually specify the partitions to convert and ignore the small utility partition. Otherwise you may need to use a third party boot disk to removed the utility partition and make sure the main Windows one is bootable.

Write comment

busy