Re: EWF/DUA help needed
From: Doug Hoeffel (doug.hoeffelNo_at_SpAmMcamtronics.com)
Date: 10/05/04
- Next message: Slobodan Brcin \(eMVP\): "Re: NI 6025 GPIO device under XPe - anyone done this?"
- Previous message: Slobodan Brcin \(eMVP\): "Re: HD faults protection using EWF"
- In reply to: KM: "Re: EWF/DUA help needed"
- Next in thread: KM: "Re: EWF/DUA help needed"
- Reply: KM: "Re: EWF/DUA help needed"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 5 Oct 2004 07:42:34 -0500
KM:
> Btw, it may not be good implementation of your script for the purpose of
changing running app with EWF on.
> With EWF command you just commit a registry change to move/replace the
JP.exe file on next reboot. The file will be replaced each
> reboot until you commit EWF again.
>
I thought this too until I tried it. I also do the commit after the DUA
script runs and before I shutdown and restart. It appears that the file
copying/renaming occurs on the next boot before the EWF becomes enabled. I
know for a fact that the files are not replaced on each subsequent boot
until the next commit. The area in the registry that holds the pending file
copying/renaming is clean after one reboot.
HTH... Doug
"KM" <konstmor@nospam_yahoo.com> wrote in message
news:ul54tlpqEHA.3568@TK2MSFTNGP10.phx.gbl...
> One more time with better wrapping...
>
> Your script does not reboot the device because it likely fails on the
EXECUTE command.
>
> Something seems to be wrong in your command:
>
EXECUTE,,DAYES,,c:\windows\system32\ewfmgr.exe,,c:\windows\system32\ewfmgr.e
xe c: -commit,,DAYES,,administrator,,admin,,,,,,
>
> Look at the command syntax:
> 3, [ErrorMode], [RebootOK], [ExpandMode], [ApplicationName],
[ExpandMode],
> [CommandLine], [WaitForCompletion], [Timeout], [ExpandMode], UserName,
> [ExpandMode], [Domain], [ExpandMode], Password, [LogonFlags],
> [CreationFlags], [ExpandMode], [CurrentDirectory],
> [1, StartupInfo] | [0], [NewEnv]
>
> You may want to try to execute something like:
>
EXECUTE,,DAYES,,c:\windows\system32\ewfmgr.exe,,c:\windows\system32\ewfmgr.e
xe
> c: -commit,DAYES,,,administrator,,YourMachineName,,admin,,,,,,
>
> Please note all the changes made in the command string.
>
>
> You may also want to include the event log in your configuration so you
can debug DUA errors. There is a verbose mode for logging
> that will write all DUA commands to the application event log.
>
> Under the
[HKLM\SYSTEM\CurrentControlSet\Services\XPEAgent\Parameters\Config] key add
"Logging"=dword:1 value.
>
> Btw, it may not be good implementation of your script for the purpose of
changing running app with EWF on.
> With EWF command you just commit a registry change to move/replace the
JP.exe file on next reboot. The file will be replaced each
> reboot until you commit EWF again.
>
> If it is acceptable you can issue a command to close your Shell app
[properly] (e.g., command like "JP.exe -closeall" that close all
> running instances of the app), then replace the exe and commit EWF. Since
you reboot then, the new shell exe will be used. This is,
> of course, assuming you can change the JP app.
>
> KM
>
> > I am trying to update a custom shell using DUA and EWF. Here is my DUA
> script-
> >
> > // move the file from C:\ to c:\windows\systems32, but force it to wait
> > until a reboot to move
> >
>
MOVEFILE,0,1,C:\DUA\JP.exe,1,c:\Windows\System32\JP.exe,DAMOVEFILE_DELAY_UNT
> IL_REBOOT|DAMOVEFILE_REPLACE_EXISTING
> >
> > // now commit EWF and reboot
> >
>
EXECUTE,,DAYES,,c:\windows\system32\ewfmgr.exe,,c:\windows\system32\ewfmgr.e
> xe c: -commit,,DAYES,,administrator,,admin,,,,,,
> > REBOOT,,DAREBOOTOPT_REBOOT
> >
> > the script compiles ok, and it runs on the target, but the system never
> > reboots. I have used the script successfully without the EXECUTE
> statement
> > and without EWF, and it updates the shell OK. What do I need to do to
> update
> > the shell using EWF?
> > thanks
> > kevin
>
>
- Next message: Slobodan Brcin \(eMVP\): "Re: NI 6025 GPIO device under XPe - anyone done this?"
- Previous message: Slobodan Brcin \(eMVP\): "Re: HD faults protection using EWF"
- In reply to: KM: "Re: EWF/DUA help needed"
- Next in thread: KM: "Re: EWF/DUA help needed"
- Reply: KM: "Re: EWF/DUA help needed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|