Forum Discussion
newtotechcom-J
Sep 17, 2023Brass Contributor
Unable to uninstall Visual Studio Pro 2022 via Intune
Hi, I'm able to install Visual Studio Pro 2022 but unable to uninstall it via Intune. Following are the commands that I'm using: Install command vs_Professional.exe --nocache --wait --noUpda...
- Sep 19, 2023
newtotechcom-J I Installed it using your install command. I used this as the uninstall string, which also removes the Visual Studio installer after uninstalling Visual Studio Pro 2022:
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" /uninstall --passiveIt does, however, leave the CoreEditorFonts installed. You can put the command above and this one below in one uninstall.cmd and use that as uninstall string:
MsiExec.exe /X{1851460E-0E63-4117-B5BA-25A2F045801B} /qnYour initial uninstall string didn't work because it needed a space behind the Installpath before specifying the --quiet option
newtotechcom-J
Sep 26, 2023Brass Contributor
which logs should I check and what argument/line should I check?
I can see the following logs:
IntuneManagementExtension
AgentExecutor
AppActionProcessor
I can see the following logs:
IntuneManagementExtension
AgentExecutor
AppActionProcessor
Sep 26, 2023
newtotechcom-J Wait! 🙂 I see the problem from within your screenshot!
It should be named uninstall.cmd, not uninstall.cmd.bat 😄 Rename the file, create a new package and try again 😉