winipsec.dll Error in Windows 10 and 11: Windows IPsec connection security policies

A permitted connection that requires IPsec suddenly cannot negotiate and a diagnostic identifies winipsec.dll.
The Windows file inventory identifies winipsec.dll as Windows IPsec SPD Client DLL. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Compare the endpoint pair and effective connection security rule with a working baseline. Check date, trusted certificate status and the actual first negotiation failure with IT.
Repair the affected feature
Have the firewall or network administrator repair the specific certificate, policy assignment or permitted endpoint configuration. Keep authentication and encryption requirements unchanged.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Repeat one approved connection and verify it uses the expected IPsec policy and succeeds without the earlier negotiation error.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.