Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

PENDING Teams Installation stuck during OSD TS

Messages
7
Reaction score
1
Points
3
Hi There

I'm installing MS Teams during my OSD TS. The OSD TS is for installing Windows 2016 Server (XenApp Environment).
For the Installation I use the x64 MSI with these install parameters because it has to be a machine wide installation: noAutoStart=true ALLUSER=1 ALLUSERS=1

Unfortunately the OSD TS is stuck after it started the Teams installation. In the Taskmanager I saw that a process named Teams.exe was running and I guess it was waiting for some input.

Did anyone else face the same problem and could give me an advice?

Thanks :)
Kind Regards - Super SCCM Bros.
 
A log is created during the installation. The last entry ist always this one:
MSI (s) (00:34) [11:48:57:738]: Executing op: CustomActionSchedule(Action=RunInstalledExecutable,ActionType=3090,Source=C:\Program Files (x86)\Teams Installer\Teams.exe,Target=--allUsers,)

After that the I can see that a process called Teams.exe is running and nothing happens. When I end the process the installation fails and the OSD continues to the next application.

During the OSD I can confirm the application is installed using the local system account.
 
So to be 100% clear, you have tested your Team install using the local system account, as per the blog?
 
Both x64 and x86 cmd? if so there you will need to post this within a Teams forum.
 
But the Issue only occurs during the Installation within an SCCM OSD TS. There is no problem with the same application when its not installed not whitin an OSD TS.
 
That blog shows you exactly how CM install it and therefore allow you to duplicate it outside of the TS and therefore see any problems that pop up. when you remove the quite switches.
 
Did you ever get this working? I have the exact same issue with Teams on a Citrix Windows Server 2019... The install works just fine via Software Center or if manually done under the local system account with psexec... But it keeps hanging when attempted from the OSD TS...
 
Sorry if I get back to this kind of old posts, but this has not been ultimately resolved and I ran into the same issue and stumbled across this
.
For me the issue was as following: We use the PowerShell App Deployment Toolkit as Wrapper, and in our default template to check for running processes before the installation and ask the user to stop them, in case of teams for example on a running teams.exe and squirrel.exe. After those processes have been stopped, we block the execution for those processes (as there are some users if you ask them to stop an application to update it, they close the app, confirm the message and immediatly start it again...) with the Block-AppExecution function of PSADT. Unlucky here is, that the MSI calls the Teams.exe... so it should not be blocked from execution.

Additionally if that does not apply to you,this might be an issue if you install with ALLUSER=1 and ALLUSERS=1

In that case you need to set a RegKey before hand
HKLM\SOFTWARE\Microsoft\Teams => IsWVDEnvironment => 1 (as DWORD)

I hope that helps.
 
Last edited:
Back
Top