How to pass "ajax error 500" with Windows Admin Center 24.10 (v2)

Ville Tuulos 15 Reputation points
2025-04-06T20:14:19.1633333+00:00

Hi there,

I did successfully deploy the new v2 of Windows Admin Center (Build 2.4.2.1, 2410). I've got a Dell HW as a server, where I have Windows Server Core 2019 running. The server core runs as a Hyper-V host. It has been nice and easy to run Hyper-V with Windows Admin Center so far but the most recent v2 seems to be causing all kinds of head-ache. Seemingly everything worked.

  • WAC install can be run from admin cmd as is
    • Setup TCP port as 44301 -> ok
    • Check firewall -> ok
    • ensuring that my star-certificate can be used -> ok
    • set trusted hosts as all -> ok
    • set anonymous use as ok ->
    • set windows authentication as the method -> ok
    • setting my own FQDN as de-facto connect point -> ok
    • it even checks that PS remoting is on -> ok
  • I tested via powershell that my firewall works
  • starting WindowsAdminCenter service
  • running from a client pc the https://FQDN:44301
    • Great, it works, loads bootstrap and everything
    • I get in with my admin (<local machine>\Administrator)
  • Now here is where it gets funny
  • I try to click to my "Server" -> "ajax error 500"
    • this is so weird, no real error stack
    • kind of getting a feeling that the WAC v2 is just incomplete
    • How do you get pass this point?

ShotOnError_WAC_2410_AjaxError_2025-04-06

(above the screen cap on the error after clicking my Server "Hyperpilvi" -> "Connection error")

Any ideas how to resolve this one?

Windows for business | Windows Server | User experience | Session connectivity
{count} votes

6 answers

Sort by: Most helpful
  1. Funky Funky 0 Reputation points
    2025-09-15T05:33:41.83+00:00

    I spent way too long on this, but the post from @Randall Okwei as well as a lot of trial and error allowed me to get this working without changing the service account from Network Service to Local System. This has to be some kind of bug in WAC. Anyway, hopefully the below helps some folks that are stuck, and maybe someone else facing this issue can pinpoint which step below actually fixed things:

    1. When the ajax 500 error appeared, I noticed the following Schannel error in the System event log:

      A fatal error occurred when attempting to access the TLS server credential private key. The error code returned from the cryptographic module is 0x8009030D. The internal error state is 10001. The SSPI client process is WindowsAdminCenter (PID: 9948).

      If you are importing a PEM cert, you may want to try this article to convert your certificate to PFX via OpenSSL. I already had a PFX cert and this article ultimately didn't fix things for me, but may be useful for some.
    2. I noticed the self-signed cert (which works properly under the Network Service account) has Basic Constraints enabled. So, within my Windows CA, I duplicated the Web Server template, changed the compatibility to Server 2008 R2 and enabled the extension "Basic Constraints" and made it critical.
    3. Probably the most important step: With a cert from the new template imported into my Personal computer store, I right-clicked the cert --> All Tasks --> Managed Private Keys... I added the following permissions to match self-signed cert:
      1. Network Service account for the local machine: Full Control
      2. Users group for local machine: Read
    4. Probably the second most important step: Reinstall WAC and point to the new certificate. I was unable to get the Set-WACCertificateSubjectName command to actually apply the new cert. The Set-WACCertificateAcl gave an error in the WAC configuration log that was unfortunately overwritten during the reinstall, but it implied it couldn't read the private key properly.

    I would recommend starting with steps 3 and 4 to see if that fixes it, otherwise it appears the Basic Constraints extension is required. I was NOT able to get this to work just by changing the private key permissions on an existing setup that was broken, which makes me think the private key permissions change plus the reinstall is what will fix it.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.