Is there a way to setup EWF to always commit?

  • Thread starter Mark K Vallevand
  • Start date
M

Mark K Vallevand

I wanted to ask this question and discuss this topic, but
I was unable to connect to the chat. I think the network
folks blocked the port recently.

Is there a way to setup EWF to always commit?

Now, I must manually 'ewfmgr c: -commit", or do it
programatically every time I boot.

I'm not using EWF for any roll back capability. I'm just
using it to minimize writes to the Compact Flash device.

Brad Combs relayed the question (Thanks!) and got this
response.

Troy_MS : A: No. The best suggestion I have is to have a
small program call
the EWFAPI EwfMgrCommit on every startup of the computer.
This could be done
by as simply as adding ewfmgr c: -commit to the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\Run key in the
registry.

My response to the response.
I already have ewfmgr c: -commit in the registry as
suggested. It works only if a user signs on. Our
application runs a service and also has webpages. No one
ever signs on, so the commit is not done. I don't know of
a way to execute a program when XP boots, unless its a
service.

Regards.
Mark K Vallevand
 
B

Bill [MS]

What happens if you make a call to the EWF commit API from
your service?

-Bill
 
S

Simon Wilton

Why would any-one want to commit on start-up - nothing much is going to have
changed!

I'd call the commit from the API when the service is shutdowm

Not a bad thought to have a setting that commits when EWF is shutdown. HINT:
in SP2 please Microsoft.

Simon
 
M

Mark K Vallevand

Yes, we can do that. But, we've been asked to avoid ties
to XPe in our application. So, I was looking for an
alternative.

Regards.
Mark K Vallevand
 
B

Bill [MS]

That is correct, issuing a commit at any time will
occur on the next shutdown. So you will get
post commit -> pre shutdown changes as well.

-Bill
 

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