MSMQ / IIS – Access issues with C:\Windows\System32\msmq after December Update (Windows Server 2019)

Mario Kriegsmann 70 Reputation points
2025-12-12T06:17:32.92+00:00

Description:
Since installing KB5071544 (December 2025 Update), IIS applications (IIS_IUSRS) as well as services running under LocalService / NetworkService can no longer write to the folder C:\Windows\System32\msmq. As a result, MSMQ-based applications fail. Everything worked flawlessly before the update. Rolling back the update immediately resolves the issue.

Analysis: The NTFS security descriptor of the MSMQ folder is modified by the December update.

SDDL comparison:

Unpatched: D:P(...)

Patched: D:PAI(...)

The additional AI flag (Auto-Inherited) indicates that the update is regenerating or altering the DACL. The Windows GUI does not display this difference, but functionally the services lose the access rights they previously had.

Impact:

Applications running under IIS_IUSRS / LocalService / NetworkService can no longer write to MSMQ.

Request to Microsoft:

  • Confirmation whether the December update modifies MSMQ ACLs / security descriptors
  • Clarification whether this behavior is intentional or a bug
  • A fix or guidance on how to restore the original permissions
Windows development | Internet Information Services
{count} votes

2 answers

Sort by: Most helpful
  1. Danny Nguyen (WICLOUD CORPORATION) 5,430 Reputation points Microsoft External Staff Moderator
    2025-12-15T10:22:05.7566667+00:00

    Hi there,

    Good news - this issue has now been officially acknowledged by Microsoft! You can track it here: https://learn.microsoft.com/en-us/windows/release-health/status-windows-10-22h2#message-queuing--msmq--might-fail-with-the-december-2025-windows-security-update

    Microsoft has confirmed that the December 2025 security update (KB5071546) introduced changes to the MSMQ security model and NTFS permissions on the C:\Windows\System32\MSMQ\storage folder. MSMQ users now require write access to this folder, which is normally restricted to administrators. This is what's causing the "Insufficient resources to perform operation" errors you're experiencing.

    The symptoms match what you're seeing:

    • MSMQ queues becoming inactive
    • IIS sites failing with resource errors
    • Applications unable to write to queues
    • Message file creation failures
    • Misleading logs about insufficient disk space/memory

    Current Status:

    Microsoft is actively investigating this issue.

    Temporary Solutions:

    • Uninstall KB5071546 - Rolling back this security update will temporarily fix the problem while you wait for an official patch
    • Alternatively, you may need to adjust permissions on the C:\Windows\System32\MSMQ\storage folder, but please consult with your security team before making system-level permission changes

    I'll do my best to keep you updated as Microsoft releases more information or a fix for this issue.

    2 people found this answer helpful.

  2. Lars Fiedler 5 Reputation points
    2025-12-12T20:14:00.89+00:00

    After KB5071543 / KB5071544, we're seeing the following error when sending multicast messages via System.Messaging API from an IIS Web App.

    System.Messaging.MessageQueueException: Insufficient resources to perform operation.

    On Windows Server 2019, if we rollback KB5071544 things work again.

    On Windows Server 2016, if we rollback KB5071543 things work again.

    System.Messaging.MessageQueueException: Insufficient resources to perform operation.   at System.Messaging.MessageQueue.SendInternal(Object obj, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType)   at CompAnalytics.Extension.Msmq.AlertContextExtension.SendAlert(String alertName, String alertTitle, Uri alertLink, String msgBody, IList`1 extensionObjects, String priority) in C:\agent_work\7\s\Product\CompAnalytics.Extension.Msmq\AlertContextExtension.cs:line 95   at CompAnalytics.Extension.Msmq.AlertSender.Execute(IExecutionContext context) in C:\agent_work\7\s\Product\CompAnalytics.Extension.Msmq\AlertSender.cs:line 63   at CompAnalytics.Execution.ExecutionContext.ExecuteModuleOrSurrogate(ModuleExecutor executor, Module module) in C:\agent_work\7\s\Product\CompAnalytics.Execution\ExecutionContext.cs:line 1207   at CompAnalytics.Execution.ExecutionContext.ExecuteOrRestoreModule(ModuleExecutor executor, Module module, Int32 currentRetryCount) in C:\agent_work\7\s\Product\CompAnalytics.Execution\ExecutionContext.cs:line 1185   at CompAnalytics.Execution.ExecutionContext.ExecuteModuleWithRetry(ModuleExecutor executor, Module module) in C:\agent_work\7\s\Product\CompAnalytics.Execution\ExecutionContext.cs:line 1150   at CompAnalytics.Execution.ExecutionContext.ExecuteModule(ModuleExecutor executor, Module module, ExecutionCallback postExecutionCallback) in C:\agent_work\7\s\Product\CompAnalytics.Execution\ExecutionContext.cs:line 992

    1 person found 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.