WAC Stuck in starting

Handian Sudianto 7,636 Reputation points
2026-10-22T06:35:21.28+00:00

I install Windows Admin Center with port 8888, then after installed the WAC can be accessed normally.

When the machine is rebooted then when open the WAC console i can see the poort is change automatically to 6515 and always stuck in starting windows admin center...

Anyone know how to fix this?

User's image

Windows for business | Windows Server | User experience | Other
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-10-22T06:37:03.6766667+00:00

    First determine whether the browser itself is being redirected to port 6515 or whether 6515 is only a backend listener; do not change the port until its owning process and the WAC service state are identified.

    1. Identify which process owns ports 8888 and 6515

    On the Windows Admin Center gateway, open PowerShell as Administrator and run:

    Get-NetTCPConnection -State Listen |
      Where-Object LocalPort -in 8888,6515 |
      ForEach-Object {
        $c = $_
        Get-Process -Id $c.OwningProcess -ErrorAction SilentlyContinue |
          Select-Object Id, ProcessName,
            @{Name='Port'; Expression={$c.LocalPort}}
      }
    

    Then check the URL shown in the browser:

    • If it remains https://<gateway>:8888, port 6515 is not the browser-facing port. Do not modify it merely because it is listening.
    • If the address changes to https://<gateway>:6515, the configured HTTPS endpoint has changed or the browser is being redirected incorrectly.
    • If neither port has a listener, proceed to the service check.

    The modernized WAC gateway uses multiple processes, but that architecture alone does not establish what port 6515 is being used for on this installation.^1^

    2. Check and start the gateway service

    Microsoft’s gateway troubleshooting procedure requires the ServerManagementGateway or Windows Admin Center service to be running.^2^

    $svc = Get-Service -ErrorAction SilentlyContinue |
      Where-Object Name -in 'WindowsAdminCenter','ServerManagementGateway' |
      Select-Object -First 1
    
    if ($null -eq $svc) {
        Write-Error 'No recognized Windows Admin Center gateway service was found.'
    } else {
        Set-Service -Name $svc.Name -StartupType Automatic
        if ($svc.Status -ne 'Running') { Start-Service -Name $svc.Name }
        Get-Service -Name $svc.Name
    }
    

    The expected result is Status: Running. Next, test both endpoints locally on the gateway:

    Test-NetConnection localhost -Port 8888
    Test-NetConnection localhost -Port 6515
    

    Open https://localhost:8888 locally. If that works but access from another computer does not, retain port 8888 and check the gateway’s Windows Firewall rule rather than reconfiguring WAC. Any inbound rule should be limited to trusted management networks; do not expose the port broadly.

    3. Restore port 8888 only for a modernized gateway

    Confirm that this module exists:

    C:\Program Files\WindowsAdminCenter\PowerShellModules\
    Microsoft.WindowsAdminCenter.Configuration.psm1
    

    Its presence identifies the supported configuration mechanism for a modernized gateway. Microsoft documents Set-WACHttpsPort for changing both the public WAC HTTPS port and its service-port range.^3^

    Before running it:

    1. Determine the service-port range approved by your firewall/security policy or originally selected during installation.
    2. Verify every proposed port is unused:
    $start = <approved-range-start>
    $end   = <approved-range-end>
    
    $used = Get-NetTCPConnection -State Listen |
      Where-Object LocalPort -ge $start |
      Where-Object LocalPort -le $end
    
    $used | Select-Object LocalAddress, LocalPort, OwningProcess
    

    If no conflicts are reported, import the module, restore 8888, and restart the detected service:

    Import-Module 'C:\Program Files\WindowsAdminCenter\PowerShellModules\Microsoft.WindowsAdminCenter.Configuration.psm1'
    
    Set-WACHttpsPort -Wacport 8888 `
      -ServicePortRangeStart <approved-range-start> `
      -ServicePortRangeEnd <approved-range-end>
    
    Restart-Service -Name $svc.Name
    

    Do not invent a new service range or use this command on a legacy gateway.

    4. If the splash screen still remains

    • Review Event Viewer → Applications and Services Logs → Microsoft-ServerManagementExperience or the WindowsAdminCenter event channel. WAC writes gateway activity there for troubleshooting.^4^
    • Try an Edge or Chrome private window. If it works, clear the normal browser session’s cache.
    • Only if WAC is opened inside the Azure portal: allow third-party cookies. Microsoft specifically documents blocked third-party cookies as a cause of the WAC logo/loading page remaining displayed.^5^
    • If the service is missing, will not remain running, or localhost cannot load either endpoint, uninstall WAC, reboot, and install the current release again, selecting port 8888 during setup. Reinstallation is Microsoft’s documented fallback when the gateway installation cannot open.^2^

    References

    1. What is Windows Admin Center?
    2. Troubleshoot Windows Admin Center
    3. Windows Admin Center frequently asked questions
    4. Event logging in Windows Admin Center
    5. Manage a Windows VM using Windows Admin Center in Azure
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Xuan Nhu 1,695 Reputation points Independent Advisor
    2026-10-22T07:50:27.7966667+00:00

    Dear Handian,

    Thank you for posting your question to the forum community.

    Before changing the configuration, please confirm whether the browser’s address actually changes from port 8888 to 6515, or whether 6515 appears only in the WAC launcher. Another listening port does not necessarily mean the browser-facing HTTPS port has changed.

    On the computer where Windows Admin Center is installed, try opening https://localhost:8888 directly in your browser. Then run these read-only checks in an elevated PowerShell window:

    Get-Service |
        Where-Object DisplayName -Like '*Windows Admin Center*' |
        Select-Object Name, DisplayName, Status, StartType
    
    Get-NetTCPConnection -State Listen |
        Where-Object LocalPort -In 8888,6515 |
        ForEach-Object {
            $connection = $_
            Get-Process -Id $connection.OwningProcess -ErrorAction SilentlyContinue |
                Select-Object Id, ProcessName,
                    @{Name='Port'; Expression={$connection.LocalPort}}
        }
    
    Test-NetConnection localhost -Port 8888
    Test-NetConnection localhost -Port 6515
    

    These results will help establish which process owns each port and whether it accepts TCP connections. A successful TCP test alone does not confirm that WAC has finished starting.

    Also check Event Viewer → Applications and Services Logs → Microsoft-ServerManagementExperience for warnings or errors recorded after the reboot. See Microsoft’s Windows Admin Center troubleshooting guidance.

    Modernized WAC supports a configured HTTPS port alongside an internal service-port range. However, we should identify the process using 6515 before concluding that it is an internal port or changing its configuration. See the Windows Admin Center FAQ.

    Please share your WAC version, Windows version, the browser URL after launch, the command results, and any relevant event errors. These should help distinguish a launcher problem from a service startup or port configuration issue.

    If this helped, I’d appreciate a Like so others can find the answer more easily.

    Was this answer helpful?


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.