Disk Footprint Tool (dfp.exe) in Windows 10/8.1

Disk Footprint Tool is a new command line tool in Windows 10/8.1. If you open C:\Windows\System32 you will see a small 31 KB exe file called dfp.exe or the Disk Footprint Tool. You can use the Disk Footprint Tool to take carry out several tasks pertaining to Disk Space usage. You can use it to take snapshots, summaries, analyze disk usage, annonymize, compare growth over time using disk growth study and more.

Disk Footprint Tool in Windows 10/8.1

DFP is responsible for reporting Drive Usage statistics. Windows File Explorer does not report these stats. It is also responsible for displaying some basic disk usage stats in PC Settings > PC and devices > Disk Space.

Disk Footprint Tool

To get the complete list of syntax, etc available, open an elevated command prompt, type the following and hit Enter.

dfp /?

dfp exe windows 8

The syntax options available are:

/log : Specifies the path to the log file.
/elapsed : Display the time taken to execute.
/drives : Report drive usage.
/all /a  : Report usage on files.
/b : Report friendly sizes.
/depth /d  : Report on folders to the specified depth (defaults to all).
/summary /s  :  Summarize.
/xml :  Output to XML.
/anonymize  : Anonymize the paths and file names in the output.
/snap /sn  : Create a snapshot file for later comparison.
/prevsnap /psn : Compare against a previous snapshot file.

To create a snapshot use the following syntax:

dfp.exe /drives /summary /snap snap0.bin c:\

To compare against a previous snapshot use:

dfp.exe /drives /all /xml usage.xml /prevsnap snap0.bin c:\

To date, most users have been using free Disk Space Analyzer software – but the introduction of this tool, will help system administrators analyze disk space natively.

Download this VPN to secure all your Windows devices and browse anonymously
Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.