Below is a summary of all the options that ntfsrecover accepts. The normal usage is to use no option at
all, as most of these options are oriented towards developers needs.
Nearly all options have two equivalent names. The short name is preceded by - and the long name is
preceded by --. Any single letter options, that don't take an argument, can be combined into a single
command, e.g. -bv is equivalent to -b-v. Long named options can be abbreviated to any unique prefix of
their name.
-b, --backward
Examine the actions described in the logfile backward from the latest one to the earliest one
without applying any update. This may encompass records generated during several sessions, and
when Windows is restarted, it often does not restart writing where it ended the previous session,
so this leads to errors and bad sequencing when examining the full log file.
-c, --clustersCLUSTER-RANGE
Restrict the output generated when using options -b -f -u -p to the actions operating on a cluster
within the given cluster range. CLUSTER-RANGE is defined by the first and last cluster numbers
separated by a hyphen, for instance 100-109 or 0x3e8-0x3ff. A single number means restricting to a
single cluster. The first four log blocks have a special role and they are always shown.
-f, --forwardNUM
Examine the actions described in the logfile forward from the first one to the last one without
applying any update. As the log file is reused circularly, the first one is generally not the
earliest. Moreover when Windows is restarted, it often does not restart writing where it ended the
previous sessions, and this leads to errors when examining a log file generated during several
sessions.
-h, --help
Show some help information.
-k, --kill-fast-restart
When Windows has been interrupted with fast restart mode activated, part of pending changes are
kept in the Windows cache and only the same Windows version can recover them. This option can be
used to apply the changes recorded in the log file and drop the ones in the Windows cache. This
is dangerous and may cause loss of data.
-n, --no-action
Do not apply any modification, useful when using the options -p, -s or -u.
-p, --playCOUNT
Undo COUNT transaction sets and redo a single one, a transaction set being all transactions
between two consecutive checkpoints. This is useful for replaying some transaction in the past. As
a few actions are not undoable, this is not always possible.
-r, --rangeBLOCK-RANGE
Examine the actions described in the logfile forward restricted to the requested log file block
range without applying any update. The first four log blocks have a special role and they are
always examined.
-s, --sync
Sync the file system by applying the committed actions which have not been synced previously. This
is the default option, used when none of the options -n, -f, -r, -p and -u are present.
The option -s can be repeated to request applying the committed actions mentioned in the obsolete
restart page. This is useful for testing the situations where the latest restart page cannot be
read though it can actually be read.
-t, --transactionsCOUNT
Display the transaction parameters when examining the log file with one of the options --forward,
--backward or --range.
-u, --undoCOUNT
Undo COUNT transaction sets, thus resetting the file system to some checkpoint in the past, a
transaction set being all transactions between two consecutive checkpoints. As a few actions are
not undoable, this is not always possible.
-v, --verbose
Display more debug/warning/error messages. This option may be used twice to display even more
information.
-V, --version
Show the version number, copyright and license of ntfsrecover.