Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: BSOD while Optimizing ("defrag") SSD Disk

27 Sep 2017   #1

Windows 7 Ultimate 64bit Service Pack 1
BSOD while Optimizing ("defrag") SSD Disk


I have all my PC datas in my description, don't know if I'm supposed to repost them here.

starting today I noticed a problem with Auslogics Disk Defrag slowing, then blocking and finally BSODing my PC, always at the same spot (67.67% of the "TRIM" process, right after "Optimization") when I try an "Optimize SSD" on my C:\ system-disk.

When I defrag the other drive (wich is a standard 750MB hard disk, divided into two partitions) everything runs smooth, both standard defrag or the more complex one; when I try to "defrag" the SSD (I mean I use the proper SSD option in Auslogics Disk Defrag, I am obviously not defragmenting my SSD!) I notice the program stopping at 67.67% of the "TRIM" process that goes on right after "Optimization" has finished. It NEVER happened to me before nor I remember modifying things to my BIOS or to my system right before the problem started

So when I reach 67.67% of the "TRIM" the program stucks at that point (the program being responsive and all, just not making any progress in the process") and then, after a few minutes, PC starts slowing down and finally BSODs. I can't report about the BSOD's nature because I have no data about it whatsoever (it lasts like 1 tenth of a second and I have no trace of errors in the Windows minidump folder).
The PC is not stressing right before the BSOD (no cpu or ram usage increase, I know it because I have monitoring programs; no overheating, nothing strange via hardware, it just BSODs).

CrystalDiskInfo is not reporting anything strange.

I tried to uninstall and reinstall Auslogics Disk Defrag. I tried running it while in Windows safe mode (in stucks in the very same way but at 67.83% instead of 67.67, which is kinda odd...)
I tried a chkdisk before OS's startup (no errors). I tried to check the integrity of the file system via cmd (no errors). I tried scanning the system in safe mode with both 360 Total Security AND Malwarebytes (no error reports).

Now I stopped trying to defrag the drive since everytime it left me a new DDSSDTRIMTEMPxxxx.dat file in C:\ and I am concerned about hurting my SSD's health (it has a few months, it was a birthday present and worked fine till now).

I am freaking out and don't know what to do. Next step, I'll try defragging (Optimizing, of course) it via Linux and see if it stucks at the same point.

I'll try to attach a .zip containing all the .txt files of a report obtained by a program I downloaded on this site.

Thank you for any kind of support.

My System SpecsSystem Spec
27 Sep 2017   #2

Windows 7 Ultimate 64bit Service Pack 1

Computer PC/Desktop
Computer Manufacturer Custom Build
OS Windows 7 Ultimate 64bit Service Pack 1
CPU AMD Phenom II x6 1090t @4,1GHz
Motherboard Asus M4A89TD PRO USB3
Memory 16382MB
Graphics Card NVIDIA GeForce GTX 1060 3GB
Sound Card Built-in MoBo
Monitor Philips 243VS
Screen Resolution 1920x1080
Hard Drives System: WDC WDS250G1B0A-00H9H0 ATA Device; Storage: Samsung HD753LJ ATA Device
PSU Enermax 500w Liberty
Case Full Tower
Cooling Air System Custom built
Keyboard Meh
Mouse Some Logitech Meh
Internet Speed DSL 17MB
Antivirus 360 Total Security; Malwarebytes
Browser Mainly Google Chrome
My System SpecsSystem Spec
29 Sep 2017   #3

Windows 10 Pro

BSOD while Optimizing ("defrag") SSD Disk Diagnostics Test BSOD while Optimizing ("defrag") SSD Disk

Note   Note
Please run HDTune first, in the order posted!

Run HDTune to
  • check the health,
  • scan for errors, no quick scan but full scan
  • run a benchmark.
It may take some time, but please take the time you need to perform it properly.
When above is done please make screenshots of the following
  • the health,
  • the error scan,
  • the benchmark incl. following
    • transfer rate,
    • access time,
    • burst rate,
    • cpu usage.

Run SeaTools DOS to check the integrity of your HDD. SeaTools for DOS and Windows - How to Use - Windows 7 Help Forums
Run the long test.
Note   Note
Do not run SeaTools on an SSD as the results will be invalid.

Make a photo of the result and post it.

Run chkdsk
Disk Check - Windows 7 Help Forums
Use option TWO with parameter /r
Upload the chkdsk log Check Disk (chkdsk) - Read Event Viewer Log - Windows 7 Help Forums
My System SpecsSystem Spec

29 Sep 2017   #4

Windows 7 Ultimate 64bit Service Pack 1

Thank you!
I resolved the problem.

It appears somehow my BIOS settings got screwed up by something (I don't remember changing them just prior of the defrag but since it's an old BIOS, not accessible via OS, I don't think it may be a virus).

So my Storage Configuration changed from AHCI 6gb/s to IDE 3gb/s. I changed them back to the correct value and the issue was solved.

Now I must understand if I have some virus hitting my BIOS (!? never happened in 27 years...) or if I'm just an idiot.

Thank you for the support :)
My System SpecsSystem Spec
29 Sep 2017   #5

Windows 10 Pro

Because of the amount of hard drive related errors in your event log I would recommend to run the suggested tests.
My System SpecsSystem Spec
30 Sep 2017   #6

Windows 7 Ultimate 64bit Service Pack 1

I plan on running the first two tests.
Is it safe to perform a chkdisk /r scan on a SSD?
My System SpecsSystem Spec
30 Sep 2017   #7

Windows 10 Pro

The second test is better not run on an SSD, as the note says.

Chkdsk is for the filesystem on the drive so yes.
My System SpecsSystem Spec
30 Sep 2017   #8

Windows 7 Ultimate 64bit Service Pack 1

I ran all possible tests with HD-Tune Pro on both SSD and HDD (couldn't run certain write benchmarks because both storage hardwares are partitioned and the program refused to comply).

I will try the other scan program on the HDD asap.

The chkdsk I already tried (no errors) but I will re-execute it withthe /r command.
My System SpecsSystem Spec
30 Sep 2017   #9

Windows 7 Ultimate 64bit Service Pack 1

The chkdsk:

It seems all fine to me...
My System SpecsSystem Spec
30 Sep 2017   #10

Windows 10 Pro

Your Samsung hard drive is getting to its end, although it may be months to a few years before it totally fails. The results explain the errors in the eventlog.
My System SpecsSystem Spec

 BSOD while Optimizing ("defrag") SSD Disk

Thread Tools

Similar help and support threads
Thread Forum
WD EXTERNAL HARD DISK 1TB suddenly "unallocated" and "not initialized"
Hi guys. I'm new here. I've tried to read all the discussion about how to fix the unallocated hard drive but I just can't understand it as the cases were pretty much different than I'm facing of. Here's my problem. Yesterday my external hard drive seems normal, everything is fine, until...
Hardware & Devices
"Windows Loading Files" infinite loop, Can't Boot USB "disk error"
hello, let's just get to the point, i had this problem recently where my pc can load windows, it keep looping pc's on - booting - then "Windows Loading Files" - restart it's infinite :cry: i don't know what to do, i don't have a cd rom, and i can't reinstall my windows from USB because every time...
General Discussion
HDD shows in "Device Manager" but not in "DiskPart"or" Disk Management
Hi Guys, any ideas how to access my external hard drive device manager can see it but it does not appear in disc management. I use this HDD perfectly in my car HDD player. But when I try to connect it to my Laptop, it does not show up in disk management. Please check the attached screen...
Hardware & Devices
Hard Disk can't read in "my computer ", "initialized",I/O device error
I have a big problem here, I have used my hard disk for 9month, Yesterday when I watched movie on the half way, My hard disk suddenly disfuntion, And I thought my laptop problem due to always lagging so I restart my computer. But after that I can't read my hard disk (WD)in my computer. It can...
Hardware & Devices
BSOD every few hours: mostly "STOP: 0x00000F4", "c00021a" & "c0000135"
Hi everyone! Yesterday my HP laptop (Windows 7) started getting BSOD with various types of errors (mostly "STOP: 0x00000F4", "STOP: 0x0000007A", "c00021a" and one "missing %hs, c0000135"). Most of the time it restarts without any issues and works fine right after the BSOD and then an hour or two...
BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:46.
Twitter Facebook Google+