How to Enable/Disable FBWF from DUA script

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.
 
K

KM

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top