Error 157 - ERROR_DISCARDED
The segment is already discarded and cannot be locked.
Symptoms
- The segment is already discarded and cannot be locked.
- System error 157 (ERROR_DISCARDED)
Troubleshooting steps
- Note the exact error 157 (ERROR_DISCARDED) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_DISCARDED (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com