Forum Discussion

fettouhi1280's avatar
fettouhi1280
Copper Contributor
Feb 24, 2025

Microsoft Teams remoteapp disable autostart

Hi

 

So I have been trying almost everything to disbale teams autostarting for users after they launch it the first time in a remoteapp hostpool with teams, word, excel etc. 

Teams is slimcore optimzied and works but getting it to not launch if a user only wants to open up word is really frustrating to configure. All registry settings I have tired don't work and going into the Teams admin center is disabling it fully would be a global setting on all devices for the users which we don't want.

Anyone got this working ? 

Teams is installed on the golden image machine wide so its not a msix app attached setup.

  • How about this:

     

    Method 1: Group Policy
    Open Group Policy Editor (gpedit.msc)

    Navigate to User Configuration -> Administrative Templates -> Microsoft Teams

    Locate the policy named Prevent Microsoft Teams from starting automatically after installation

    Set the policy to Enabled

     

    Method 2: Registry Settings
    Open Registry Editor (regedit)

    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Office\16.0\Teams

    Create a new DWORD (32-bit) Value named PreventTeamsFromStartingAutomatically

    Set the value to 1

     

    Method 3: Modify the Teams Configuration File
    Navigate to the Teams installation directory

    Locate the Teams.exe.config file

    Modify the configuration to disable autostart

     

    Method 4: Disable Autostart via Task Manager
    Open Task Manager (Ctrl+Shift+Esc)

    Go to the Startup tab

    Locate Microsoft Teams and disable it

     

    Method 5: PowerShell Script

    You can use a PowerShell script to disable Teams autostart for all users:

    $teamsPath = "C:\Program Files (x86)\Microsoft\Teams\Update.exe"
    $teamsArgs = "--processStart \"Teams.exe\" --process-start-args \"--no-auto-start\""
    Start-Process -FilePath $teamsPath -ArgumentList $teamsArgs
    

     

Resources