I have a server that reboots (not a clean shutdown) and when the server
restarts and DUA restarts, I get the DUA server started message in the event
log followed by the error:
Parameter SYSTEM\CurrentControlSet\Services\DUAgent\Parameters\Restart was
illegal (Error

The operation completed successfully.))
It looks like DUA is writing this registry setting and when it reads in on
reboot, changes it's logic for the next DUA request. The next request by DUA
(using http) following the reboot is for an older script (and not
necessarily the last script specified in the last known good section of the
registry).
Does anyone have any insight into what DUA is doing with this registry
setting and how it's persisting this older script information? I need to
find a way to resolve this issue so older scripts aren't rerun and don't want
to design a solution without understanding what's up with DUA. This is a
follow up to an older post that seems to have gone stale.
Thanks for the help