PREfast Reset
A PREfast Reset command deletes a PREfast for Drivers Defect Log. Use this command to prepare PREfast for Drivers for a clean run. This command does not delete the error log (.err) or the build log (.log) created by the Build utility.
prefast [/log=LogFile] reset
Parameters
Parameters
**/log=**LogFile
Deletes the specified Defect Log The default location of the Defects.xml file is %APPDATA%\Microsoft\PFD.For Windows Vista, the %APPDATA% variable becomes <drive>:\Users\<user>\Application Data.
For Windows XP or Windows Server 2003 the %APPDATA% variable becomes <drive>:\Documents and Settings\<user>\Application Data.
Examples
prefast reset
prefast /log=d:\usbdriver\pfdlog.xml reset
Comments
The components of this command must appear in the order shown in the Syntax section.
Send comments about this topic to Microsoft
Build date: 5/3/2011