How to disable zero filling of newly allocated files?

avada

New member
Local time
9:25 AM
Messages
17
Hello!
This is an issue for ages. Apparently windows writes zeros by default for all allocated files. Particularly noticable, when downloading with bittorrent, where the app hangs and the hard drive becomes unusable for quite a while.
But it's also a problem more generally. Any such allocations will double the wear on HDDs and particularly SSDs, apart from taking twice as much time.
Any way that I can set windows to don't write zeros when allocating files?
 

My Computer My Computer

At a glance

Windows 7 amd64
OS
Windows 7 amd64
This has never been an issue.

The NT platform does ensure that the unused portion of the final cluster of a file is cleared. This is mandated by security requirements and cannot be disabled. Most likely this is what you heard about. But this does not require any extra disk writes, merely the insignificant time to clear the buffer before it is used. There is no performance penalty, no extra disk writes, and no extra wear on the drive. The file system goes to considerable lengths to ensure that there are no unnecessary disk writes.

Whatever is causing your problem, this is not it.
 

My Computer My Computer

At a glance

Windows 7 Pro 64 bitXeon W35208 GBNvidia Geforce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
This has never been an issue.

The NT platform does ensure that the unused portion of the final cluster of a file is cleared. This is mandated by security requirements and cannot be disabled. Most likely this is what you heard about. But this does not require any extra disk writes, merely the insignificant time to clear the buffer before it is used. There is no performance penalty, no extra disk writes, and no extra wear on the drive. The file system goes to considerable lengths to ensure that there are no unnecessary disk writes.

Whatever is causing your problem, this is not it.
It really does write zeros for some reason. It's highly noticable (and annoying) when a large file is written for minutes and the disk is overloaded.
Utorrent has an option bypass this but it only works with admin rights above XP. Or if the program has
"Perform volume maintenance tasks" rights. Which I gave my account in the Policy editor. And now it doesn't try to murder my HDD/SSD. (Utorrent at least) I doesn't seem to be app specific either. Apparently it's also needed for sql server too for example: https://www.youtube.com/watch?v=49VDOLUX-dY
So it's some sort of system wide thing.
 

My Computer My Computer

At a glance

Windows 7 amd64
OS
Windows 7 amd64
This zeroing of files before writing is not done by Windows or the file system. Apparently it is done by SQL server and possibly by bittorrent as well. It is not a system wide thing. I don't use torrent clients and have no interest in them.
 

My Computer My Computer

At a glance

Windows 7 Pro 64 bitXeon W35208 GBNvidia Geforce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Back
Top