Announcement

Collapse
No announcement yet.

ewfmgr protect at shutdown options

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    -enable only works after a reboot. It could be that your system isn't waiting for ewfmgr to run -enable before rebooting.
    EWF, HORM, MinLogon on XP.

    Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
    Win Embedded Std 2011 RC
    OCZ Vertex Turbo 30GB SSD
    Lilliput 629 Transflective, WRX Screen Mount
    BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
    VoomPC 2

    Comment


    • #3
      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

      Comment


      • #4
        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

        Comment


        • #5
          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.
          EWF, HORM, MinLogon on XP.

          Zotac ION Atom N330, 2GB low-profile RAM, M3-ATX
          Win Embedded Std 2011 RC
          OCZ Vertex Turbo 30GB SSD
          Lilliput 629 Transflective, WRX Screen Mount
          BlueSoleil BT, i-Blue GM-2 GPS, DirectedHD Radio, Andrea Mic
          VoomPC 2

          Comment


          • #6
            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

            Comment

            Working...
            X