VMware vSphere Client on Microsoft Windows 7!

Heiko Verlande has found a way to run the VMware vSphere Client on Windows 7. Too bad this howto is in Dutch, many people could benefit from this information. That’s why I’ve create a simplified translation of his post. Find Heiko’s original post here: VMware vSphere client op Windows 7 (build 7127).

Running the vSphere Client on Windows 7

  • Copy System.dll (%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\) from a non-Windows 7 system with Microsoft .NET 3.5 SP1 installed to the Windows 7 system (or download it from Heiko’s site).
  • Place the file in C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib\.
  • Edit the VpxClient.exe.config file (C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\). Add the following:
    <runtime>
    <developmentMode developerInstallation="true"/>
    </runtime>
  • Add the DEVPATH variable via Control Panel → System → Advanced System Settings → Environment Variables to the User Variables. Reboot after these steps.
    DEVPATH=C:\Program Files (x86)\VMware\Infrastructure\Virtual
      Infrastructure Client\Launcher\Lib

Update

A lot of people commented on this post, that even after applying this workaround, the vSphere Client still doesn’t work. Michaelm comments on the problem: please make sure you re-type the quotation marks after copy/pasting above information into VpxClient.exe.config. The quotation marks get screwed up by the layout on the blog.

Secondly, make sure you add the DEVPATH variable to User Variables and reboot afterwards. This will let you run the vSphere Client as a normal user.

