Question

Attempted_write_to_readonly_memory BSOD while defragmenting

So, the title says it all: while I let my computer defragment two of its hard drives with O&O Defragmenter, it BSODed this error. Thing is, I've never seen it before. Another thing is: O&O definitely touched some system files, as I saw it marking even drivers as corrupt and going on relocating them. So, hoe do I prevent this BSOD from occuring while using this tool or any other tool that can do real defragging, not the joke that Microsoft calls defragging: just sticking fragmented files closer together and calling it a day. I want all my files contiguous and O&O seemed the only tool capable of this.

Any steps I should take to prevent the error? Or should I try and get another tool?

Discussion is locked
Answer
Follow
Reply to: Attempted_write_to_readonly_memory BSOD while defragmenting
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: Attempted_write_to_readonly_memory BSOD while defragmenting
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments
- Collapse -
Answer
Re: defrag

Try contig or contig64 from Microsofts sysinternals suite. It defragments all files. Or is that not what you mean with "all my files contiguous"?

By the way, try an SSD in stead of a HDD for the OS disc. There's no need to defrag that. That certainly prevents any errors doing it.
On data disks the effect of fragmentation is very small.

Post was last edited on April 2, 2019 1:34 PM PDT

- Collapse -
I cannot afford an SSD

Definitely not a decent 512 GB one. And especially not after I bought this WD VelociRaptor. I'm not buying an SSD now.

As for what defraggin means to me, it means positioning the files on a HDD in such a fashion that system files go to the inside part of the physical disc (the faster part) and the data goes on the part just after the system files, of course both parts being united, contiguous, not fragmented. This is what I would like a defragging tool to do. I don't care how it does it, I just want that done, if any tool can do this.

- Collapse -
Just last month.

Picked up a few 240GB 25USD cheaps(?) for use at the office. This is double the size for just holding the OS and is not that expensive. We've been removing HDDs from the office since, well, those that are holding back on HDDs don't know the power of the dark side. Sorry, I mean, they are really missing out on the best innovation in the PC since Linux.

- Collapse -
I just checked out the prices for SSDs

They do seem to be way lower than they used to be, but I will still try to do what I can with my hard drives. If I am still not happy with the performance, I will get an SSD. Later tomorrow, I will get Speccy and do a report.

- Collapse -
Answer
I'd check out my PC's health.

It's not normal for Windows to BSOD any more. There are usually reasons like heat or failing hardware. I start with the usual Web Speccy report and then ask about the PSU make and model.

As to defragmenting there are folk that want to define it as other than contiguous files. For me that's good enough. And now that I'm just about ready to remove my last HDD I won't bother with defrag any longer.

- Collapse -
PS. Forgot the link HOW TO SPECCY.
- Collapse -
Here is the Speccy report
- Collapse -
Also

The CPU gets up to 76C when in AIDA64 after 10 minutes. The highest temperature on the CPU core is 80.

- Collapse -
That's pretty normal for that CPU.

To me it's fine.

- Collapse -
PS. Defragging the MFT.

Remember that this is something you do if you encounter "that" problem but as I did years ago, I found Paragon to be a much better solution than Microsoft's answer about the MFT. Read on the web about it and https://www.paragon-software.com/registration/mft_defrag_tool.html

Also, look at Paragon's defragger as back in the day it was the thing you used since you could defrag the undefraggable as it's a boot disk and no files are locked or in use.

- Collapse -
Answer
The report helped. But this PC is unsupportable (AutoKMS)

1. As I look over the Speccy the ST1000DM003-1CH162 is not to be trusted. If the client wants their PC to perform this sort of drive with SMART values is REMOVED and never trusted again.

You can see my Seagate failure at https://www.cnet.com/forums/post/488f4a1b-b46c-41ac-a9dd-0bce35300bd1/

This is a very common issue and one that some clients go into some denial mode. It's not a problem at the office or shop as we'll just return the PC at no charge and thank them for considering our shop. That is, we will not repair such a PC unless we can get failing drives out.

To repeat prior replies here, I want to remind all that the drive has yet to fail. But you will see such PCs with reports of poor performance, BSODs, random data loss and a list of other complaints.

2. The ST750LM022 HN-M750MBB is to be watched closely. It doesn't have the issues I see of the other drive but it is showing signs that it could have issues later. Watch that drive and if the numbers begin to climb or go ballistic you get that out of the system as well.

3. The WDC WD5000HHTZ-04N21V1 looks to be in perfect health and exactly what you want to see.

4. SO MANY INTERNET CONNECTIONS. Be sure to turn the following off.
https://www.howtogeek.com/224981/how-to-stop-windows-10-from-uploading-updates-to-other-pcs-over-the-internet/

5. JAVA. I see two versions. If you don't use JAVA remove all. If you use JAVA at least remove the old versions.

