/build/static/layout/Breadcrumb_cap_w.png

Beware: MI's at Bootup - but there's a quick fix

Beware of MI’s that install at bootup or after logon that need to restart the client.

When an MI is set to ‘Execute before Logon’ or Execute After Logon’ AND the computer is set to reboot to complete the install, the client could end up in an endless cycle of MI install/reboot.

What happens is a client completes and Inventory check and finds out it has an MI to install at Bootup. KACE creates a file on C:\ called “KBCLIENT.BOOTUP.LAUNCH" during an Inventory check. This tells the KACE client to install the MI at Bootup before Logon. Now, if you have the MI set (via batch file or MSI edit) to reboot the PC after install, the client reboots – but KACE never gets a chance to Inventory the new installation and does not get the chance to remove the “KBCLIENT.BOOTUP.LAUNCH" from C:\. So when the client reboots, the “KBCLIENT.BOOTUP.LAUNCH" file is still on C:\ and KACE thinks that it still needs to install the MI – which it already did during the last Bootup.

I’ve been in contact with support and they are aware of this known bug. However, there is a quick fix I use until it’s officially ‘fixed’ in a newer version.

The fix:
1. Create a batch file that runs your MSI/EXE. At the end of the batch file simply run this command: DEL /Q "C:\KBCLIENT.BOOTUP.LAUNCH".
2. 7-zip all your files including the batch file.
3. On the Managed Software Installation: Edit Detail screen set the Installation Command to ‘Configure Manually’ and enter the batch file name in the box.

Here is what my batch file looks like:

Echo off
msiexec.exe /i XXXXXXXX.msi /qn
DEL /Q "C:\KBCLIENT.BOOTUP.LAUNCH"
Exit


I hope this helps…
Dave




0 Comments   [ + ] Show comments

Answers (1)

Posted by: GillySpy 12 years ago
7th Degree Black Belt
0
This is a case where an offline scripts would do very well at. If you're creating a batch file why not augment it's logic with a script? Then there are less holes to plug. here the first step of the script would be to check if the installed file or directory exists.

Or, if you want to keep all your logic in a batch you can at least edit the batch file right in the script.

You can also take remediation steps if there is a failure, etc
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