• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Windows keeps defragging one of my SSDs

Joined
Feb 1, 2019
Messages
1,238 (0.82/day)
Location
UK, Leicester
System Name Main PC
Processor 9900k@4.8ghz 1.25v
Motherboard Asrock Fatality K6 Z370
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE
Storage 980 PRO 1TB (OS, others not listed)
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
This started since last windows update, screenshot attached, note it has correctly identified the SSD, so doesnt think its a spindle.

All my other SSDs only trim, this one is doing an actual defrag. I keep stopping it but then it keeps starting again, unless I kill the defrag service.

If I click the optimise button after its stopped it does a trim as it should do. Its just when I leave the system idle it starts a defrag.

wtfwindowsdefragmyssd.png
 

bug

Joined
May 22, 2015
Messages
11,354 (3.97/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
Joined
Feb 1, 2019
Messages
1,238 (0.82/day)
Location
UK, Leicester
System Name Main PC
Processor 9900k@4.8ghz 1.25v
Motherboard Asrock Fatality K6 Z370
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE
Storage 980 PRO 1TB (OS, others not listed)
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
I clicked on the "change settings" and deselected the SSD. Seems to have tamed it now, I guess it gets no automatic trim as a consequence of this though?

Interesting article thanks, I wonder if its ever defragged my other SSDs then and I simply didnt notice. Goes against what seems to be common wisdom.
 

bug

Joined
May 22, 2015
Messages
11,354 (3.97/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
I clicked on the "change settings" and deselected the SSD. Seems to have tamed it now, I guess it gets no automatic trim as a consequence of this though?

Interesting article thanks, I wonder if its ever defragged my other SSDs then and i simply didnt notice. Goes against what seems to be common wisdom.
You can always run it yourself. Or maybe script it and add it as a separate scheduled task.
 
Joined
Feb 1, 2019
Messages
1,238 (0.82/day)
Location
UK, Leicester
System Name Main PC
Processor 9900k@4.8ghz 1.25v
Motherboard Asrock Fatality K6 Z370
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE
Storage 980 PRO 1TB (OS, others not listed)
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
Whats the command to run a trim manually then? since its usually initiated via the GUI button.
 

bug

Joined
May 22, 2015
Messages
11,354 (3.97/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
Joined
Feb 1, 2019
Messages
1,238 (0.82/day)
Location
UK, Leicester
System Name Main PC
Processor 9900k@4.8ghz 1.25v
Motherboard Asrock Fatality K6 Z370
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE
Storage 980 PRO 1TB (OS, others not listed)
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
I ended up letting it finish the defrag, now I know its by design and Microsoft insist its ok, I let it go, but if I do change my mind I will replace the automatic optimisation with a task running that command, thanks.

For the curious I did a before and after on SMART write data, it was just over 140 gigs.
 
Joined
May 9, 2012
Messages
7,963 (2.01/day)
Location
Ovronnaz, Wallis, Switzerland
System Name main/SFFHTPCARGH!(tm)/Xiaomi Mi TV Stick/Realme GT2
Processor Ryzen 5 3600 @4.2/i7-3770/S905X/Snapdragon 888 5G
Motherboard MSI MAG B550 Tomahawk/HP SFF Q77 Express/uh?/uh?
Cooling Enermax ETS-T50 Axe aRGB /basic HP HSF /errr.../oh! liqui..wait, no: heatpipe+Graphite
Memory 2x8gb G.Skill Aegis DDR4/8gb DDR3 1600/2gb LPDDR3/12gb LPDDR5 dual channel
Video Card(s) Powercolor Red Devil RX 6700 XT 12gb/Asus GT 730 2gb/Mali 450MP5/Adreno 660
Storage 250gb 870EVO/500gb 860EVO/2TB Sandisk/2x1tb HDD/NVMe 512gb+1tb/1tb SE770G/1TB Arion/500gb/8gb/256gb
Display(s) X58222 32" 2880x1620/32"FHDTV/273E3LHSB 27" 1920x1080/6.67"/Samsung E4 panel FHD+ 120hz
Case Cougar Panzer Max/Elite 8300 SFF/None/back/front glass GG5
Audio Device(s) Logitec Z333/SB Audigy RX/HDMI/HDMI/Dolby Atmos+Fiio KA1+Fiio FH1s 26Ω/Hidizs AP80/Gravastar Sirius
Power Supply Chieftec Proton BDF-1000C /HP 240w/12v 1.5A/4Smart VoltHub PD/SuperDart 65w
Mouse Speedlink Sovos Vertical-Asus ROG Spatha-Logitech MX Ergo/Xiaomi XMRM-006/touch
Keyboard Deltaco DK440R/none/touch
VR HMD Medion Erazer
Software Win10 64/Win8.1 64/Android TV 8.1/Android 12
Benchmark Scores bench...mark? i do leave mark on bench sometime, to remember which one is the most comfortable. :o
don't even do it manually
SSD do not need or like Defrag ... just ... don't
"To summarize, do not defrag an SSD
The answer is short and simple — do not defrag a solid state drive. At best it won't do anything, at worst it does nothing for your performance and you will use up write cycles. If you have done it a few times, it isn't going to cause you much trouble or harm your SSD."

ah readed crossway ... well yeah manual TRIM is okay tho :oops:
 
Joined
Feb 1, 2019
Messages
1,238 (0.82/day)
Location
UK, Leicester
System Name Main PC
Processor 9900k@4.8ghz 1.25v
Motherboard Asrock Fatality K6 Z370
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE
Storage 980 PRO 1TB (OS, others not listed)
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
don't even do it manually
SSD do not need or like Defrag ... just ... don't
"To summarize, do not defrag an SSD
The answer is short and simple — do not defrag a solid state drive. At best it won't do anything, at worst it does nothing for your performance and you will use up write cycles. If you have done it a few times, it isn't going to cause you much trouble or harm your SSD."

ah readed crossway ... well yeah manual TRIM is okay tho :oops:
Microsoft seem to think it now should be done when volume shadow copy is enabled. I have not manually defragged my drive, my manual comment was to run trim.

However windows is automatically defragging at least one of my SSD's (probably has done the rest) as I do use volume shadow copy to make snapshots.
 
Joined
May 9, 2012
Messages
7,963 (2.01/day)
Location
Ovronnaz, Wallis, Switzerland
System Name main/SFFHTPCARGH!(tm)/Xiaomi Mi TV Stick/Realme GT2
Processor Ryzen 5 3600 @4.2/i7-3770/S905X/Snapdragon 888 5G
Motherboard MSI MAG B550 Tomahawk/HP SFF Q77 Express/uh?/uh?
Cooling Enermax ETS-T50 Axe aRGB /basic HP HSF /errr.../oh! liqui..wait, no: heatpipe+Graphite
Memory 2x8gb G.Skill Aegis DDR4/8gb DDR3 1600/2gb LPDDR3/12gb LPDDR5 dual channel
Video Card(s) Powercolor Red Devil RX 6700 XT 12gb/Asus GT 730 2gb/Mali 450MP5/Adreno 660
Storage 250gb 870EVO/500gb 860EVO/2TB Sandisk/2x1tb HDD/NVMe 512gb+1tb/1tb SE770G/1TB Arion/500gb/8gb/256gb
Display(s) X58222 32" 2880x1620/32"FHDTV/273E3LHSB 27" 1920x1080/6.67"/Samsung E4 panel FHD+ 120hz
Case Cougar Panzer Max/Elite 8300 SFF/None/back/front glass GG5
Audio Device(s) Logitec Z333/SB Audigy RX/HDMI/HDMI/Dolby Atmos+Fiio KA1+Fiio FH1s 26Ω/Hidizs AP80/Gravastar Sirius
Power Supply Chieftec Proton BDF-1000C /HP 240w/12v 1.5A/4Smart VoltHub PD/SuperDart 65w
Mouse Speedlink Sovos Vertical-Asus ROG Spatha-Logitech MX Ergo/Xiaomi XMRM-006/touch
Keyboard Deltaco DK440R/none/touch
VR HMD Medion Erazer
Software Win10 64/Win8.1 64/Android TV 8.1/Android 12
Benchmark Scores bench...mark? i do leave mark on bench sometime, to remember which one is the most comfortable. :o
have not manually defragged my drive, my manual comment was to run trim.
yeah, noticed it after posting ... did not remove the extra part just in case someone else having the issue and reading crossway like i did :oops:

strange behhviour... you'd expect M$ to have a decent detection if one drive is HDD or SSD and set basic defragg or TRIM (/L). (furthermore they do show SSD or HDD in optimise drive)

i need to check my rig, out of 10 drives 8 of them are SSD, sigh.
 
Joined
Jan 5, 2006
Messages
15,211 (2.42/day)
System Name AlderLake / Laptop
Processor Intel i7 12700K / Intel i3 7100U
Motherboard Gigabyte Z690 Aorus Master / HP 83A3 (U3E1)
Cooling Noctua NH-U12A 2 fans + Thermal Grizzly Kryonaut Extreme + 5 case fans / Fan
Memory 32GB DDR5 Corsair Dominator Platinum RGB 6000MHz CL36 / 8GB DDR4 HyperX CL13
Video Card(s) MSI RTX 2070 Super Gaming X Trio / Intel HD620
Storage Samsung 980 Pro 1TB + 970 Evo 500GB + 850 Pro 512GB + 860 Evo 1TB x2 / Samsung 256GB M.2 SSD
Display(s) 23.8" Dell S2417DG 165Hz G-Sync 1440p / 14" 1080p IPS Glossy
Case Be quiet! Silent Base 600 - Window / HP Pavilion
Audio Device(s) Panasonic SA-PMX94 / Realtek onboard + B&O speaker system / Harman Kardon Go + Play / Logitech G533
Power Supply Seasonic Focus Plus Gold 750W / Powerbrick
Mouse Logitech MX Anywhere 2 Laser wireless / Logitech M330 wireless
Keyboard RAPOO E9270P Black 5GHz wireless / HP backlit
Software Windows 11 / Windows 10
Benchmark Scores Cinebench R23 (Single Core) 1936 @ stock Cinebench R23 (Multi Core) 23006 @ stock
A windows clean install may fix it.
 
Joined
May 9, 2012
Messages
7,963 (2.01/day)
Location
Ovronnaz, Wallis, Switzerland
System Name main/SFFHTPCARGH!(tm)/Xiaomi Mi TV Stick/Realme GT2
Processor Ryzen 5 3600 @4.2/i7-3770/S905X/Snapdragon 888 5G
Motherboard MSI MAG B550 Tomahawk/HP SFF Q77 Express/uh?/uh?
Cooling Enermax ETS-T50 Axe aRGB /basic HP HSF /errr.../oh! liqui..wait, no: heatpipe+Graphite
Memory 2x8gb G.Skill Aegis DDR4/8gb DDR3 1600/2gb LPDDR3/12gb LPDDR5 dual channel
Video Card(s) Powercolor Red Devil RX 6700 XT 12gb/Asus GT 730 2gb/Mali 450MP5/Adreno 660
Storage 250gb 870EVO/500gb 860EVO/2TB Sandisk/2x1tb HDD/NVMe 512gb+1tb/1tb SE770G/1TB Arion/500gb/8gb/256gb
Display(s) X58222 32" 2880x1620/32"FHDTV/273E3LHSB 27" 1920x1080/6.67"/Samsung E4 panel FHD+ 120hz
Case Cougar Panzer Max/Elite 8300 SFF/None/back/front glass GG5
Audio Device(s) Logitec Z333/SB Audigy RX/HDMI/HDMI/Dolby Atmos+Fiio KA1+Fiio FH1s 26Ω/Hidizs AP80/Gravastar Sirius
Power Supply Chieftec Proton BDF-1000C /HP 240w/12v 1.5A/4Smart VoltHub PD/SuperDart 65w
Mouse Speedlink Sovos Vertical-Asus ROG Spatha-Logitech MX Ergo/Xiaomi XMRM-006/touch
Keyboard Deltaco DK440R/none/touch
VR HMD Medion Erazer
Software Win10 64/Win8.1 64/Android TV 8.1/Android 12
Benchmark Scores bench...mark? i do leave mark on bench sometime, to remember which one is the most comfortable. :o
A windows clean install may fix it.
ok seems weird
my install is a dirty swap since many years
i can confirm that every SSD in my Rig only have had retrim
1669986304133.png
definitely something fishy here but i can't point the finger on...
maybe induced by 3rd party soft (i had a small odd issue with Samsung Magician ... not running it anymore)
(i had a OCZ Vertex III 120gb running as OS drive for roughly 10yrs still at 98% health when i cloned it to a 870 Evo 240gb and retired it )

not really helping ... Windows is fine most of the time, never had any issues since 1998 :p
 
Last edited:

bug

Joined
May 22, 2015
Messages
11,354 (3.97/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
A windows clean install may fix it.
Yeah, such a routine operation, I'm wondering why people aren't doing it more often :D
 
Joined
Feb 1, 2019
Messages
1,238 (0.82/day)
Location
UK, Leicester
System Name Main PC
Processor 9900k@4.8ghz 1.25v
Motherboard Asrock Fatality K6 Z370
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE
Storage 980 PRO 1TB (OS, others not listed)
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
What version of windows do you have? Its nice it specifies if it was just retrim, mine just says last optimized.

I have confirmed if I manually run maintenance tasks it isnt defragging again. I assume if I leave it alone it will defrag once a month as Microsoft stated.
 
Joined
Sep 1, 2022
Messages
291 (1.46/day)
Yeah, such a routine operation, I'm wondering why people aren't doing it more often :D
When you get in a rut. Or you have really bad Wi-Fi and can't be bothered to redownload and dirty your windows install.
 
Joined
May 9, 2012
Messages
7,963 (2.01/day)
Location
Ovronnaz, Wallis, Switzerland
System Name main/SFFHTPCARGH!(tm)/Xiaomi Mi TV Stick/Realme GT2
Processor Ryzen 5 3600 @4.2/i7-3770/S905X/Snapdragon 888 5G
Motherboard MSI MAG B550 Tomahawk/HP SFF Q77 Express/uh?/uh?
Cooling Enermax ETS-T50 Axe aRGB /basic HP HSF /errr.../oh! liqui..wait, no: heatpipe+Graphite
Memory 2x8gb G.Skill Aegis DDR4/8gb DDR3 1600/2gb LPDDR3/12gb LPDDR5 dual channel
Video Card(s) Powercolor Red Devil RX 6700 XT 12gb/Asus GT 730 2gb/Mali 450MP5/Adreno 660
Storage 250gb 870EVO/500gb 860EVO/2TB Sandisk/2x1tb HDD/NVMe 512gb+1tb/1tb SE770G/1TB Arion/500gb/8gb/256gb
Display(s) X58222 32" 2880x1620/32"FHDTV/273E3LHSB 27" 1920x1080/6.67"/Samsung E4 panel FHD+ 120hz
Case Cougar Panzer Max/Elite 8300 SFF/None/back/front glass GG5
Audio Device(s) Logitec Z333/SB Audigy RX/HDMI/HDMI/Dolby Atmos+Fiio KA1+Fiio FH1s 26Ω/Hidizs AP80/Gravastar Sirius
Power Supply Chieftec Proton BDF-1000C /HP 240w/12v 1.5A/4Smart VoltHub PD/SuperDart 65w
Mouse Speedlink Sovos Vertical-Asus ROG Spatha-Logitech MX Ergo/Xiaomi XMRM-006/touch
Keyboard Deltaco DK440R/none/touch
VR HMD Medion Erazer
Software Win10 64/Win8.1 64/Android TV 8.1/Android 12
Benchmark Scores bench...mark? i do leave mark on bench sometime, to remember which one is the most comfortable. :o
sometimes it's just really stupid...
yeah not denying that, given users with issues, i do consider myself quite lucky with techs in general.
 
Joined
Sep 1, 2022
Messages
291 (1.46/day)
yeah not denying that, given users with issues, i do consider myself quite lucky with techs in general.
Personally, I'm going to reinstall Windows 11 with all the tweaks. I have 10 GB of ram usage with like normal background apps only. Better to do early than later.
 
Joined
May 9, 2012
Messages
7,963 (2.01/day)
Location
Ovronnaz, Wallis, Switzerland
System Name main/SFFHTPCARGH!(tm)/Xiaomi Mi TV Stick/Realme GT2
Processor Ryzen 5 3600 @4.2/i7-3770/S905X/Snapdragon 888 5G
Motherboard MSI MAG B550 Tomahawk/HP SFF Q77 Express/uh?/uh?
Cooling Enermax ETS-T50 Axe aRGB /basic HP HSF /errr.../oh! liqui..wait, no: heatpipe+Graphite
Memory 2x8gb G.Skill Aegis DDR4/8gb DDR3 1600/2gb LPDDR3/12gb LPDDR5 dual channel
Video Card(s) Powercolor Red Devil RX 6700 XT 12gb/Asus GT 730 2gb/Mali 450MP5/Adreno 660
Storage 250gb 870EVO/500gb 860EVO/2TB Sandisk/2x1tb HDD/NVMe 512gb+1tb/1tb SE770G/1TB Arion/500gb/8gb/256gb
Display(s) X58222 32" 2880x1620/32"FHDTV/273E3LHSB 27" 1920x1080/6.67"/Samsung E4 panel FHD+ 120hz
Case Cougar Panzer Max/Elite 8300 SFF/None/back/front glass GG5
Audio Device(s) Logitec Z333/SB Audigy RX/HDMI/HDMI/Dolby Atmos+Fiio KA1+Fiio FH1s 26Ω/Hidizs AP80/Gravastar Sirius
Power Supply Chieftec Proton BDF-1000C /HP 240w/12v 1.5A/4Smart VoltHub PD/SuperDart 65w
Mouse Speedlink Sovos Vertical-Asus ROG Spatha-Logitech MX Ergo/Xiaomi XMRM-006/touch
Keyboard Deltaco DK440R/none/touch
VR HMD Medion Erazer
Software Win10 64/Win8.1 64/Android TV 8.1/Android 12
Benchmark Scores bench...mark? i do leave mark on bench sometime, to remember which one is the most comfortable. :o
i noticed i had 10gb memory usage, but that's with Opera and many tabs, MSI APP Player (emulator) and some other running, normal usage is between 4 and 5gb (6.9gb with Opera)

i do recommend Win reinstall when everything go f.u.b.a.r. tho
(win 10 21H2 atm and i plan on remaining till 2025 on it :D i let the Win 11 Beta test go on and probably Win 12 if it's out by 2024 as they mention )

ah, i remember a defragg bug on Win ME tho :laugh: induced by motherboard utility software iirc (about the only grip i had with ME nonetheless)

to my personal experience, Win issues are tied to hardwware failure and "not agreeing with the OS" 3rd party management software

serious issue i had was a Code 41 which i narrowed down to either the RAM/Mobo or PSU (ended up forcing upgrade PSU/Mobo/RAM but kept the win install as it was, well i was due to a system upgrade anyway, CPU GPU were around 6yrs old )
 
Joined
Jul 25, 2006
Messages
10,599 (1.74/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
not really helping ... Windows is fine most of the time, never had any issues since 1998 :p
I agree with GreiverBlade.

@chrcoluk - Since your other SSDs are behaving properly, I don't think the blame can be put on Windows. While it "appears" the drive was properly identified as a SSD, my "hunch" is something might be corrupt in that "handshaking" process for that drive. You might want to check with Samsung to see if there is a firmware update for that drive.

And I am not saying this isn't the bug BC wrote about - I just don't get the feeling it is.

Microsoft seem to think it now should be done when volume shadow copy is enabled.
Now wait a minute! This is making the wrong assumption. You are correct and when Volume Shadow Copy is enabled, "a type of" defragging occurs (about once a month - "IF" needed). But it is NOT the same defragging process as done on a hard drive. Windows still knows it is a SSD and so does a type of intelligent defragging.

See this, The real and complete story - Does Windows defragment your SSD? and note the conclusion here,

CONCLUSION
No, Windows is not foolishly or blindly running a defrag on your SSD every night, and no, Windows defrag isn't shortening the life of your SSD unnecessarily. Modern SSDs don't work the same way that we are used to with traditional hard drives.

Yes, your SSD's file system sometimes needs a kind of defragmentation and that's handled by Windows, monthly by default, when appropriate. The intent is to maximize performance and a long life. If you disable defragmentation completely, you are taking a risk that your filesystem metadata could reach maximum fragmentation and get you potentially in trouble.

I think you should check to make sure Windows and SSD firmware are up to date. Then when/if you see this process happen again LET IT FINISH! Then see what happens.
 
Joined
Feb 20, 2020
Messages
7,295 (6.49/day)
Location
Texas
System Name Ghetto Rigs x299 & z490 & x99
Processor 9940x w/Optimus Foundation & 10900k w/Black Noctua D15 & 5930k w/Reg-Noctua D15
Motherboard X299 Rampage VI Apex & z490 Maximus XII Apex & x99 Sabertooth
Cooling D5 combo/280 GTX/ VRM copper water block/280 GTX/ Optimus Foundation/ 1080ti FTW3
Memory Trident-Z 3600C16 4x8gb & Trident-Z Royal 4000c16 2x16gb & Trident-Z 3200c14 4x8gb
Video Card(s) 1080ti FTW3-On Loop & Titan Xp-w/ Only GPU loop & evga 980ti gaming-w/ air
Storage Many sammy 2.5" ssd's 850 Pro/ 860 pro's for os & WD BLK's hdd's storage
Display(s) 1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24"/ 3rd LG 43" series
Case D450 second floor for 2nd rad x2/ Cherry Entertainment center on Test bench
Audio Device(s) Built in Realtek x2 with 2-Insignia 2.0 sound bars & 1-LG sound bar
Power Supply EVGA 1200P2 & 1000P2 with APC AX1500 & 850P2 with CyberPower-GX1325U & a 750P2 unused
Mouse Redragon Perdition x3
Keyboard G710+x3
Software Win-7 pro x3 and Linux Cinnamon 20.2x2 & win-10 & 11pro x3
Benchmark Scores Are in the benchmark section
What version of windows do you have? Its nice it specifies if it was just retrim, mine just says last optimized.

I have confirmed if I manually run maintenance tasks it isnt defragging again. I assume if I leave it alone it will defrag once a month as Microsoft stated.
Hi,
You might go to properties of the ssd "I always do" trash bin and disable it from doing that bad thing is when doing this files aren't recoverable without backup.
Depending on disk size trash bin is pretty large.

Might calm down trim tasks.
 
Joined
Feb 1, 2019
Messages
1,238 (0.82/day)
Location
UK, Leicester
System Name Main PC
Processor 9900k@4.8ghz 1.25v
Motherboard Asrock Fatality K6 Z370
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 3080 RTX FE
Storage 980 PRO 1TB (OS, others not listed)
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Asus Xonar D2X
Power Supply Antec HCG 750 Gold
I agree with GreiverBlade.

@chrcoluk - Since your other SSDs are behaving properly, I don't think the blame can be put on Windows. While it "appears" the drive was properly identified as a SSD, my "hunch" is something might be corrupt in that "handshaking" process for that drive. You might want to check with Samsung to see if there is a firmware update for that drive.

And I am not saying this isn't the bug BC wrote about - I just don't get the feeling it is.


Now wait a minute! This is making the wrong assumption. You are correct and when Volume Shadow Copy is enabled, "a type of" defragging occurs (about once a month - "IF" needed). But it is NOT the same defragging process as done on a hard drive. Windows still knows it is a SSD and so does a type of intelligent defragging.

See this, The real and complete story - Does Windows defragment your SSD? and note the conclusion here,



I think you should check to make sure Windows and SSD firmware are up to date. Then when/if you see this process happen again LET IT FINISH! Then see what happens.
Yep I read that page, note the following quote.

Actually Scott and Vadim are both wrong. Storage Optimizer will defrag an SSD once a month if volume snapshots are enabled. This is by design and necessary due to slow volsnap copy on write performance on fragmented SSD volumes. It’s also somewhat of a misconception that fragmentation is not a problem on SSDs. If an SSD gets too fragmented you can hit maximum file fragmentation (when the metadata can’t represent any more file fragments) which will result in errors when you try to write/extend a file. Furthermore, more file fragments means more metadata to process while reading/writing a file, which can lead to slower performance.

I am assuming volume shadowcopy has a negative effect on fragmentation.
 
Joined
Jul 25, 2006
Messages
10,599 (1.74/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
Yep I read that page, note the following quote.
Yes, but it seems you stopped reading at that point. Keep reading.

The conclusion I quoted certainly took into consideration one paragraph you took out of proportion.

My advice still stands.
I think you should check to make sure Windows and SSD firmware are up to date. Then when/if you see this process happen again LET IT FINISH! Then see what happens.
 
Top