In attempting to install VMware vSphere PowerCLI on Windows Server 2008 x64, the following error comes up. This also happens on Server 2008R2.
Error 1406. Could not write value InstallPath to key \Software\VMware, Inc.\VMware vSphere PSDK Runtime. Verify tha tyou have sufficient access to that key, or contact your support personnel.
The prescribed fix for this is to remove the following registry key (and subkeys):
*** Please make sure you know what you are doing in the registry before you do anything in there!!!
After that, installation proceeds successfully.
The only thing under the VMware, Inc. registry key is a "volatile" key with a UUIDHost DWord under it. Since I don't like to mess with other programs installed on the server (the one I was using has Quest vRanger installed), I exported the key, removed it, installed PowerCLI, and the imported my volatile key back in.
I just ran into the same problem. In my case, I clicked "Ignore" on the errors. What could possibly go wrong? :-) After I read your post, I exported the volatile key, re-ran the install which then offered the "Repair" option, then imported the key.ReplyDelete
Works fine now!