• Home
  • VMware QuickDocs
    • Getting Started with VMware Cloud Foundation
    • VMware General
    • vSphere
    • vSAN
    • Horizon
    • NSX
    • vRealize Suite (renamed to Aria Suite)
    • Aria Suite
      • Aria Automation
      • Aria Operations
      • Aria Operations for Logs
      • Aria Automation Orchestrator
    • Podcasts
  • Home Lab
  • VMware Stickers
  • mac OS Tips
  • About Me
    • Privacy Policy
    • Cookie policy
Cybersylum

Cybersylum

  • Home
  • VMware QuickDocs
    • Getting Started with VMware Cloud Foundation
    • VMware General
    • vSphere
    • vSAN
    • Horizon
    • NSX
    • vRealize Suite (renamed to Aria Suite)
    • Aria Suite
      • Aria Automation
      • Aria Operations
      • Aria Operations for Logs
      • Aria Automation Orchestrator
    • Podcasts
  • Home Lab
  • VMware Stickers
  • mac OS Tips
  • About Me
    • Privacy Policy
    • Cookie policy

Horizon View 7.12 Console login failure with Windows Server Core

byArron King 09.13.2020 Home Lab Horizon View

Recently I started working with a new customer who is migrating to VMware Horizon View.  It has been a while since I have done much with Horizon so I thought setting it up in my lab would help me get up to speed.

I decided to install Horizon 7.12, setup a few desktop pools and learn about Instant Clones with an eye to upgrading to Horizon 8 (aka Horizon 2006 as it prefers to be known) in the near future.  I had been using Windows Server 2012 in my lab as those were the latest licenses I was able to get from my Microsoft Technet subscription before they ended that program.  Horizon 2006 does not support Windows Server 2012 so I had to make an early choice.  Do I run 2012 now, and upgrade it later or jump to a newer version now?

Lab Headaches can turn into knowledge

I decided to try Windows 2016 Server Core for my connection server.  I have always been pretty comfortable at command line; and wanted to try out Windows Server Core.  I have to admit it was a bit “different”  not have any of the familiar  GUI interfaces.    Some of the smallest things (ahem configuring network stack) took me a bit and forced me to learn something new.  This is a good thing – and why it is a good idea to get in the lab often.

The install of the Horizon Connection Server in my lab was pretty easy.  Run the Connection server installer, and a few clicks later, I was looking at the login prompt to the Horizon Admin Console.    That’s when I hit my first error:

Horizon Admin Console - Login Failed

I re-tried the password once or twice; but no luck.  I thought back through the install – one of the prompts was to name an Active Directory group which will have access rights to the Horizon View Admin console.    Had I mistyped it?   I couldn’t remember or find where to look it up, so I deleted the VM, re-cloned it and tried again.   I received the same error.  Perhaps it was something with the group I had created, so I started from scratch a third time and left the default in place (naming the Domain Admin as the user having rights).  This time – the third time wasn’t a charm.

So I decided to re-group.

I looked at logs on the Connection Server; but didn’t see anything that looked remarkable.   I checked the Windows event logs and didn’t find anything that looked relevant.

I double checked the Horizon 7.12 documentation and version release notes.  Windows Server 2016 is supported for the Connection Server, and Horizon did support the Active Directory Functional Level provided by my DCs (which is at Windows 2012).

The Fix

I did a pretty generic search for “Horizon 7 login failed”, and stumbled across VMware KB 2144768.

Symptoms
    • Accessing the Horizon View 7.0 Administrator web interface displays a blank error window.
    • This window cannot be bypassed.
    • The issue does not occur when connecting using https://localhost/admin

On the new horizon HTML5 console, 7.9 and later you may hit the following symptom also.

    • The issue is observed only on the Chrome browser.
    • The user sees a error message “Login Failed”.

I wasn’t using Chrome (Firefox at first and Safari after that). Earlier in my testing,  I had also tried the original Flash-based console.  I did get the behavior described; but assumed it was either a performance issue in my lab environment – or an issue with my patience in waiting for the services to start after a reboot.

Since I was using Server Core, I was hitting the console from my laptop and wasn’t using the localhost link that you normally would after installing the software.  I wasn’t sure this would fix it; but was enough to try…

The fix was to create a file with a single boolean flag.  I created the file with notepad:

  • C:\Program Files\VMware\VMware View\Server\sslgateway\conf\locked.properties
  • checkOrigin=false

checkOrigin setting in the locked.properties file

I restarted the services and voila!  I can now login to the Horizon Admin Console!

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn

vToolbelt - August 2020

vToolbelt - September 2020

1 thought on “Horizon View 7.12 Console login failure with Windows Server Core”

  1. Hugo Marques
    11.29.2021 at 7:44 am

    Thank you!!!!
    I was struggling with this. Even reinstall the server all over again and nothing works.
    That solved the problem.

    Reply
Leave a Reply Cancel reply

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

Search

Disclaimer

The content and opinions on this site belong to me - not my employer.

You are welcome to use any ideas or code from this site. You have the responsiblity to test these before using in a production environment.

Upcoming Events

  • Wed
    22
    Oct
    2025

    Cincinnati VMware VMUG UserCON

    Save The Date!

    The VMware VMUG UserCON returns to Cincinnati in October 2025

Categories

Aria Automation Aria Operations for Logs Before I Forget Certificates Education Home Lab Horizon View Importing vSphere Networks into Aria Automation Linux MacOS Networking PowerCLI Professional Development Scripting Swift TechBITS Tech Learning Update Manager VCSA VMUG VMware VMware Cloud on AWS VMware Portal VMware Tools VMworld vSphere vToolBelt Windows 10

Archives

Category

Aria Automation Aria Operations for Logs Before I Forget Certificates Education Home Lab Horizon View Importing vSphere Networks into Aria Automation Linux MacOS Networking PowerCLI Professional Development Scripting Swift TechBITS Tech Learning Update Manager VCSA VMUG VMware VMware Cloud on AWS VMware Portal VMware Tools VMworld vSphere vToolBelt Windows 10
Proudly powered by WordPress | Theme: Showme by NEThemes.
 

Loading Comments...