Disable Teams Autostart
- Create the file
C:\Windows\System32\GroupPolicy\User\Scripts\Logon\disableteams.cmd
with the following contents
%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe -File %WINDIR%\System32\GroupPolicy\User\Scripts\Logon\disableteams.ps1
- Create the file
C:\Windows\System32\GroupPolicy\User\Scripts\Logon\disableteams.ps1
with the following contents
$entry = $null -eq (Get-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Run)."com.squirrel.Teams.Teams"
if ( !$entry ) {