Teams won't load when %appdata% is redirected to network share

Derek McCoy 1 Reputation point
2022-02-20T19:11:26.89+00:00

Basically, the same issue as mentioned here:

https://answers.microsoft.com/en-us/msteams/forum/all/teams-javascript-error-windows-10-1709/bdecf01b-0b17-4ef0-aa94-be26e9f1276c

This has just happened to one of my customers who is redirecting %appdata% to a network share.

Teams loads fine when the profile is created but after signing out and back into Windows, the javascript error pops up and Teams will not load. Identical error to the one in the post above:

A JavaScript error occurred in the main process

Uncaught Exception:

Error: EEXIST: file already exists, mkdir

176100-image.png

Using Windows 10 Enterprise 21H2 and latest version of Teams machine wide installer. UE-V doesn't solve the issue as the point of redirecting appdata/roaming is to stop the hard drive from filling up as this is an environment with shared PCs where each machine can easily see 100 users sign in per month and Teams likes to dump approx 2GB of data into that folder.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,151 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.