cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
CyberCitizen
Honored Sweeper
Hi Guys,

Looking to see what everyone else does in regards to an installation notification for packages where the user needs to be out of the application? One of our applications is used heavily by staff, but for the update to occur, I need them to be out of the application.

At present, I am using the below command.

msg.exe /W /TIME:300 * ## INSTALLATION ## APPLICATION NAME is pending install. Please exit and save APPLICATION NAME files before pressing ok to continue. Otherwise this install will force close APPLICATION NAME and install within 5 minutes.

This displays the message to all logged on users of the machine (don't use on terminal server as it goes to all users). Waits 300 seconds (5 min) then continues to the next step which is a taskkill command.

I was wondering if anyone has anything nicer or not so in your face.

I did see a script posted before but it only works when running as logged on user, where as this works for system account or scanning credentials.

11 REPLIES 11
CyberCitizen
Honored Sweeper
Thanks Charles,

Our fleet is mostly laptops with guys out in the field (construction company etc).

So most of our deployments we have to copy locally to the machine first before we do the installs etc, otherwise we uninstall the old app and the new app doesn't install as it can take 30-60 minutes for it to download to the device from the deployment server.

To get around this we copy locally and then execute the installs locally.

Was just wondering if anyone had a nicer notification window or alert example etc. I saw the VBS script that was posted, but that really only works if you are installing as the user and if you disable the security alert for VBS scripts etc.
Esben_D
Lansweeper Employee
Lansweeper Employee
From what I've seen, the method you are using is what most people do. Alternatively you could schedule the updates and use WOL to do your updates outside of the office hours.