How to remove default office, teams, onenote from win10 pro education by Powershell or cmd

Eaven HUANG 2,126 Reputation points
2020-12-07T10:54:38.77+00:00

Dear Pros,

We are using MDT to install OS for our batch PCs. A requirement from management is that we need to uninstall the office suites installed by default in win10 pro education (downloaded from volume licensing site).

The steps I took so far was to use PowerShell to Remove AppxPackage of office and OneNote, it was tested okay and I would add this into our MDT custom script tomorroww. However, we can still see excel, word, teams icons on the start menu in the group called School Essentials. Is there any command or script that can help to unpin these icons from start menu and even remove the whole School Essential group?

I was thinking about using MDT capture function to custom an OS first, then use it as reference computer for sysprep and capture, but after I added win10 pro edu OS into task sequence then run the litetouch.vbs to capture the altered OS, it still shows these office, OneNote software and also the whole School Essential group still out there. I'm running out of ideas what I have done wrong.

Any hints, advice or suggestions would be greatly appreciated!

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,912 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Dale Kudusi 3,226 Reputation points
    2020-12-08T07:20:40.4+00:00

    Hi,
    You could try customizing the Start layout following this article:
    Customize and export Start layout

    Best regards.

    **
    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. S.Sengupta 16,081 Reputation points MVP
    2020-12-09T02:29:05.577+00:00

    Download the following script from GitHub. The script removes the apps specified in a text file from the current logged on user and removes provisioned apps from the Windows 10 install, but will require administrative privileges to remove provisioned apps.

    0 comments No comments