6. AutoKMS. And with this I'm stopping. Cracks are not a good thing. These lead to all sorts of unsupportable issues.

- Collapse -
Well, unsupportable means…?

That you won't help me above this step or that it may introduce errors?

Anyway, O&O succeded after trying to defragment one drive at a time.

Also, what are the signs that show the Seagate 1TB drive failing? I'm not in denial, if I need to replace it, I will, but I just want to know what exactly to look for in my other machines, so I don't find myself with unexpected loss of data.

- Collapse -
Let's check the HDD SMART values 01 and 07.

I see it so you should see it too. This drive issue is one you find on the web so I don't want to type more. You can see the issue in the report and how the machine performs.

As to unsupportable, that's AutoKMS and maybe other trojans. If the machine is running cracks, how can you expect others to work the issues? That's what I mean by unsupportable.

I see below you are trying to debate if the drive is good or bad. So many want to debate that. Your PC has issues, the report finds something and like others you want to keep the drive. Your choice but that's the end of the road for me. Good luck.

- Collapse -
Whatever

So, basically, what you just told me is to not know what my HDD's issue is, but to replace it, because you say so. Let's replace the whole PC then?

I asked you a simple question, I was hoping for an answer to teach me what to look for in other PCs. You answered this question with "Good luck". This is what makes for a great technician, doesn't it? If I had any experience with SMART and its values, I wouldn't be here asking you these questions. And if you think not explaining sh** is the way to teach someone anything, then you might want to reconsider that or reconsider the kind of treatment you will get from others.

You're a moderator: you can ban me because I'm saying these things that maybe you don't like. I have been banned from other forums for telling mods things like this straight in the face. You can do it too, there is always another forum out there that has guys that are willing to explain what you won't.

Thanks for teaching me when to replace my drive: when you say "Good luck" that is.

And, FYI, everything works great after an In-Place reinstall. Apparently, I had some corrupt files that caused the BSOD: defragmenting worked and it turns out I didn't even need it that much.

- Collapse -
What I meant.

Is the HDD issue is out there and has been covered hundreds of times by me and thousands by other folk. I type all my replies so my choice to repeat why it's bad. Your choice to research more or live with it.

Folk do get upset about this issue so take it back to the maker. It takes a lot of time and experience to read through the reports and find out what's going on. For some that's not good enough. If so, you wish them well and send them on their way. Is that so terrible?

-> Folk have tried to defrag, scan such drives in the past and they show up later with issues so the lesson is you get these failing but not failed drives out of systems you want to work well. Some folk think the drive is OK which by now you can tell I don't. This is your choice.

And yes, others may want to expand on the findings. That's great. This is all volunteer so at some point I stop, point at the issue and let others expand or let the owner do more research. For me, these drives are not worth research. They are done. It's over. Except for those that want a full rundown of what's going on which doesn't fix the drive or change the diagnosis. So my last question is do you understand what a waste of time that would be?

- Collapse -
Of course

But I hope you realized this Seagate drive is only for downloads and games. I don't run my OS from it, but from the WD. I mean, it wouldn't nake any sense having a fast drive in the PC and using a slower one to run your OS from.

I will replace it anyway, I saw some failure charts. Checked the prices for HGST drives and a 2TB one is at $60 here in Romania. I might as well go for it, as from the charts, I can see HGST does very well. I also have 2 HGST 7K100 HDDs in my laptops and they seem to be as fast as a PC HDD.

I guess I'll mark this thread's end here, as I solved the initial issue and I found out what Seagate produces. Thanks for assisting me!

- Collapse -
Answer
Speccy

Your 1-TB seagate is junk....bin that.

For someone who wants perf why did you put a 5400 rpm disk in the unit?

- Collapse -
The 5400 RPM HDD is for photos

Title.

- Collapse -
It does not matter

What it's for it's still going to be slow.

- Collapse -
I know, I don't even want it faster

It does its job fine, I have already been using it for 5 months and it's just fine. It is not fast, but it is definitely faster than a USB 2 Flash Drive.

- Collapse -
Then focus on

That bum 1-TB disk you have.... it has to go.

If it was me just to keep things simple I would install a 2TB non-seagate 7200 rpm disk and copy both the seagate disk to it and remove the seagate units.

- Collapse -
Have just taken a look at some charts

I'll definitely go for replacing that drive, as there are some downloads that cannot be found anymors. Will go for a HGST, when I have time to replace the HDD and to copy everything over.

As for the Seagate's fate, it will go in a home theater PC, as my current one has a "theoretically" dead hard drive. Somehow, it still boots, but 37% of the sectors are bad. So, my 1TB Seagate would be useful in there and the data loss would be minimal, in case it gets to fail while I'm using that HTPC.

CNET Forums