How to remove/uninstall Adobe Flash player via Intune or any other method?

Vinod Survase 4,776 Reputation points
2023-06-01T13:26:10.07+00:00

How to remove/uninstall Adobe Flash player via Intune or any other method?

I have tested from one of the script from internet but its not working or maybe not correct.

Microsoft Security Intune Application management
Microsoft Security Intune Other
{count} votes

Accepted answer
  1. Crystal-MSFT 53,981 Reputation points Microsoft External Staff
    2023-06-02T02:24:15.8533333+00:00

    @Vinod Survase, Thanks for posting in Q&A.

    To remove or uninstall Adobe Flash Player via Intune, you can create a PowerShell script that will execute the following command to uninstall Flash Player silently:

    C:\Windows\SysWOW64\Macromed\Flash\FlashUtil32_<version>.exe -uninstall -force
    

    Replace <version> with the version number of the Flash Player installed on the system. You can find this by navigating to C:\Windows\SysWOW64\Macromed\Flash\ and finding the name of the .exe file.

    Here's an example PowerShell script that performs the Flash Player uninstallation silently:

    $version = ((Get-ChildItem 'C:\Windows\SysWOW64\Macromed\Flash\').name -match "FlashUtil32_(.*).exe")[0].split('_')[1].split('.')[0]
    $uninstallCommand = "C:\Windows\SysWOW64\Macromed\Flash\FlashUtil32_$($version).exe -uninstall -force"
    Invoke-Expression $uninstallCommand
    

    You can then upload this script to Intune and create an uninstallation policy for it.

    Hope the 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. Reza-Ameri 17,336 Reputation points Volunteer Moderator
    2023-06-01T19:05:06.2+00:00

    You need to navigate to MEM Admin portal and then go to Apps->Windows app and then select it from the list. Then select Properties and click Edit and you should see Uninstall command and you may follow steps to configure uninstallation.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.