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.