After the user started the Teams client once it will continue start automatic when Windows starts up. When you deploy Microsoft Teams to multiple users it is possible to use a installation switch that stops Teams client to start automatic until the user starts Teams. Users can manually change their settings and reactivate auto-start if they want to. There is some fun settings like windows size and full screen option you might want to change at the same time. I’m not sure exactly what is saved in desktop-config.json but in my small test with one target computer, I didn’t see any problems with copying it to another computer with another user signed in than I used on the source computer. Reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v /f The solution would then be to copy desktop-config.json from a user with auto-start disabled and include that in your deployment script and delete from HKCU\Software\Microsoft\Windows\CurrentVersion\Run. When I started teams I noticed that were not added to registry again, and Teams did not auto-start when Windows started. I opened Teams Settings and disabled auto-start manually, then I copied desktop-config.json to another computer and removed the value from the registry. I continued testing with Process Monitor and found that Teams is also writing to some files located in %AppData%\Roaming\Microsoft\Teams, after some digging I found in the file desktop-config.json that the value openAtLogin changed from true to false. But Teams didn’t agree and recreated the Run-registry entry. With help of Process Monitor I noticed that when I untick ”Auto-start application” teams removes a registry entry “” in “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run”, well that is a easy fix, just remove that from the registry and it’s fixed. This is an easy method if you want to change this for yourself or a few users but I wanted to stop Teams from starting on multiple computers and without configuring them one-by-one. If you open settings in Microsoft Teams you have the option to deselect ”Auto-start application” and the next time you start your computer Teams won’t start. If you planning to deploy Microsoft Teams to all users but you don’t want teams to auto-start when Windows start, how can you solve this?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |