Hi Mad Ian,
Thank you for posting in the Microsoft Community Forums.
KB5039227 is an update patch, but according to what you describe, it causes domain services to be unavailable after installation on the last DC.
LSASS Memory Leak: lsass.exe is the Local Security Authorization Subsystem Service (LSASS) process, which is responsible for performing security-related functions on Windows systems. If lsass.exe has a memory leak, it may cause instability or even crash of the domain controller.
While other DCs do not experience problems after installing the update, the last DC may be affected due to a specific system configuration, hardware, software environment, or other factors.
Solution:
As you mentioned, the issue was resolved after uninstalling the KB5039227 update. This further confirms that the update may be related to a specific issue on your DC.
Microsoft may have released an emergency patch to fix the issue. You should check the Microsoft Update Catalog page to see if there is a patch for your version of Windows Server 2022 and apply it as soon as possible.
If waiting for a new patch is not a viable option, you may need to consider other fixes such as changing your system configuration, updating your hardware or software.
Be sure to back up all important data before performing any actions that may affect system stability.
: It's a good idea to fully test updates in a test environment before applying them to a production environment.
Monitoring and logging: Regularly monitor the performance and logging of domain controllers so that potential problems can be detected and resolved in a timely manner.
In summary: The issue with KB5039227 causing domain services to be unavailable after installation on Windows Server 2022 DC may be due to an LSASS memory leak or other system-specific configuration/environmental issues. It is recommended to uninstall the update and wait for Microsoft to release a new patch or consider alternative fixes. In the meantime, be sure to apply the update with caution and regularly monitor system performance and logging.
Best regards
Neuvi Jiang