![]() Uninstall the main application as any other installed program: Second, to satisfy the do-it-yourself crowd. $OfficeUninstallStrings = (Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Where | Select UninstallString).First, the easy way: There is a Microsoft FixIt tool to uninstall MS Office 365. ![]() It will also add " DisplayLevel=False" to the argument list make it run silently & not require user input. The following script will get the UninstallString value for all software with a Display Name containing "Microsoft Office 365" and split the UninstallString into two components - the path to the executable, and the argument list to run the executable with. Using Powershell, I was able to get these UninstallStrings for each of the three versions, and then run the uninstall commands via PowerShell. ![]() Many standard Windows 10 programs have an "UninstallString" in the registry which essentially just specifies an uninstall executable and a list of arguments to use when uninstalling through the GUI. I was able to work out a method to silently uninstall these via a quick Powershell script. I searched for a while for an existing method to do this easily, but didn't come up with anything. but that's not always an option for everyone. I'm sure a lot of folks have solved this issue by having a master image that is deployed via WDS/MDT/SCCM etc. It's a real hassle to do this manually through the GUI when you're setting up multiple computers. One major annoyance that my coworkers have been facing is the fact that many Windows 10 computers come with three versions of ClickToRun Office 365 preinstalled (EN, ES, FR) that have to be uninstalled before you can install any other version of Office.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |