Microsoft Teams distribute company background via GPO (company branding)

The estimated reading time 1 minutes

Some time ago you were able to define backgrounds or bluring in Microsoft Teams. If you choose a background there are some predefined from microsoft. The download URL for backgrounds:
https://statics.teams.microsoft.com/evergreen-assets/backgroundimages/

Custombackgrounds are stored inside the user

%appdata%\Microsoft\Teams\Backgrounds\Uploads

If you have a company and want to give your users the chance to use corporate backgrounds. It is possible to distribute the backgrounds, but at the moment it is not possible to force this background (may 2020).

How does it look like?
You have the microsoft default backgrounds and your own background at the end.

Now lets have a look on the gpo settings, they’re not that much.
In my testing environment I put the background into the NETLOGON share, because I have no other. But you can use any other share. (Check permissions).

Then I created a group policy with the shown settings:

Source File:

\\demo.it-koehler.com\NETLOGON\backgroundteams.jpg

Destination File: %AppDataDir%\Microsoft\Teams\Backgrounds\Uploads\backgroundteams.jpg

Why %appdata% does not work? In GPOs there are different variables. You can see them when the path field is selected and you hit “F3”

After the next logon the users have your company background and can select it. But as I said, it is not forced and they are able to choose any other.

If you like this article please let me know by clicking on “helpful”. If you have questions just write me a short comment. Have fun with teams and stay tuned.

Print Friendly, PDF & Email
  • Was this Helpful ?
  • yes   no
0 0 votes
Article Rating
Subscribe
Notify of
guest
8 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Jan VdA
Jan VdA
11 months ago

Thanks for your guidance. In our case, the above only worked with “Run in logged-on user’s security context” ticked in the “Common” tab

Eric Bostrom
1 year ago

Here’s my teams.bat. Will copy any new/modified backgrounds to correct folder each boot, and update teams if available. If teams isn’t installed it will install silently.

IF EXIST "C:\Users\%username%\AppData\Local\Microsoft\Teams\Update.exe" (
xcopy \\fs01\netapps\teams\vbackgrounds\* /D %appdata%\Microsoft\Teams\Backgrounds\Uploads\
C:\Users\%username%\AppData\Local\Microsoft\Teams\Update.exe -s --processStart "Teams.exe"
GOTO end
) ELSE (
xcopy \\fs01\netapps\teams\vbackgrounds\* /D %appdata%\Microsoft\Teams\Backgrounds\Uploads\
\\fs01\netapps\teams\Teams_windows_x64.exe --silent
C:\Users\%username%\AppData\Local\Microsoft\Teams\Update.exe -s --processStart "Teams.exe"
)
:end
Marek
Marek
1 year ago

Hi Arild, You can use create but this is a one time actione then. If you use update anytime you change the file on netlogon it will be copied to the clients.

Hi Alexander, I have two questions.
Did you try to distribute more files? Our PR wants 6 files to be available. Did you try to copy whole folder?
Is there a way to promote your files before the standard ones so users don’t have to scroll to corpo files? Or maybe delete the standard ones?

BR
Marek

Arild Nedreberg
Arild Nedreberg
1 year ago

Why do you use “replace” and not “create” in the “action” field ?