Share this article

Improve this guide

6 Ways to Fix The ERROR_DISCARDED 157 (0x9D) Error

First, end all the unwanted processes

4 min. read

Updated onNovember 7, 2024

updated onNovember 7, 2024

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

For fixing Windows errors, we recommend Fortect:

Fortect will identify and deploy the correct fix for your Windows errors. Follow the 3 easy steps to get rid of Windows errors:

The Error_Discarded 157 (0x9D) with the error message The segment is already discarded and cannot be locked appears when an operation or process tries to interact with a memory segment or a buffer/file that has been discarded or is no longer accessible. This error can occur when using device drivers, memory buffers or some kernel-level operations.

To begin with, check if your system has sufficient RAM and ensure there are no memory leaks. Then, check for memory usage and close unwanted apps to reduce the load. Restart the affected app or the computer to refresh the hardware or memory segment state.

How can I fix the ERROR_DISCARDED 157 (0x9D) error?

How can I fix the ERROR_DISCARDED 157 (0x9D) error?

1. Update or reinstall the problematic driver

If Windows cannot find the latest version of the driver, you can visit themanufacturer’s websiteto download it. Alternatively, you can use a reliabledriver updater toolto scan and update the driver in no time. However, if you already have the latest version of the driver and are still getting the error, try reinstalling the driver. For that, follow these steps:

2. Run the CHKDSK scan

3. Disable the Windows Firewall temporarily

4. Check the Event Viewer for errors

5. Run an SFC scan

6. Perform a system restore

Windows will restart and restore the system settings to the selected point. If you seeSystem Restore was not successfully completederror message after the system boots up, it could be due to conflicting drivers or corrupted system files; try the methods mentioned in this detailed guide.

If you still see the Error_Discarded message, consider reinstalling Windows or replacing the hardware causing the issue.

In case you have any questions or suggestions about the issue, feel free to mention them in the comments section below. We will be happy to help!

More about the topics:BSoD error codes,BSoD errors,Windows 11

Srishti Sisodia

Windows Software Expert

Srishti Sisodia is an electronics engineer and writer with a passion for technology. She has extensive experience exploring the latest technological advancements and sharing her insights through informative blogs.

Her diverse interests bring a unique perspective to her work, and she approaches everything with commitment, enthusiasm, and a willingness to learn. That’s why she’s part of Windows Report’s Reviewers team, always willing to share the real-life experience with any software or hardware product. She’s also specialized in Azure, cloud computing, and AI.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Srishti Sisodia

Windows Software Expert

She is an electronics engineer and writer with a passion for technology. Srishti is specialized in Azure, cloud computing, and AI.