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
2,024 times
Add to favorites
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. 
    • 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.