Use fsutil file createnew d:\speedtest_100gb.dat 107374182400 in Windows 11/10
Do you want to create a 100GB test file on your Windows 11 or Windows 10 computer? Whether you want to test your SSD or HDD, check available storage space, evaluate file transfer performance, or experiment with large files, Windows provides a command-line utility that can help you do this without installing additional software.
One of the easiest ways to create a large file is by using the fsutil file createnew command. This command is available in Windows and allows you to create a file with a specific name, location, and size.
For example, the command fsutil file createnew d:\speedtest_100gb.dat 107374182400 creates a file named speedtest_100gb.dat on the D: drive with a specified size of 107,374,182,400 bytes, which equals 100 GiB (approximately 107.37 GB in decimal units).
You can use this command to create test files of different sizes without manually filling a file with random data. However, there is something important to understand: fsutil file createnew creates a file with the requested logical size, but it does not necessarily fill the entire file with meaningful test data. The file’s actual storage allocation and contents depend on the filesystem and Windows behavior.
In this guide, we will explain how to use this command, how it works, how to verify the created file, and what to do if you encounter an error.
fsutil file createnew d:\speedtest_100gb.dat 107374182400

The fsutil file createnew command is a Windows command-line instruction used to create a new file with a specified size.
Before running it, let’s understand what each part of the command means.
Command:
fsutil file createnew d:\speedtest_100gb.dat 107374182400
Here is what the different parts do.
fsutil: This is a Windows command-line utility used to perform certain filesystem-related operations.
file: Specifies that you want to perform an operation related to a file.
createnew: Tells Windows to create a new file with the specified size.
d:\speedtest_100gb.dat: Specifies the destination location and filename. In this example, Windows creates a file named speedtest_100gb.dat directly on the D: drive.
107374182400: Specifies the requested file size in bytes. This number represents 100 GiB.
Now, let’s go through the complete process of creating and checking the file.
Step 1: Check Available Space on Your D: Drive
Before creating a 100GB test file, make sure your D: drive has enough free storage space.
Although the command specifies a file size of 100 GiB, the actual space allocated can depend on the filesystem and storage behavior. For a reliable test, make sure you have sufficient free space and avoid filling your drive close to its capacity.
To check available storage, follow these steps.
1: Press Windows + E on your keyboard to open File Explorer.
2: Select This PC from the left sidebar.
3: Find the D: drive under Devices and drives.
4: Check the available free space displayed below the drive.
For a straightforward test using a conventional fully allocated file, you should have at least 100 GiB of free space, preferably more to leave room for Windows and other applications.
If your D: drive does not have enough space, choose another drive with sufficient capacity or use a smaller test file.
Step 2: Open Command Prompt as Administrator
The next step is to open Command Prompt.
Although creating a file in a location where your account has permission may not always require administrator access, opening Command Prompt as an administrator can help avoid permission-related problems.
1: Click the Start button on the Windows taskbar.
2: Type Command Prompt in the search box.
3: Right-click Command Prompt from the search results.
4: Select Run as administrator.
5: If the User Account Control window appears, click Yes to continue.
Windows will now open an elevated Command Prompt window.
You can also use Windows Terminal with an elevated Command Prompt profile if you prefer working with the newer terminal interface.
Step 3: Run the fsutil File Createnew Command
Now that Command Prompt is open, you can enter the command to create your 100GB test file.
Type or copy the following command into Command Prompt:
fsutil file createnew d:\speedtest_100gb.dat 107374182400
Press Enter to execute it.
Windows will attempt to create the file named speedtest_100gb.dat in the root directory of your D: drive.
If the command completes successfully, Command Prompt will display a confirmation message indicating that the file has been created.
Depending on your storage device, filesystem, and system configuration, the operation may complete very quickly because the command does not necessarily write 100 GiB of actual test data to the drive.
Important: This command creates a new file. If a file with the same name already exists, Windows may return an error rather than overwrite it. Rename or remove the existing file before running the command again, but only if you no longer need it.
Step 4: Verify Whether the 100GB File Was Created
After executing the command, check whether the file is available on your D: drive.
You can verify it using File Explorer.
1: Press Windows + E to open File Explorer.
2: Select This PC and open the D: drive.
3: Look for a file named speedtest_100gb.dat.
4: Right-click the file and select Properties.
5: Check the Size field.
You should see a size of 107,374,182,400 bytes, equivalent to 100 GiB.
You can also verify the file size directly through Command Prompt by running:
dir d:\speedtest_100gb.dat
Windows will display the file’s size and other information.
Another useful command is:
fsutil file queryfileid d:\speedtest_100gb.dat
This displays the file’s identifier if Windows can access the file.
Remember that the size shown in File Explorer and the actual space occupied on the drive are not necessarily identical. The distinction is particularly important when testing storage performance.
Understand What the 100GB Test File Is Used For
Once the file has been created, you can use it for several storage-related experiments.
One common use is checking whether Windows can create and manage very large files on a particular drive. This can help when troubleshooting storage capacity or filesystem limitations.
You can also use it to test file copying and transfer operations. However, because fsutil file createnew does not guarantee that the file contains meaningful data across all its bytes, copying this file is not a reliable way to measure sustained real-world write performance.
If you want to test your SSD or HDD properly, you should use a benchmarking application or create a file containing actual data.
For example, tools such as CrystalDiskMark can measure storage read and write performance using controlled test workloads.
You can also use a PowerShell command to create a file filled with actual data, but that requires writing the data to the drive and can take considerably longer.
Therefore, choose the testing method according to what you want to measure.
Create Test Files of Different Sizes
You are not limited to creating a 100GB file. The same command can create files of different sizes by changing the final number.
For example, if you want to create a 10GB test file, use:
fsutil file createnew d:\speedtest_10gb.dat 10737418240
To create a 50GB file, use:
fsutil file createnew d:\speedtest_50gb.dat 53687091200
To create a 100GB file, use:
fsutil file createnew d:\speedtest_100gb.dat 107374182400
These examples use binary units, where 1 GiB equals 1,073,741,824 bytes.
If you want to create a 100GB file using decimal units instead, the required size is 100,000,000,000 bytes.
You can change the drive letter and filename according to your requirements. Just make sure the destination drive exists and has enough available storage.
Delete the Test File After Completing Your Test
After finishing your storage experiment, you may want to remove the 100GB test file to recover the available space.
You can delete it through File Explorer or Command Prompt.
To delete it using File Explorer, open the D: drive, locate speedtest_100gb.dat, right-click it, and select Delete.
Alternatively, open Command Prompt and execute:
del d:\speedtest_100gb.dat
Press Enter to delete the file.
Make sure you enter the correct filename and drive letter before executing this command.
If the file is no longer needed, deleting it will remove its directory entry and allow Windows to reclaim its allocated storage space. Actual reclamation behavior can depend on the filesystem, storage device, and other factors.
FAQs
1. What does fsutil file createnew do?
The fsutil file createnew command creates a new file with a specified name, location, and logical size. It is useful for creating large test files without manually generating their contents.
2. What does 107374182400 mean in the command?
The number represents the file size in bytes. Specifically, 107,374,182,400 bytes equals 100 GiB, or approximately 107.37 GB.
3. Can I use fsutil file createnew in Windows 11?
Yes. The fsutil utility is available in Windows 11 and Windows 10. You can use it through Command Prompt or Windows Terminal.
4. Does fsutil file createnew fill the entire 100GB with data?
No. The command creates a file with the specified logical size, but it does not guarantee that every byte contains actual test data. Filesystem allocation and storage behavior can affect the physical space occupied.
5. Why am I getting Access Denied when running fsutil?
This error can occur because of insufficient permissions, filesystem restrictions, or security settings. Try opening Command Prompt as an administrator and make sure you have permission to write to the destination drive.
6. Can I create a 100GB file on an SSD?
Yes. You can create a 100 GiB file on an SSD as long as the drive supports the required file size and has sufficient available storage. NTFS is commonly used for this purpose.
7. Why does the 100GB file get created so quickly?
The command does not necessarily write 100 GiB of actual data to the storage device. It creates a file with the requested logical size, so the operation can finish much faster than copying or generating a fully populated 100 GiB file.
8. Is fsutil file createnew safe to use?
Yes, the command is a legitimate Windows utility. However, creating very large files can consume significant storage space, so check your available capacity before running it.
9. Can I use this command to test SSD speed?
You can use it to create a large file, but it is not a reliable standalone SSD speed test. For accurate performance measurements, use a dedicated benchmarking tool or generate a file containing actual data.
10. How do I create a 100GB test file on another drive?
Replace the D: drive letter with your preferred drive letter and update the filename if necessary. For example, use fsutil file createnew E:\speedtest_100gb.dat 107374182400 to create the file on the E: drive.
Summary
The fsutil file createnew d:\speedtest_100gb.dat 107374182400 command is a convenient way to create a file with a logical size of 100 GiB in Windows 11 and Windows 10.
You only need to check your available storage, open Command Prompt, execute the command, and verify the resulting file through File Explorer or the dir command.
You can also modify the final byte value to create test files of different sizes or change the drive letter to select another storage location.
However, remember that creating a 100 GiB file does not necessarily mean Windows has written 100 GiB of actual data to your drive. If your goal is to measure real SSD or HDD performance, use a proper benchmarking tool or a method that writes actual data.
Once your testing is complete, delete the test file to reclaim the storage space.
