Results 1 to 6 of 6

Thread: ewfmgr protect at shutdown options

  1. #1
    Newbie
    Join Date
    Nov 2005
    Posts
    12

    ewfmgr protect at shutdown options

    Hi All

    I finally seem to have got my XP MCE image working on a 140x twinmos 1GB card (i can even pause and record tv in MCE to a network drive!), but one thing I can't work out is how to have changes written to the CF at shutdown and then EWF enabled at every boot.

    i thought I'd be able to use this at shutdown (i've set it as the shutdown script in the group policy editor):

    ewfmgr -commitanddisable -live
    ewfmgr -enable

    But this results in any changes being lost. I've also tried having '-commitanddisable -live' run at shutdown and then enabling ewfmgr using a scheduled task running at startup, which writes changes from the previous boot to disk, but after the reboot ewfmgr isn't enabled - it's just set to be enabled at the next boot.

    Any ideas?

    cheers
    Danny
    your computer is bored - give it something useful to do!:rosetta@home

  2. #2
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,364
    -enable only works after a reboot. It could be that your system isn't waiting for ewfmgr to run -enable before rebooting.

  3. #3
    Newbie
    Join Date
    Nov 2005
    Posts
    12

    ewf on multiple disks

    i'll have to come back to this in a couple of days - cheers for the reply.

    Danny
    your computer is bored - give it something useful to do!:rosetta@home

  4. #4
    Newbie
    Join Date
    Nov 2005
    Posts
    12
    ok - I'm back on it!

    My problem is that i want -enable to be on at every boot, so if i want to save changes i can run -commitanddisable, but following a reboot it will be protected again. If i put a batch file with -enable in into a startup script in either group policy editor, autoexec.bat or the startup folder then it runs, but its too late to implement on that boot, so the computer boots unprotected and isn't enabled until after another reboot.

    If i run enable in a shutdown script then i can't ever commit data to disk as -enable overwrites the '-commitanddisable -live' setting.

    I'm thinking i might be able to export the enabled=000001 registry key, and then incorportate it into the registry before boot, but i don't think that'll work either because regserv needs to be running in order to enter stuff into the registry!

    Any ideas?
    your computer is bored - give it something useful to do!:rosetta@home

  5. #5
    FLAC SFiorito's Avatar
    Join Date
    May 2004
    Posts
    1,364
    Okay....if you want to save changes you need to run -commitanddisable -live. That immediately disables EWF and commits all changes. Next if you want EWF re-enabled when you reboot you need to run -enable before you shutdown. As long as you don't disable EWF it'll always boot up enabled, it's not necessary to -enable at every boot up.

    Basically you need to have a script that you can confirm runs in sequence (so that you don't -enable before commiting) and will wait for commit to finish before running enable again and of course you need to make sure the shutdown process doesn't kill ewfmgr while it's in progress.

  6. #6
    Newbie
    Join Date
    Nov 2005
    Posts
    12
    thanks for the replies sfiorito - i've got it working now with:

    ewfmgr c: -commitanddisable -live
    ewfmgr c: -enable

    i'd forgotten 'c:' in the batch file! I wasn't sure i was on the right lines so your posts certainly helped me
    your computer is bored - give it something useful to do!:rosetta@home

Similar Threads

  1. Shutdown Options.
    By stoodo in forum Road Runner
    Replies: 3
    Last Post: 04-05-2005, 03:07 PM
  2. Shutdown cmd options
    By slarty in forum FrodoPlayer
    Replies: 7
    Last Post: 01-20-2005, 10:57 AM
  3. no windows shutdown options
    By djmickyg in forum General Hardware Discussion
    Replies: 15
    Last Post: 12-16-2004, 12:30 AM
  4. Shutdown controller options?
    By Kamakazie2 in forum Power Supplies
    Replies: 3
    Last Post: 04-20-2004, 02:46 AM
  5. Win2k quick shutdown options?
    By blkdragon6 in forum Software & Software Development
    Replies: 11
    Last Post: 11-14-2000, 01:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •