[wpkg-users] Forcing a second reboot...

Pendl Stefan stefan.pendl at haidlmair.at
Thu Oct 29 13:33:48 CET 2009


>
> I've tried to add to 'network agent' installation a row like:
>
>       <install cmd='schtasks /create /tn "KNA forced reboot"
> /sc ONSTART /ru SYSTEM /tr "shutdown /r /t 5 /f"' />
>
> but does not work, probably because the 'shutdown' executed on startup
> are ignored (the scheduled task are correctly installed and
> work runned
> by hand).
>
>
> How can i force a reboot at next boot? ONLOGON will suffice?
>
> Thanks.
> --------------------------------------------------------------

I would use ONIDLE with a delay of 5 minutes and remove the task with the installation of the new AV.

---
Stefan



More information about the wpkg-users mailing list