How to Enable/Disable FBWF from DUA script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,
Can anyone guide me how to execute enable and disable file Based Write
filter from DUA script so as to apply software upgrades on the protected
volume.
I had referred one article from MSDN “Updating Devices in the Field by Using
Enhanced Write Filter and Device Update Agent†here the example is given to
disable EWF from DUA as follows:
// Disable EWF EXECUTEPROCESS,,,,c:\windows\system32\ewfmgr.exe,0,c: -disable,

I tried to execute fbwfmgr /disable but nothing works. Can anybody explain?

Thanks & Regards
Roshan.
 
Roshan,

With the FBWF it should be a bit easier than with EWF to service updates on embedded devices. FBWF allows you to commit on file
basis.
Since you know what your update contains (what files, directories, etc.) it is doable to implement that logic in your DUA script.

Here is the list of Fbwfmgr commands supported:
http://msdn2.microsoft.com/en-us/library/aa940817.aspx (the command you might be looking for are addexclusion/removeexclusion).

Or, better, use FbwfCommitFile API to commit particular files (from your own app, for instance):
http://msdn2.microsoft.com/en-us/library/aa940894.aspx

The "fbwfmgr /disable" should actually work.
Btw, here is relevant article in the docs that talks about servicing Fbwf protected devices:
http://msdn2.microsoft.com/en-us/library/aa940864.aspx.
 
Back
Top