MS TEAMS deployment issues
I probably should have started with microsoft forums but I wanted to start with you instead , you are more friendlier and responsive.
Here is the problem. I reilized my kace script to deploy MS Team app , stopped working. I do not know what the problem is,
Even after updating kace sma to 12.1 didn't help.
I am using windows 10 pro 21H2 build # 19044.2006
I downloaded the machine wide installer version 184.108.40.20668
I can see teams from "apps & features" window. However, when I sign in to windows, teams app won't automatically show up. Also when I search "team" in the start menu it is not there.
scripting and managed installations options have the same result as I described above.
yes I am using machine wide installer,
there is no ms office installed on the computers and they are using office 365
Here is the command (script) msiexec.exe /i teams_windows_x64.msi ALLUSERS=1 /quiet /norestart
I run this from cmd.exe (as admin) command runs without an error and I can see the ms team machine-wide installer exists in the apps list.
However, it is not in the start menu nor auto starts when the user logs in.
The machine installer is I believe the better option for wide scale deployment, even if MS points you to the user install. No End user likes being told to now go and install apps for themselves. However, a couple of things to also take into consideration. There is now simple way to update the machine installer, as MS in their infinite wisdom leave the MSI Code the same from one version to the other (there is a Powershell script I found online to resolve that) and you will want to ensure you keep that updated if as without it new features do not unlock. also make sure you use 'ALLUSERS' and not 'ALLUSER' as this is for VDIs only.
Also if you have used or had the User based install on endpoints prior to going to the machine installer, the removal/uninstallation of this will write a registry key to your endpoints that stop the machine installer from running as a user logs into to create the user instance
msiexec /i "Teams_windows_x64.msi" ALLUSERS=1
So we install Teams a little differently here. We install it using the Teams Machine Wide Installer MSI file and have it so that it does not auto start until after the end user runs it for the first time. Subsequent login's will have Teams auto run on login.
1. Install the MSI using the command: msiexec.exe /i Teams_windows_x64.msi OPTIONS="noAutoStart=true" /qn
2. Copy a pre-made shortcut for Teams to the Startup folder location
3. Copy a pre-made shortcut for Teams to the Public Desktop location
For step 2 the shortcut Target is: "C:\Program Files (x86)\Teams Installer\Teams.exe" --checkInstall --source=default and the Start in is: "C:\Program Files (x86)\Teams Installer"
- This one will check for the existence of the Machine Wide Installer and if so run it so that it creates the Teams install within the current user's profile.
For step 3 the shortcut Target is: C:\Users\%USERPROFILE%\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe" and the Start in is: C:\Users\%USERPROFILE%\AppData\Local\Microsoft\Teams
- This will place a shortcut on the desktop to the Teams install located in the user's profile that was created in step 2 above. So the end user will execute Teams for the first time from the desktop using that shortcut.
I then add those steps to a batch file.
I then zip up the two Team's shortcuts, the MSI file and the batch file and add it to the software inventory record.