Create Fake File in Windows PC of Any Size and Format (No Software Needed)

spyboy's avatarPosted by

Have you ever wanted to create a fake file for testing, demonstration, or trick purposes without downloading any software?
Windows comes with a built-in utility that allows you to generate dummy files of any size and any extension instantly — whether it’s an .mp4, .exe, .pdf, .zip, or even an Android APK file.

This trick is often used by developers, testers, and even penetration testers to check storage capacity, upload limits, or to disguise a file in a specific format.

In this tutorial, you’ll learn how to create a fake file in any format and size directly from the Command Prompt (cmd).

Step 1: Open Command Prompt as Administrator

  1. Press the Windows key on your keyboard.
  2. Type cmd in the search bar.
  3. Right-click on Command Prompt (cmd.exe) and select Run as administrator.

This ensures you have full privileges to use the required commands.

Step 2: Use the fsutil Command

Windows has a built-in tool called fsutil that allows advanced file system operations, including the ability to generate files of any size.

The syntax is:

fsutil file createnew <FilePath> <FileSize>

  • <FilePath> → The complete path and name of the file you want to create.
  • <FileSize> → The file size in bytes.

Example: Create a Fake MP4 File

fsutil file createnew C:\spyboy.mp4 500000000

Explanation:

  • C:\spyboy.mp4 → This creates a file named spyboy.mp4 in the C: drive.
  • 500000000 → This is the size of the file in bytes (here it’s 500 MB).

Step 3: Customize File Name, Extension & Size

You can change the name, extension, and size as per your requirement:

  • Change “spyboy” to any file name you want.
  • Change “.mp4” to any extension (.exe, .pdf, .jpg, .apk, etc.).
  • Change “500000000” to any file size in bytes.

For example:

  • Fake PDF file (10 MB)fsutil file createnew C:\document.pdf 10000000
  • Fake EXE file (200 MB)fsutil file createnew D:\installer.exe 200000000
  • Fake Android APK (50 MB)fsutil file createnew E:\app.apk 50000000

⚡ Important Notes

  • These files are dummy files – they don’t contain actual data. They only occupy space on your disk.
  • The size you specify is allocated immediately (so make sure your drive has enough free space).
  • Useful for testing upload systems, disk space monitoring, or demo purposes.
  • You can even prank your friends by creating large fake files that look real.

Why Use This Trick?

✅ No software needed (built into Windows).
✅ Works on any file type/extension.
✅ Super-fast – even huge files are created instantly.
✅ Great for testing, demos, and fun experiments.

Final Thoughts

Using the fsutil command, you can create fake files of any size and any format instantly on Windows. It’s a simple yet powerful trick for anyone who needs dummy files without relying on third-party tools.

Whether you’re a developer testing file uploads, a cybersecurity enthusiast experimenting with fake payloads, or just someone who wants to prank friends with a giant fake file, this method works perfectly.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.