Re: EWF/DUA help needed
From: KM (konstmor_at_nospam_yahoo.com)
Date: 10/05/04
- Next message: abner doon: "Group Policy manager"
- Previous message: KM: "Re: EWF/DUA help needed"
- In reply to: kevin: "EWF/DUA help needed"
- Next in thread: Doug Hoeffel: "Re: EWF/DUA help needed"
- Reply: Doug Hoeffel: "Re: EWF/DUA help needed"
- Reply: kevin: "Re: EWF/DUA help needed"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 4 Oct 2004 22:09:34 -0700
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.exe 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.exe
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: abner doon: "Group Policy manager"
- Previous message: KM: "Re: EWF/DUA help needed"
- In reply to: kevin: "EWF/DUA help needed"
- Next in thread: Doug Hoeffel: "Re: EWF/DUA help needed"
- Reply: Doug Hoeffel: "Re: EWF/DUA help needed"
- Reply: kevin: "Re: EWF/DUA help needed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|