r/ninjaone_rmm • • 10h ago

Close Software before Patching?

Hello Ninja's

we tried to maintain 3rd Party Software like Greenshot with NinjaOne unfortunately NinjaOne cannot update it on our Computers reliably. I got many failures about that on many different endpoints.

I think the reason is that the Software needs to be closed before it can be updated.

I created a .cmd script which sends a taskkill /F /IM Greenshot.exe if this process is currently running and then updating Greenshot with the silent parameters needed to install it unattended.

My question is it possible to do something inside NinjaOne so that I don't need my 3rd party cmd scripts?

3 Upvotes

4 comments sorted by

2

u/Apprehensive-Row5397 5h ago

Is the software in the NinjaOne repository, the Winget repository or is it a custom automation you created? If it is Winget sourced, the software update will be staged until the app is restarted. If it is a custom automation, what you are doing is correct.

1

u/luky90 4h ago

Greenshot and according to the software tab in policy its a Ninja Source Packet and not Winget.

1

u/Sad-Garage-2642 1h ago

Yes, one of the patching schedule options is to force close the app before patching.

1

u/luky90 1h ago

i set that the user should close it based on my custom prompt i defined in the settings but software never gets updated like Greenshot. According to policy the user has 4 tries and 2 hours between each. If they ignore last one ninja one should close it but it never happened.