6/15/2023 0 Comments Bloat wareHence there is no guarantee that QuietUninstallString will really start silent uninstallation ?. Some EXE application (like "Dell Optimizer Service") has the QuietUninstallString property but when used, it normally runs uninstall wizard GUI.Sometimes for MSI installed applications UninstallString property contains /I instead of /X parameter ( /I means 'install' and /X means 'uninstall'). Applications installed via EXE have typically both these properties but MSI have just UninstallString. What you might not know is that almost every application that is stored there has defined properties QuietUninstallString and/or UninstallString. Get-InstalledSoftware -appName Dell | Uninstall-ApplicationViaUninstallStringįind silent uninstall command the smart wayĪs you probably know, a list of installed applications is stored in two registry keys: HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall. Use function Get-InstalledSoftware and Uninstall-ApplicationViaUninstallString functions from my CommonStuff PS module like ? # Uninstall every application that has 'Dell' in its name. And by efficient I mean avoiding the need to manually find an uninstall command for each preinstalled application.Īs always PowerShell and registry property QuietUninstallString were my saviors ?. This laptop comes with a lot of preinstalled applications (bloatware) so I was looking for some simple but efficient way to silently remove them. Recently I came into a situation where I needed to provision new Dell Precision laptops for our employees.
0 Comments
Leave a Reply. |