How to Test Your Network or Hard Drive Speeds with a Dummy File in Windows

How to Test Your Network or Hard Drive Speeds with a Dummy File in WindowsAll you need is to open a command line and type a few quick commands. It works in any version of Windows, too. Press the “Windows + R” key combination to open the Run window and then type “cmd”. Press OK.

With a command prompt open, you can start creating dummy files to your heart’s content. To do this, we’re going to use Fsutil.exe, which is a built-in file system tool that allows you to perform file system operations from the command line.

Here is the syntax we want to use for creating dummy files:
fsutil file createnew filename length
The length of the file needs to be in bytes, so if you’re unsure how to convert a large file into bytes, then here are the values you need to enter to actually obtain the sizes you might want:
1 MB = 1048576 bytes
100 MB = 104857600 bytes
1 GB = 1073741824 bytes
10 GB = 10737418240 bytes
100 GB = 107374182400 bytes
1 TB = 1099511627776 bytes
So, this is what we’ll use in our syntax for creating a 1 gigabyte dummy file:
fsutil file createnew fakefile.txt 1073741824
Just enter or copy-paste that text into your command line and hit “Enter” and your dummy file will be generated.
Once we create our new dummy file, (entering the true byte value of 1 gigabyte), we can right-click and select “Properties” to see its size, which is exactly 1 GB.
Now you can easily create dummy files of any size on your Windows PC–no more searching your computer for files of approximate sizes. With just a few key presses, you’ll be able to create exactly what you want and get the answers you need.

Leave a Reply