Hi cb zhang,
From what you’ve described, the Windows Server 2025 SMB client is not issuing a CLOSE command after a compound request partially fails, which results in orphaned handles. This does look like a regression compared to Windows Server 2016 and Windows 10, where the client properly cleans up after such failures.
At this point, the recommended steps are:
- Confirm the issue with a clean test environment to rule out third-party interference.
- Capture traces (as you’ve already done) and verify that the CLOSE command is indeed missing after the failed compound request.
- Share those traces and reproduction steps with Microsoft Support, as this will help engineering validate the regression.
- As a temporary mitigation, consider adjusting client-side logic to avoid compound requests that mix CREATE with operations likely to fail, or configure the SMB server to enforce handle cleanup on its side.
Careful monitoring and server-side cleanup policies can help reduce the risk of resource exhaustion until a future update is released to resolve this.
I hope the response provided some helpful insight. If you find this answer useful, please hit “accept answer” so I know it addressed your concern.
Jason.