Uninstall Program

Uninstall Windows Program


This procedure will prompt you for a program name and will uninstall the corresponding program. The name does not have to be exact, but if you have multiple programs starting with that name, they will all be uninstalled.
It will only work for .exe programs and not .msi

  • Name: Douglas Sanchez
  • Company: Kaseya
  • Website: http://www.kaseya.com
  • Contact Developer
  • Summary
  • Uninstall Program
  • Initially Released March 16th, 2017
  • Reviews
    Gravatar for Dor Einy
    by Dor Einy on February 26th, 2021

    It worked exactly as described.

    Gravatar for Derek Harlan
    by Derek Harlan on February 10th, 2021

    Worked perfect for the application I wished to uninstall. Application in question was a single word with no spaces so not sure how it would handle more complex application names but otherwise worked as described.

    Gravatar for Nugroho
    Nugroho over 2 years ago

    Hi Kaseya,

    Is there any procedure to install this script?

    Please advise.  Thank you.

    Best Regards,


    Gravatar for Khalil YS
    Khalil YS over 2 years ago


    Just download the zip, extract and use Kaseya agent procedures import procedures.

    Gravatar for Nugroho
    Nugroho over 2 years ago

    Hi Khalil,

    Thanks for your support.  I followed your guidance and the procedure has successfully imported.

    However, when I try to Run Now for selected machines which already passed credentials, there is error message shown "Agent procedure could not be run because it is either not signed or not approved, or both.  Option button only OK.

    May I know how to solve this issue?  Thank you in advance.

    Best regards,


    Gravatar for Khalil YS
    Khalil YS over 2 years ago


    There is pending approval page, please approve the procedures before using it. Try change your scope to master if you still having the issues. Otherwise, you may need to ask for approval from VSA user with Master scope.

    Gravatar for Tim
    Tim over 1 year ago

    I imported the .XML and don't have a thing in my tree.  I click it and below is what I get. Care to shed some light. I need a few scripts that actually work for uninstall CARBONITE and MozyPro, but I find Kaseya doesn't have much for scripts or they are wayyyyy old lol. Oh yes I dont have Pending Approvals active apparently, "The system is not currently configured for Agent Procedure signing. If you would like to enable this feature, please go to System | Server Management | Default Settings, and select Enable Agent Procedure Signing to change it. So maybe I'm doing something wrong or... I've had Kaseya since 2011 and I figured I'd try fooling around with some scripts and if they work awesome, if not I'll ask their techs as they've been phenomenal up until now. So any suggestions on this script and others would be greatly appreciated. I have a list of scripts I need for installing/uninstalling/running etc.

    Thanx all, Stay real...

    Gravatar for Douglas Sanchez
    Douglas Sanchez over 1 year ago

    Hey Tim, 

    Email me at douglas.sanchez@kaseya.com and I'll help you get in touch with someone at Kaseya to help you out. 
    This procedure can be a hit or miss depending on the application but there are some other ways to proceed with an uninstall. 

    Gravatar for Eric Morgan
    Eric Morgan 5 months ago

    I have tried running this for iDrive... unfortunately, I cannot get it to work.

    Gravatar for Derek Harlan
    Derek Harlan 4 months ago

    Worked great! For future reference are quotations able to be used to provide a longer text string with spaces to identify application to uninstall?

    Gravatar for Marine Applications Ultraship
    Marine Applications Ultraship about 2 months ago

    didn't work for me. tried uninstalling firefox. Procedure is successful but firefox is still there.

    Gravatar for Luc Celestin
    Luc Celestin about 1 month ago

    Hi Douglas Sanchez,

    Please let me know if this script works on windows 10 x64? I have tried uninstalling a program with a name and nothing seems to work. I am the Kaseya master.