Tuesday, December 28, 2010

VMware Workstation 7 installation problem - "Failed to create the requested registry key"

This morning I've been struggling with an issue I encountered while installing VMware Workstation 7 (7.1.0-261024) on my laptop running Windows 7 Professional 64-bit. I was prompted with an error right after the installation process just started:

Failed to create the requested registry key
Key: Installer
Error: 1021

I tried to search Internet for helps as usual but none of the suggestions worked in my case. Finally I decided to try something on my own based on what I'd learned from their explanations. It looked like there's some permission issue with the VMware installer writing a key into my Windows Registry since I updated my Windows 7 just recently (note that I had been able to install the same VMware version on this particular laptop before I re-formatted my Windows 7 and updated the latest patches). The 'key' here is referring to {HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.}.

What I did was, uninstalled the existing VMware Remote Console on my laptop (I was using VMware Server as well), then did a search-and-destroy of those suspicious keys in my Registry. In fact, you must uninstall all other versions of VMware products before you can install a different product (the installation process would automatically prompt you to do that but in my case the problem hit before that). And use the keyword 'vmware' to search for targets to delete in your Registry (basically I only deleted those keys which were supposedly used by VMware programs only but not Windows). The rule of thumb is to backup your Registry of course.

Then I tried my luck again, and wholla! It finally completed the installation. Credits to my predecessors who faced the same problem and shared their ideas on the mighty Internet.

Monday, December 6, 2010

Flickr ~ Don't try this at home kids.


Don't try this at home kids., originally uploaded by kennymatic.

Wow... I can use that too!