Forum Discussion

Bjrn1765's avatar
Bjrn1765
Copper Contributor
Sep 25, 2022

Uninstall user setup Visual Studio Code

Hi community! I've just integrated Visual Studio Code user setup, due to the auto upgrade feature. The Install is fine but the Uninstall is not. Admin center status is Uninstall Failed The system ca...
  • Bjrn1765's avatar
    Bjrn1765
    Oct 17, 2022

    Rudy_Ooms_MVP I saved my script as Uninstall.ps1 and added it to my VSCodeUserSetup-x64-1.65.2.intunewin file and uploaded it. I then changed the Uninstall command to PowerShell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File Uninstall.ps1. It doesn’t work on my own machine, but on three others. So that’s fine, probably something weird with my computer. 

     

    Thank you very much Rudy for your help! 😀

Resources