Description

A licensee runs UbaAgent on Windows Server Core. This worked in 5.5 and 5.6, but broke in 5.7.

After some investigation, they found that UbaAgent took a new (hard) dependency on qwave.dll in order to set socket priorities. Unfortunately qwave.dll is part of the "Desktop Experience" and not available on Server Core, since it's intended for Audio/Video scenarios which Server Core doesn't cover.

The licensee suggest that rather than a hard dependency on qwave.dll, UbaAgent should attempt to load qwave.dll at runtime via LoadLibrary, and skip applying socket priority if it's not available. This would allow UbaAgent to work on Server Core again.

Steps to Reproduce

Steps to Reproduce

  • Attempt to run UbaAgent.exe on Server Core and observe an exit code of -1073741515 (HRESULT for DLL Not Found).
  • Comment out "#include <qos2.h>", "#pragma comment(lib, "qwave.lib")" and the body of "SetSocketPriority" in UbaNetworkBackendTcp.cpp and rebuild UbaAgent.
  • Run UbaAgent.exe on Server Core again, and observe that it no longer exits with exit code of -1073741515 (HRESULT for DLL Not Found.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-354602 in the post.

0
Login to Vote

Unresolved
CreatedNov 19, 2025
UpdatedNov 20, 2025
View Jira Issue