Deploy Teams machine-wide via GPO

Uhmazing34 30 Reputation points
2023-01-24T11:30:11.8333333+00:00

Hi everyone,

Lately we are receiving multiple complaints from users who are not able to start Teams (path doesn't exist).
Instead of installing Teams for these users one by one, we would like to deploy Teams (machine-wide) via GPO.

I already downloaded the Teams Machine-wide installer (msi) and created a new GPO, added the msi to new package in software installation, but unfortunately after applying the GPO to the pc, Teams won't get installed.

Is there any way to deploy Teams through GPO (perhaps with help of a Powershell script)?

Thanks in advance.

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Client for IT Pros | User experience | Other
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2023-01-24T12:47:52.6933333+00:00

    Hi,

    Yes, it's possible to deploy teams through powershell script :

    msiexec /i "\Teamsfilepath\Teams_windows_x64.msi" OPTIONS="noAutoStart=true"

    You can create powershell script and add it as Startup/Shutdown scripts through GPO.

    Please don't forget to mark helpful answer as accepted


  2. Uhmazing34 30 Reputation points
    2023-01-25T10:52:28.29+00:00

    Hi, thank you for your comments.

    Instead of running the script at startup, I set up the GPO as a scheduled (immediate) task.
    Via this way it places the installer under Program Files (x86), so it seems to work correctly.
    I just haven't managed to get to the point where it also automatically installs Teams for users who do not have Teams installed yet. For now, I have sent out a manual instruction so the users will have to click manually on the Teams.exe file in the Teams installer folder, after which Teams installs succesfully.


  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.