none
Detection rule required for application UnInstallation through Intune RRS feed

  • Question

  • Hi All,

    I am trying to uninstall 7 applications through a single VB script on Intune. What is the best possible solution to set the detection rule, as the end of  uninstall the query will remove all the items downloaded in Intunecache.

    Note: Stand alone Intune environment

    Thanks,

    Dileepan A 

    Sunday, May 17, 2020 8:45 AM

All replies

  • No one can tell you this as it will be specific to what you are doing.

    Why not use a PowerShell script though and not have to worry about the detection method explicitly?


    Jason | https://home.configmgrftw.com | @jasonsandys

    Sunday, May 17, 2020 4:05 PM
  • It may be possible if it is a Intune Win32 support (.intunewin) and specify the uninstall command line correctly. As a detection rule use something to identify if it is installed like .exe file in the Program path, then target with assignment "uninstall" to you devices where it is actually installed and this should trigger the uninstall. You can refer the following post for the script:

    https://techcommunity.microsoft.com/t5/microsoft-intune/uninstall-application-using-intune/m-p/286404

    In addition, as Jason said, you can also use a PS script for the uninstallation.

    Best regards,

    Cici


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Monday, May 18, 2020 2:40 AM
  • Either add some command line after vbs script to add special registry value or text file and use that as detection method or then turn your vbs to PowerShell if you can.

    This is in the case if the file detection presence really doesn't work.


    MCSA Win10, MCSE Mobility, MCSA M365.


    Tuesday, May 19, 2020 6:12 AM
  • How are things going? Please send me an update or mark answer the correct reply so that we can archive this ticket. Thanks very much for your reply and cooperation. Have a nice day!

     

    Best regards,

    Cici Wu


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, May 22, 2020 3:18 AM