Solid State Drives (SSD) Do not need to be defrag, but do need optimization to TRIM the drive (make old deleted blocks ready to be writable again) even this is not critical as modern OS and modern drives TRIM on the fly without issues.
Hard Disks (HDD standard magnetic spinning drives) that are storing normal files with a mixture of files sizes (docs, photos, music, game installs, tv shows etc) should have auto defrag enabled (weekly is normally fine for most peoples usage) This ensures files are rewritten/moved to be stored sequentially on the drive, improving read and seek times as the drive heads have to move less.
Hard Disks (HDD standard magnetic spinning drives) that are only storing very large files such as CCTV recordings should have defrag disabled completely and be allowed to reach 99% fragmented, as defrag'ing a drive that is constantly having data written and deleted is a pointless exercise and will only server to waste time/power and shorten the drive life. In order to improve these drives, they should be formatted with a much larger cluster/allocation size. The Windows NTFS default is 4K (4096 bytes) which is tiny, something like 1024K or 2048K is much better suited for CCTV/large file storage and will ensure fast operation without the need to defrag.
View attachment 171449
View attachment 171450View attachment 171451