A common feature request that I hear from customers from time to time is the ability to customize the login screen for the vSphere Web Client. Going beyond just aesthetics such as adding an organizations logo or colors, it is often a mandatory requirement for some organizations to display a security or warning banner to the users prior to logging in. In prior releases of vSphere, the login page of the vSphere Web Client (which is actually from vCenter Single Sign-On service) was written in Flash which meant that it was impossible to change without recompiling the source code.

Screen Shot 2015-01-19 at 6.15.52 PM
In vSphere 6.0 (yes, vSphere 6.0 is required), the vCenter Single Sign-On login page is now written using regular HTML and CSS. This means you can actually now customize the login page with your own logos, colors or text that you wish to display to your end users. Not only can you customize the login for vCenter Server but you can also do the same for vRealize Automation Center as long as you are using the latest version of the Platform Services Controller which now provides other services in addition to vCenter Single Sign-On.

UPDATE (07/14/16): For vSphere 6.0 Update 2 environments, please follow the instructions here as there have been some minor changes. This article is only applicable for vSphere 6.0 and vSphere 6.0 Update 1 environments.

Disclaimer: This is not officially supported by VMware, if you decide to enable this, please use at your own risk and ensure you backup all original files in case you need revert back to the original configurations.

There are two specific files that you will want to take a look at, the first is unpentry.jsp which controls the look and feel of the actual login page and the second is login.css which controls the stylesheet for the login page. If you wish to include your own images including gifs (which I did not expect would work), there is a img directory that you can reference. Below are the paths to these configuration files for both a Windows vCenter Server and the VCSA 6.0.

Windows vCenter Server 6.0 / 6.0u1

  • C:\ProgramData\VMware\vCenterServer\runtime\VMwareSTSService\webapps\websso\WEB-INF\views\unpentry.jsp
  • C:\ProgramData\VMware\vCenterServer\runtime\VMwareSTSService\webapps\websso\resources\css\login.css
  • C:\ProgramData\VMware\vCenterServer\runtime\VMwareSTSService\webapps\websso\resources\img

VCSA 6.0 / 6.0u1

  • /usr/lib/vmware-sso/vmware-sts/webapps/websso/WEB-INF/views/unpentry.jsp
  • /usr/lib/vmware-sso/vmware-sts/webapps/websso/resources/css/login.css
  • /usr/lib/vmware-sso/vmware-sts/webapps/websso/resources/img

Note: It is highly recommended that you backup all original files before making edits so you can easily revert to the original configuration. If you are only updating the image to figure out layout and placement, you may notice changes are not reflected when you refresh the vSphere Web Client. The reason for this is that the image is only refreshed when the configuration files (.jsp) is updated. You can easily do this by simply opening it up and then saving it without making changes. I found this was the quickest way to force a reload of an updated image that has been uploaded.

I figure it might be cool to create a couple of vSphere Web Client "themes" for some of my buddies like Rawlinson Rivera, Duncan Epping, Alan Renouf, Mike Foley and Cormac Hogan. I hope Rawlinson likes his theme as I know how big of a fan he is 😉 I have also created a Github repo customize-vsphere-web-client-6.0 where you can find all the themes below. Feel free to create your own and contribute them back to the community.

Rawlinson Rivera Theme -
Duncan Epping Theme -
Alan Renouf Theme -
Mike Foley Theme -
Cormac Hogan Theme -
Screen Shot 2015-02-23 at 8.54.01 PM
Here is an additional bonus theme as I could not leave out my good buddy CaptainVSAN!

I am looking forwarding to see what others come up with in terms of their own vSphere Web Client themes and be sure to share them back by either posting back here or better yet, contributing to the Github repository.

Image Sources:

  • http://www.twitterevolutions.com/bgs/justin-bieber-2.jpg
  • http://s1174.photobucket.com/user/D-A-C-20/media/Holland%20EUIV/Holland.png.html
  • http://www.chrisschofield.me/wp-content/uploads/2011/08/PowerCLIman.jpg
  • http://stream1.gifsoup.com/view6/2662404/you-didnt-say-the-magic-word-o.gif

32 thoughts on “How to customize the new vSphere 6.0 Web Client login UI?

  1. Is there yet anyway to have either a URL that defaults to Use Windows Session Credentials (and preferably still not having to click Login), or vice versa set the default URL to that and have an alternate URL for Admins and special case scenarios to enter credentials?

    • +1 for the ability to make “Use Windows Session Credentials” the default. This is just another reason people cling to the Win32 client.

  2. Hi thanks for the great post.
    You have mentioned, the same can be done for vRA…
    I was wondering if you could post one example for the same in github?
    I use a VMware Identity appliance for SSO linked to vRA. So I understand i have to edit the files in the IA Appliance directory.


  3. Can’t seem to change the wallpaper. downloaded the ghostbuster theme files from github i see the ecto1 sign but background is still blue with no jpg showing.

  4. “You can easily do this by simply opening it up and then saving it without making changes.”

    touch ...


  5. Do you know how to get back the default login page for the web client, mine is showing vRealize Automation for the web client

  6. Does anyone know how to modify the background of the webpage after logging in to vSphere Web Client? I tried modifying the file /usr/lib/applmgmt/appliance-ui/resources/img/appBgPattern.png in the VCSA and even rebooted the PSC and VCSA but it still did not take effect.

  7. How would I move the VMware vCenter Single Sign On branding to the bottom or top of the page?

    • It’s in the same location as before 🙂


      If you have an External PSC, then you’ll need to search in the PSC system versus the VC’s VCSA

  8. Thanks for the post, any tips for changing the favicon? Have tried replacing the existing file but no joy.

  9. Hello William, does this customizing still works in U2? I changed the files on my PSC but only get a white screen with login and password fields (no background, no CSS).

  10. Hey William,

    Do you know if there is something similar for VMware Horizon View 6.0+ logon portal?

  11. I have 6.5 running on Windows Server 2016 and I dont even have the ProgramData folder nor the other folders. So I doubt that this works for vCenter 6.5

  12. Hi ,
    In Vsphere 6U3 after following this guide (for vsphere 6U2 ) the logo change didn’t work
    Any ideas if this supposed to work with 6U3?

Thanks for the comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.