Setting a restart between two components in a baseline

(imported topic written by arnaud91)

Hi,

I created a baseline with two components. The first component need the PC to be restarted before the second component is run. I set the reboot option in the post action of the first component task, but it is not working (ie the second element of the baseline is run immediately after first one, without prompting end user for a reboot).

Any idea about how to force the reboot after the first component of the baseline ?

(imported comment written by BenKus)

Hi Arnaud,

BES 6.0 or 7.0?

If it is 7.0, this is a known bug: “Fixed issue where agent would ignore “restart” action commands inside of a baseline or multi-action group (bug #15006).” (http://support.bigfix.com/cgi-bin/kbdirect.pl?id=446). Should be fixed in BES 7.0.7.

In the meantime, you can consider using a separate restart utility in your baseline.

Ben

(imported comment written by arnaud91)

Hi Ben,

it is on BES 7.0, so it is certainly due to bug #15006.

How can i use “a separate restart utility” in the baseline ? I tried to add a “restart needed” task, but, as it uses the post-action option, it is not launching the expected reboot.

Arnaud.

(imported comment written by BenKus)

Hi Arnaud,

Which OSes are you using? If it is XP+, you can try the built-in shutdown command…

waithidden cmd.exe shutdown -r

I think “shutdown” has many options so you might want to select the ones you want.

Ben

(imported comment written by arnaud91)

Hi Ben,

We use Windows 2000, XP and 2003.

I will try this command on each.

Thanks a lot.

Arnaud.

(imported comment written by sonny.mcmanigle91)

we use sysinternals psshutdown which has been purchased by microsoft… decent utility