Forum Discussion
AB21805
Apr 07, 2022Bronze Contributor
how to remove Lenovo Welcome app via intune
Hi all, I want to remove Lenovo Welcome software on all devices via intune Any ideas on how when I go into HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall I cant seem to find Lenov...
- Apr 07, 2022Create a script that runs the uninstall.ps1, like a uninstall.cmd, with powershell.exe -executionpolicy bypass -file "C:\ProgramData\Lenovo\ImController\Plugins\LenovoFirstRunExperiencePackage\x86)\uninstall.ps1" Add that together with an empty install.cmd in a folder and create a package from that with a detection on the uninstall.ps1 file
Apr 07, 2022
Try it, looks good
AB21805
Apr 07, 2022Bronze Contributor
How do I get this to run via the intunewin package? do I include the uninstall script via the package or do I create a script that runs the uninstall.ps1 from the location its in (C:\ProgramData\Lenovo\ImController\Plugins\LenovoFirstRunExperiencePackage\x86)
If I am running a script to open and run the uninstall from the location above what would it look like?
If I am running a script to open and run the uninstall from the location above what would it look like?
- Apr 07, 2022Create a script that runs the uninstall.ps1, like a uninstall.cmd, with powershell.exe -executionpolicy bypass -file "C:\ProgramData\Lenovo\ImController\Plugins\LenovoFirstRunExperiencePackage\x86)\uninstall.ps1" Add that together with an empty install.cmd in a folder and create a package from that with a detection on the uninstall.ps1 file
- AB21805Apr 07, 2022Bronze Contributor
And do I point to the uninstall.cmd when creating the intunewin?
when creating the install and uninstall command on intune would they be like so?
Install command: powershell -ex bypass -file install.cmd
Uninstall command: powershell -ex bypass -file uninstall.cmd- Apr 07, 2022Install.cmd when creating and just select install.cmd as installation command and Uninstall.cmd as uninstall command