45 Responses to “VMware vSphere Client on Microsoft Windows 7!”

  1. Stefan Says:

    I get “Please enter a valid server name” when using a IP address to vCenter… Any help?

    thx


  2. Millman Says:

    Same here!

    “Please enter a valid server name”


  3. Hal Rottenberg Says:

    Here’s the batch commands in PowerShell:

    $env:DEVPATH = “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib”
    & “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe”


  4. Michiel Dijcks Says:

    I find that setting the DEVPATH var a system-wide environment variable via system settings works even better. That way you do not need to run the batch file as an administrator, and hence you do not need to run the vSphere client as administrator, which has my preference.


  5. j.piscaer Says:

    Michiel, that is absolutely true, thanks for your addition. Will ammend it to the blogpost this weekend.


  6. xyz Says:

    “Please enter a valid server name”

    Same here… any suggestions?


  7. SBE Says:

    Bonjour,
    The original solution works fine, but (as Stefan, Millman say) something’s missing :
    VpxClient.exe had to be run in “XP SP2″ Compatibility mode.
    todo:
    -right-click this file, properties, compatibility tab, make your choice…
    or,
    richt-click, Troubleshoot Compatibility (which is pretty cool).


  8. Wildman3170 Says:

    This thing is still telling me to enter a valid server name… IP address doesn’t work! Any help? Please! Win 7 is crazy!


  9. Chrizn Says:

    Wildman3170, Run the Command file as an administrator (Right Mouse Click over it and choose Run as Administrator) That will remove the server error.


  10. Mike V Says:

    Works great – thanks! For the non-programmers like me – make sure the runtime directive falls within the configuration directive.

    ie:


  11. Mike V Says:

    Last comment got chopped so the beginning of the file should be in this order:

    configuration
    runtime
    developmentMode
    /runtime
    system.net


  12. Viktor Says:

    Everything works fine! Don’t forget to put the

    ” part between the ” ” options in the xml. If just add it to the file, the trick won’t work.

    Viktor


  13. Vladan Says:

    Salut Joep,

    It worked for me. I just had to configure the vsphere client to be runned in compatibility mode for Windows XP SP2. (right click on the shortcut > properties > compatibility.

    My laptops is on W 7 Ultimate.


  14. JAKE Says:

    Anyone get this to work on Windows 7 RTM it is not working for me, same error as before.


  15. Matt Says:

    I too cannot get this to work on windows 7 rtm


  16. gene Says:

    Does this only work on x64 versions of windows 7 or x86 as well? I can’t get it to work for the life of me, i tried everything in here even the compatibility mode.

    I’m running the RTM version of Windows 7 as well.


  17. Billy Says:

    Remeber the example above is for 64bit so you have to replace any reference to “C:\Program Files (x86)\” to C:\Program Files\” for the 32bit flavor.


  18. KENZO Says:

    Great procedures to enable vShepre client.


  19. Virtualization Bookmarks for August 28th | VMtoday Says:

    [...] VMware vSphere Client on Microsoft Windows 7! | Virtual Lifestyle – Heiko Verlande has found a way to run the VMware vSphere Client on Windows 7. [...]


  20. Pat Says:

    The key is here for those with the name issue, in the last line make sure the forward slash is in the line. I was getting the same error, put the / in and it tests fine.

    Thanks for the help guys!


  21. Arthtritis Treatment Health Info Says:

    i just installed Windows 7 on my PC. i just hope that it is as stable as Windows XP.


  22. VMware vSphere Client on Windows 7 « Chris Farris Says:

    [...] VMware vSphere Client on Microsoft Windows 7! | Virtual Lifestyle. Posted by Chris Virtualization Subscribe to RSS feed [...]


  23. Dalibor Says:

    it’s easy, in configuration file put

    before line and not after…


  24. Dalibor Says:

    it’s easy, in configuration file put runtime part as shown above
    before end of configuration line and not after…


  25. Praj Says:

    These instructions do work, however to clarify, getting around the “valid server name” issue means updating the configuration file using the order given by Mike V ( section comes first within ).


  26. Praj Says:

    last comment didn’t work :( . This is what I mean.

    configuration
    run time
    developmentMode
    run time
    system.net
    appSettings
    configuration


  27. Michaelm Says:

    Hi Guys,

    If you are having issues with “configuration system failed to initialize” error even though you have edited the Vpxclient.exe, make sure that you go over the quotation marks(“..”)

    When I copies the text the quotation copies incorrectly into Notepad and you will get issue.
    You will notice this when you compare them to the quotation marks at the top of the VPXClient.exe configuration file.

    If you are unsure, copy the text from above instead and this should resolve your issue – Since the text has been formatted to stop this issue.


  28. Ben Says:

    Thxs works like a charm :)

    at first i had “Please enter a valid server name” error but i had the:

    outside the


  29. ChrisP Says:

    works a treat, thanks for the info :)


  30. Damus7 Says:

    Remember to unlock the system.dll file… :)


  31. kotchere Says:

    The windows 7 patch rocks. Works First time round!!!

    Good Job Guys


  32. xxoun Says:

    use this link:

    http://paste.frubar.net/11236

    for german tutorial and windows 7 enterp. 32 bit


  33. ozaz1326 Says:

    hi,everybody
    l m trying everthing
    just displaying
    entrance window
    ıp
    username
    password
    after
    nothing

    my os is w7 32bit
    can anyone help more???


  34. Joep Piscaer Says:

    ozaz1326: do you get a specific error? Without any detail, I’m afraid I can’t help you.


  35. DaGeek Says:

    Works straight forward, thanks!
    On the VMware Support site the only thing I could find, that Windows 7 ist still not supported. This is rather lame, since the RC was available very long and the final version also.


  36. DaDave Says:

    I have done something wrong still getting “Please enter valid server name”.

    Have set VpxClient.exe to run in Windows XP Sp2 compatibility mode as Administator

    Have changed VpxClient.exe.config to:

    Have set System Variable to:

    Variable: Devpath

    Value: C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\Lib

    Had to create Lib folder in:

    C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher

    Downloaded system.dll from link at top of this post and pasted there.

    Am running Windows 7 x64 6.1 Build 7600

    What am I missing?


  37. flo Says:

    Hi guys.

    I found a SOLUTION for issue “please enter valid server name”

    The .cmd file for starting the vpxclient simply does not work when copied from the blogs – there is a problem with the double quotes…

    If you get “enter valid server name” please check that you didn’t copy the double quotes into the .config file!!! Erase and retype them manually!

    It took me half an hour to find out that my double quotes are wrong (thanks to wordpress and others)

    I’m running Windows 2007 Ultimate 32bit and now my vSphere-Client is working as expected :)

    best regards flo


  38. Leon Straathof Says:

    Liked the solution, and made a nice installer for it so others don’t have to implement the fix manually. http://www.lynxsoft.nl/index.php?option=com_phocadownload&view=category&id=1:vmware-esx&Itemid=53


  39. Joep Piscaer Says:

    Leon, VMware has released Update 1 of the vSphere Client, which has full support for Windows 7. There’s no need to modify the previous version of the client to work with W7, just install the new version.


  40. Leon Straathof Says:

    I noticed the update1 a bit late, but thanks for the suggestion anyway. If you guys fix anything in the future and want a good quality installer for it just let me know.

    regards,

    Leon.


  41. Paulo Sergio (Sambista) Says:

    Worked just fine here after lots of tries :)

    Every steps were important, but i wasted a lot of time in the .options file.. “Please enter a valid server name”

    I was missing the text order.. got it right in:
    http://paste.frubar.net/11236

    Thanks guys!


  42. Joep Piscaer Says:

    Paulo,

    Or you can just download and use Update 1 of VMware vSphere, which includes support for W7.


  43. Leon Straathof Says:

    How funny people keep downloading the fix i created even now they could opt for update 1. The download counter reached 300 today ;-)


  44. Fred Nigel Says:

    Anybody have a link to the new client? I have ESXi 3.5, and I can’t find a link I can use to get the client. All the links I find are for eval versions of vSphere full version… I just need the client.


  45. Joep Piscaer Says:

    The client can be downloaded from the VMware site. It is included in the vSphere suite. So request a evaluation of vSphere, and download the client..


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>