How can I uninstall app that was not deployed via Intune?

Aditya Sati 20 Reputation points
2024-04-05T13:19:18.89+00:00

how can I uninstall the application that was not deployed via Intune? I have tried the win32 method by assigning the group in uninstall assignment but that was gone unsuccessful. could you please share the technique for uninstalling the app via Powershell script using Intune or any other efficient method?

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,365 questions
{count} votes

Accepted answer
  1. ZhoumingDuan-MSFT 8,065 Reputation points Microsoft Vendor
    2024-04-08T01:21:04.55+00:00

    @Aditya Sati, Thanks for posting in Q&A.

    In General, Intune mainly focus on the app which are deployed via Intune. For the app which are not deployed via Intune, you can check to see if it can be removed via PowerShell script. Based as I know, some apps can also be uninstalled via Win32. You can check if the app has silently uninstall command. If yes, then you can try to deploy the package via Intune win32 and assign the user or device group under uninstall assignment to see if the app can be uninstalled.

    https://learn.microsoft.com/en-us/mem/intune/apps/apps-win32-add#step-7-assignments

    Or you can create a PowerShell and upload it into Intune to uninstall apps.

    Here are some links with instructions you can refer.

    https://redmondmag.com/articles/2019/08/27/powershell-to-uninstall-an-application.aspx?m=1

    Non-official, just for reference.

    https://learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension

    Hope the above information can help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. glebgreenspan 1,290 Reputation points
    2024-04-05T14:03:51.04+00:00

    Hello Aditya

    If you need to uninstall an application that was not deployed via Intune and the Win32 method using the uninstall assignment did not work, you can use PowerShell scripts deployed via Intune to uninstall the application. Here's a general outline of the steps to accomplish this:

    Create the Uninstall Script: Write a PowerShell script that performs the uninstallation of the application. This script should include commands to uninstall the application silently, ensuring that it does not prompt the user for confirmation.

    1 person found this answer helpful.
    0 comments No comments