Disable Teams Autorun

UPDATE: This script has moved to the PowerShell Gallery.  All future updates will be made at: https://www.powershellgallery.com/packages/Disable-TeamsAutorun/Imagine this scenario: You haven't trained your service desk on how to answer/troubleshoot/manage Teams help desk calls

 
 
 
 
 
5 Star
(1)
2,024 times
Add to favorites
4/20/2020
E-mail Twitter del.icio.us Digg Facebook
  • Not working in GPO logon scripts, any paramaters to add?
    2 Posts | Last post February 14, 2020
    • I am trying to run this in the GPO logon scripts and am not getting an luck. Any idea why it would run perfectly fine on a user account and not run from GPO? 
      
      Location I have added the script in gpo. 
      
      User configuration>Policies>Windows Settings>Scripts (Logon/logoff)>Logon>PowerShell Scripts. 
      
      Thanks!
    • Could be to do with execution policy, since it's downloaded script from internet.
      What I did was simply to copy over contents to ISE and saved it as new ps1 file.
      Works fine now.