Have you tried the solution given on this forum discussion?
Uninstalling Visual Studio with Intune
Hi,
I'm trying to setup Visual Studio Professional 2022 with Intune/Company Portal. The install-process is working, but I am experiencing some problems with the uninstallation. My uninstall command is “C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe” uninstall --installPath “C:\Program Files\Microsoft Visual Studio\2022\Professional” which is working just fine in the cmd, but when I try to uninstall via Company Portal it fails.
I'm getting the following errors:
- Uninstall Failed - Error unzipping downloaded content. (0x87D30067)
- Uninstall Failed - The application was still detected after uninstallation completed successfully (0x87D1041D)
It is an Win32-App which is run as system in Intune.
I did not find any helpful information in the Logs (C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log)
What am I missing?
1 additional answer
Sort by: Most helpful
-
ZhoumingDuan-MSFT 14,870 Reputation points Microsoft Vendor
Oct 11, 2024, 3:09 AM @Frenzel, Sophia, Thanks for posting in Q&A.
From your description, I know you failed to uninstall Visual Studio using Intune.
Based on my research, here are some links with useful information you can refer.
https://www.reddit.com/r/SCCM/comments/kr6nj2/visual_studio_2019_uninstall_command_not_working/
Non-official, just for reference.
For the Error unzipping downloaded content. (0x87D30067), it means the file is unzipping from C:\Program Files (x86)\Microsoft Intune Management Extension\Content\Staging<id> to C:\Program Files (x86)\ Microsoft Intune Management Extension\Content\Staged folder. Please ensure the folders are excluded from Antivirus software. Also exclude C:\Windows\IMECache as well.
Meanwhile, sometimes file name length may also cause issue. Please change the application name with a simple name and try again.
Also, here is a thread with same error and someone has posted some useful information you can refer.
Please check above information, if there is any update, feel free to contact us.
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.