Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Uninstall Built-In Office 365 Click To Run Preinstalled

November 16, 2023
in Blog, Microsoft 365, Powershell
1
ADVERTISEMENT

Table of Contents

Uninstall Microsoft Office 365 preinstalled

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.

Bg1291

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. It will also add ” DisplayLevel=False” to the argument list make it run silently & not require user input.

1️⃣ Right click on the Windows Start icon then open Windows PowerShell as administrator.

Pw3

2️⃣ Copy then paste the following commands into PowerShell window at once then hit Enter.

$OfficeUninstallStrings = ((Get-ItemProperty "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*") `
    + (Get-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*") | 
    Where {$_.DisplayName -like "*Microsoft Office 365*"} | 
    Select UninstallString).UninstallString

    ForEach ($UninstallString in $OfficeUninstallStrings) {
        $UninstallEXE = ($UninstallString -split '"')[1]
        $UninstallArg = ($UninstallString -split '"')[2] + " DisplayLevel=False"
        Start-Process -FilePath $UninstallEXE -ArgumentList $UninstallArg -Wait
    }

Uninstall Microsoft 365 preinstalled

Microsoft Changed the name again, the DisplayName is not Microsoft Office 365 anymore. It’s Microsoft 365 – en-us. We need to change:

Where {$_.DisplayName -like "*Microsoft Office 365*"} to 
Where {$_.DisplayName -like "*Microsoft 365 - *"}
Note Note: The dash (-) is really important to not remove Microsoft 365 Apps for enterprise.
Bg1292

Run the following commands to remove Microsoft 365 preinstalled.

$OfficeUninstallStrings = ((Get-ItemProperty "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*") `
    + (Get-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*") | 
    Where {$_.DisplayName -like "*Microsoft 365 -*"} | 
    Select UninstallString).UninstallString

    ForEach ($UninstallString in $OfficeUninstallStrings) {
        $UninstallEXE = ($UninstallString -split '"')[1]
        $UninstallArg = ($UninstallString -split '"')[2] + " DisplayLevel=False"
        Start-Process -FilePath $UninstallEXE -ArgumentList $UninstallArg -Wait
    }

Remove preinstall Microsoft 365 using Office Removal Tool

If you don’t want to using Windows PowerShell, you can using the official to Office Removal Tool from Microsoft.

Reference: How to Remove or Uninstall Microsoft Office Apps Completely

Not a reader? Watch this related video tutorial:

5/5 - (1 vote)
Previous Post

How to Change the Update Channels for Microsoft 365 Apps

Next Post

Block Users From Entra ID Joining Their Windows 10/11 Devices

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Comments 1

  1. Peter O says:
    2 years ago

    Works like a charm!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory