Forum Discussion
JoshB531
Oct 08, 2023Brass Contributor
Intune Uninstall Error
Hoping someone can help me with this issue?
I am having an issue uninstalling a Win32 app deployed from Intune. The installation works fine but whenever I try and un-install from Company portal I get an error saying uninstall failed.
I believe the .msi uninstall command in Intune is correct and it works fine if I run in command prompt as admin. The detection rules are right as its updating the installation install status in Intune.
Looking through the Intune logs, I keep getting this when I try to run uninstall
"GetRegistryValue encountered an exception: System.NullReferenceException: Object reference not set to an instance of an object.at Microsoft.Management.Services.IntuneWindowsAgent.AgentCommon.RegistryHelper.GetRegistryValue(String key, String valueName, String defaultValue, Boolean check32BitOn64)"
The application was a msi and packed up as a intunewin file.
Any help would be great
- This has now been resolved. I found out late Friday that our new VPN client was blocking PowerShell and cmd scripts from Intune.
Thank you for all your help.
- Could you share your settings for the Intune package? What's your detection?
- JoshB531Brass Contributor
- The last " in the uninstall command shouldn't be there