The FhManagew.exe program deletes file versions that exceed a specified age from the currently assigned File History target device.

This program is available in Windows 8 and Windows Server 2012 and later.

To execute this program, go to the Start menu, click Run, and type the following command.

FhManagew.exe -cleanup age

Parameter Description
This parameter specifies the minimum age, in days, of file versions that can be deleted. A file version is deleted if both of the following conditions are true:
  • The file version is older than the specified age.
  • The file is no longer included in the protection scope, or there is a newer version of the same file on the target device.
If the age parameter is set to zero, all file versions are deleted, except for the newest version of each file that is currently present in the protection scope.


To suppress all output from this program, use the -quiet command-line option as follows.

FhManagew.exe -cleanup age -quiet


Example Description
FhManagew.exe -cleanup 30
Delete all file versions that are older than one month.
FhManagew.exe -cleanup 365 -quiet
Delete all file versions that are older than one year and suppress all output.