dgrinnell
Enthusiast
Enthusiast

Microsoft Teams on Non-Persistent - UEM + App Vols

Has anyone installed Teams MSI or EXE on a non-persistent environment?

As I see it there are 4 potential options,

1. Install on Master image

2. Install as app stack

3. User install on Writable UIA Vol

4. Thin App

I have tried the first three and every time i log off and log back in Teams is gone and I haven't had success yet on an App stack or on the Master image. I wanted to start up a discussion on this so we could get this as stable as possible. I also am running windows 7 and need to install Workplace Joined to get the VM's in Azure AD as Hybrid Azure AD joined.

Thanks

62 Replies
josejjcv
Contributor
Contributor

I am also getting the blank white box when launching teams. Where you able to resolve this? Thanks.

0 Kudos
Anobix67
Enthusiast
Enthusiast

josejjcv

Are you using the roaming profile feature of Chrome or not?

We were having gigantic profiles when using the non-roaming feature. Once we switched to roaming (where it saves much of the files into a profile.pb file) it made a big difference. My profile is about 16MB instead of multiple hundreds. The one caveat with the roaming is that you can't sync your Chrome settings with Google so you have to import your own bookmarks and such.

0 Kudos
josejjcv
Contributor
Contributor

I am not. This is what I have setup in DEM:

[IncludeFolderTrees]

<LocalAppData>\Google\Chrome\User Data

 

[IncludeRegistryTrees]

HKCU\Software\Google\Chrome

[ExcludeFolderTrees]

<LocalAppData>\Google\Chrome\User Data\Default\Cache

<LocalAppData>\Google\Chrome\User Data\Default\Application Cache

<LocalAppData>\Google\Chrome\User Data\Default\Storage

<LocalAppData>\Google\Chrome\User Data\Default\Local Storage

<LocalAppData>\Google\Chrome\User Data\Default\Media Cache

<LocalAppData>\Google\Chrome\User Data\Default\Session Storage

<LocalAppData>\Google\Chrome\User Data\Default\GPUCache

<LocalAppData>\Google\Chrome\User Data\Default\Web Applications

<LocalAppData>\Google\Chrome\User Data\Default\Sync Data

<LocalAppData>\Google\Chrome\User Data\Default\Sync Data Backup

<LocalAppData>\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\CacheWriteableAdobeRoot

<LocalAppData>\Google\Chrome\User Data\Default\IndexedDB

<LocalAppData>\Google\Chrome\User Data\Profile 1\Cache

<LocalAppData>\Google\Chrome\User Data\Profile 1\Application Cache

<LocalAppData>\Google\Chrome\User Data\Profile 1\Storage

<LocalAppData>\Google\Chrome\User Data\Profile 1\Local Storage

<LocalAppData>\Google\Chrome\User Data\Profile 1\Media Cache

<LocalAppData>\Google\Chrome\User Data\Profile 1\Session Storage

<LocalAppData>\Google\Chrome\User Data\Profile 1\GPUCache

<LocalAppData>\Google\Chrome\User Data\Profile 1\Web Applications

<LocalAppData>\Google\Chrome\User Data\Profile 1\Sync Data

<LocalAppData>\Google\Chrome\User Data\Profile 1\Sync Data Backup

<LocalAppData>\Google\Chrome\User Data\Profile 1\Pepper Data\Shockwave Flash\CacheWriteableAdobeRoot

<LocalAppData>\Google\Chrome\User Data\Profile 1\IndexedDB

<LocalAppData>\Google\Chrome\User Data\Profile 2\Cache

<LocalAppData>\Google\Chrome\User Data\Profile 2\Application Cache

<LocalAppData>\Google\Chrome\User Data\Profile 2\Storage

<LocalAppData>\Google\Chrome\User Data\Profile 2\Local Storage

<LocalAppData>\Google\Chrome\User Data\Profile 2\Media Cache

<LocalAppData>\Google\Chrome\User Data\Profile 2\Session Storage

<LocalAppData>\Google\Chrome\User Data\Profile 2\GPUCache

<LocalAppData>\Google\Chrome\User Data\Profile 2\Web Applications

<LocalAppData>\Google\Chrome\User Data\Profile 2\Sync Data

<LocalAppData>\Google\Chrome\User Data\Profile 2\Sync Data Backup

<LocalAppData>\Google\Chrome\User Data\Profile 2\Pepper Data\Shockwave Flash\CacheWriteableAdobeRoot

<LocalAppData>\Google\Chrome\User Data\Profile 2\IndexedDB

<LocalAppData>\Google\Chrome\User Data\WidevineCDM

<LocalAppData>\Google\Chrome\User Data\EVWhitelist

<LocalAppData>\Google\Chrome\User Data\pnacl

<LocalAppData>\Google\Chrome\User Data\recovery

<LocalAppData>\Google\Chrome\User Data\SwiftShader

<LocalAppData>\Google\Chrome\User Data\SwReporter

<LocalAppData>\Google\Chrome\User Data\ShaderCache

<LocalAppData>\Google\Chrome\User Data\PepperFlash

<LocalAppData>\Google\Chrome\Application\

 

[ExcludeFiles]

<LocalAppData>\Google\Chrome\User Data\Default\ChromeDWriteFontCache

<LocalAppData>\Google\Chrome\User Data\Profile 1\ChromeDWriteFontCache

<LocalAppData>\Google\Chrome\User Data\Profile 2\ChromeDWriteFontCache

<LocalAppData>\Google\Chrome\User Data\Safe Browsing Bloom

<LocalAppData>\Google\Chrome\User Data\Safe Browsing Bloom Prefix Set

<LocalAppData>\Google\Chrome\User Data\Safe Browsing Download

<LocalAppData>\Google\Chrome\User Data\Safe Browsing UwS List

<LocalAppData>\Google\Chrome\User Data\Safe Browsing UwS List Prefix Set

<LocalAppData>\Google\Chrome\User Data\ev_hashes_whitelist.bin

*.tmp

0 Kudos
josejjcv
Contributor
Contributor

The Google zip has gone as high as 60Mbs. Seems to clear when I dump history, but I also read somewhere on Youtube exclusions, so it might be related to hitting that page. I'd have to check where I found that discussion.

0 Kudos
RachelW
Enthusiast
Enthusiast

josejjcv​,

Here is our UEM Sync Settings for Chrome:

[IncludeFiles]
<AppData>\Google\Chrome\User Data\Default\profile.pb
# surpress Welcome to Chrome Tab https://communities.vmware.com/thread/578914 (Source)
<LocalAppData>\Google\Chrome\User Data\First Run
<LocalAppData>\Google\Chrome\User Data\Default\Preferences
<LocalAppData>\Google\Chrome\User Data\Default\Login Data
<LocalAppData>\Google\Chrome\User Data\Default\History

[IncludeFolderTrees]
<LocalAppData>\Google\Chrome\User Data
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\bpgncafocbpieaeigfcookhgmeamglgo
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\cfiiaghkcgclikdbpkeemjbkjegemjmb
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\feolagkacappiaieohahjkeaikhjjcfa
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\fmiojochalhealflohaicjncoofdjjfb

[IncludeRegistryTrees]
HKCU\Software\Google\Chrome
HKCU\Software\MozillaPlugins

[ExcludeFolderTrees]
<LocalAppData>\Google\Chrome\User Data\Default\Cache
<LocalAppData>\Google\Chrome\User Data\Default\Application Cache
<LocalAppData>\Google\Chrome\User Data\Default\Code Cache
<LocalAppData>\Google\Chrome\User Data\Default\Storage
<LocalAppData>\Google\Chrome\User Data\Default\Local Storage
<LocalAppData>\Google\Chrome\User Data\Default\Media Cache
<LocalAppData>\Google\Chrome\User Data\Default\Service Worker
<LocalAppData>\Google\Chrome\User Data\Default\Session Storage
<LocalAppData>\Google\Chrome\User Data\Default\System Profile\Cache
<LocalAppData>\Google\Chrome\User Data\Default\GPUCache
<LocalAppData>\Google\Chrome\User Data\Default\Web Applications
<LocalAppData>\Google\Chrome\User Data\Default\Sync Data
<LocalAppData>\Google\Chrome\User Data\Default\Sync Data Backup
<LocalAppData>\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\CacheWriteableAdobeRoot
<LocalAppData>\Google\Chrome\User Data\Default\IndexedDB
#Google
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\nmmhkkegccagdldgiimedpiccmgmieda
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\blpcfgokakmgnkcojhhkbfbldkacnbeo
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\aapocclcgogkmnckokdopfmhonfmgoek
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\aohghmighlieiainnegkcijnfilokake
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\apdfllckaahabafndbhieahigkjlhalf
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\felcaaldnbdncclmgdcncolpebgiejap
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\ghbmnnjooekpmoecnnnilnnbdlolhkhi
<LocalAppData>\Google\Chrome\User Data\Default\Extensions\pjkljhegncpnkpknbcohdijeoejaedia
<LocalAppData>\Google\Chrome\User Data\Profile 1\Cache
<LocalAppData>\Google\Chrome\User Data\Profile 1\Application Cache
<LocalAppData>\Google\Chrome\User Data\Profile 1\Code Cache
<LocalAppData>\Google\Chrome\User Data\Profile 1\Storage
<LocalAppData>\Google\Chrome\User Data\Profile 1\Local Storage
<LocalAppData>\Google\Chrome\User Data\Profile 1\Media Cache
<LocalAppData>\Google\Chrome\User Data\Profile 1\Session Storage
<LocalAppData>\Google\Chrome\User Data\Profile 1\GPUCache
<LocalAppData>\Google\Chrome\User Data\Profile 1\Web Applications
<LocalAppData>\Google\Chrome\User Data\Profile 1\Sync Data
<LocalAppData>\Google\Chrome\User Data\Profile 1\Sync Data Backup
<LocalAppData>\Google\Chrome\User Data\Profile 1\Pepper Data\Shockwave Flash\CacheWriteableAdobeRoot
<LocalAppData>\Google\Chrome\User Data\Profile 1\IndexedDB
<LocalAppData>\Google\Chrome\User Data\Profile 2\Cache
<LocalAppData>\Google\Chrome\User Data\Profile 2\Application Cache
<LocalAppData>\Google\Chrome\User Data\Profile 2\Code Cache
<LocalAppData>\Google\Chrome\User Data\Profile 2\Storage
<LocalAppData>\Google\Chrome\User Data\Profile 2\Local Storage
<LocalAppData>\Google\Chrome\User Data\Profile 2\Media Cache
<LocalAppData>\Google\Chrome\User Data\Profile 2\Session Storage
<LocalAppData>\Google\Chrome\User Data\Profile 2\GPUCache
<LocalAppData>\Google\Chrome\User Data\Profile 2\Web Applications
<LocalAppData>\Google\Chrome\User Data\Profile 2\Sync Data
<LocalAppData>\Google\Chrome\User Data\Profile 2\Sync Data Backup
<LocalAppData>\Google\Chrome\User Data\Profile 2\Pepper Data\Shockwave Flash\CacheWriteableAdobeRoot
<LocalAppData>\Google\Chrome\User Data\Profile 2\IndexedDB
<LocalAppData>\Google\Chrome\User Data\BrowserMetrics
<LocalAppData>\Google\Chrome\User Data\WidevineCDM
<LocalAppData>\Google\Chrome\User Data\EVWhitelist
<LocalAppData>\Google\Chrome\User Data\pnacl
<LocalAppData>\Google\Chrome\User Data\recovery
<LocalAppData>\Google\Chrome\User Data\Safe Browsing
<LocalAppData>\Google\Chrome\User Data\SwiftShader
<LocalAppData>\Google\Chrome\User Data\SwReporter
<LocalAppData>\Google\Chrome\User Data\ShaderCache
<LocalAppData>\Google\Chrome\User Data\PepperFlash
<LocalAppData>\Google\Chrome\Application\

[ExcludeFiles]
<LocalAppData>\Google\Chrome\User Data\Default\ChromeDWriteFontCache
<LocalAppData>\Google\Chrome\User Data\Default\Cookies
<LocalAppData>\Google\Chrome\User Data\Default\Favicons
<LocalAppData>\Google\Chrome\User Data\Default\History
<LocalAppData>\Google\Chrome\User Data\Default\Last Session
<LocalAppData>\Google\Chrome\User Data\Profile 1\ChromeDWriteFontCache
<LocalAppData>\Google\Chrome\User Data\Profile 2\ChromeDWriteFontCache
<LocalAppData>\Google\Chrome\User Data\BrowserMetrics-spare.pma
<LocalAppData>\Google\Chrome\User Data\CrashpadMetrics-active.pma
<LocalAppData>\Google\Chrome\User Data\Module Info Cache
<LocalAppData>\Google\Chrome\User Data\Local State
<LocalAppData>\Google\Chrome\User Data\Safe Browsing Cookies
<LocalAppData>\Google\Chrome\User Data\Safe Browsing Bloom
<LocalAppData>\Google\Chrome\User Data\Safe Browsing Bloom Prefix Set
<LocalAppData>\Google\Chrome\User Data\Safe Browsing Download
<LocalAppData>\Google\Chrome\User Data\Safe Browsing UwS List
<LocalAppData>\Google\Chrome\User Data\Safe Browsing UwS List Prefix Set
<LocalAppData>\Google\Chrome\User Data\ev_hashes_whitelist.bin
*.tmp

0 Kudos
josejjcv
Contributor
Contributor

Thanks Rachel. What is your average zip file size w/ this? I have Google Chrome installed on Parent Desktop for this Non-Persistent environment.

0 Kudos
RachelW
Enthusiast
Enthusiast

josejjcv​,

Were you able to resolve the white screen for Teams?  Are you using the UEM config file?

0 Kudos
josejjcv
Contributor
Contributor

I have not. Waiting on support ticket. Did you? If so, what were you able to do? I simply installed the Teams MSI w/ the ALLUSER/ALLUSERS=1 switches recommended and I have the following for DEM.

[IncludeFolderTrees]

<AppData>\Teams

<AppData>\Microsoft\Teams

[ExcludeFolderTrees]

<AppData>\Microsoft\Teams\Application Cache

<AppData>\Microsoft\Teams\blob_storage

<AppData>\Microsoft\Teams\Cache

<AppData>\Microsoft\Teams\databases

<AppData>\Microsoft\Teams\IndexedDB

<AppData>\Microsoft\Teams\Local Storage

<AppData>\Microsoft\Teams\tmp

<AppData>\Microsoft\Teams\Service Worker\CacheStorage

<AppData>\Microsoft\Teams\Service Worker\ScriptCache

It eventually fails w/ an error and I log off the Non Persistent Desktop. What is odd, though is on next net new Desktop login it appears to work.

0 Kudos
RachelW
Enthusiast
Enthusiast

josejjcv​,

Average zip file size for Google Chrome is about 2MB.  We have Chrome installed on the Non-Persistent environment as well.

0 Kudos
josejjcv
Contributor
Contributor

I applied your settings and it shrinked it to 16MBs which is much better. I did notice your config does not carry the History, its in the include files but was also in the Exclude Files for some reason. I commented it out:

[ExcludeFiles]

#<LocalAppData>\Google\Chrome\User Data\Default\History

I now see the history hits on sites.

0 Kudos
RachelW
Enthusiast
Enthusiast

Yes, that is what I did as well, I installed Teams on my golden image with the ALLUSER/ALLUSERS=1 switches and setup DEM as you have below.

What seems to be happening for our users now is the first connection to a desktop after the Teams install, Teams loads fine, no white screen, no password prompts, etc.  When the user logs off the desktop and then logs back in to a new one, they are prompted to enter their password.  Ever consecutive login after that Teams starts just fine.

0 Kudos
josejjcv
Contributor
Contributor

Yea I seem to get white screen on first attempt and seems to work after. Frustrating.

0 Kudos
RachelW
Enthusiast
Enthusiast

Did you also setup the roaming profile for Google with GPO? This will really shrink the archive for Chrome.

0 Kudos
josejjcv
Contributor
Contributor

No Roaming Profile for Google Chrome at the moment.  Can you provide steps on how to do that?


I am going to monitor this setup for the time being and see how much it grows over time.

0 Kudos
RachelW
Enthusiast
Enthusiast

Here is some information on the Roaming User Profiles for Chrome.

Use Chrome Browser with Roaming User Profiles - Google Chrome Enterprise Help 

Set Chrome Browser policies on managed PCs - Google Chrome Enterprise Help 

I didn't actually set this up, our Security and Networking person did so if these articles do not help, I can talk to him to see what references he used.

0 Kudos
Anobix67
Enthusiast
Enthusiast

Yep and as I mentioned/recommended yesterday with the Roaming profiles it's what we ended up setting up. I use the GPO or UEM ADMX settings [same thing] to have the profile.pb file saved to our directed network share. Then use the following settings:

Note the commented out include for the profile.pb, found it unnecessary once we just redirected it off of the local image to begin with. We also run this in login/logoff mode (not DirectFlex)

[IncludeFiles]

#<AppData>\Google\Chrome\User Data\Default\profile.pb

# By capturing this file the Cookies will be saved

<LocalAppData>\Google\Chrome\User Data\Default\Cookies

<LocalAppData>\Google\Chrome\User Data\First Run

<LocalAppData>\Google\Chrome\User Data\Default\Preferences

<LocalAppData>\Google\Chrome\User Data\Default\Login Data

<LocalAppData>\Google\Chrome\User Data\Default\History

# Retain Extension customizations and first run tabs

<LocalAppData>\Google\Chrome\User Data\Default\Extension Cookies

[IncludeFolderTrees]

<LocalAppData>\Google\Chrome\User Data\Default\Local Storage

<LocalAppData>\Google\Chrome\User Data\Default\Session Storage

<LocalAppData>\Google\Chrome\User Data\Default\Extensions

0 Kudos
RachelW
Enthusiast
Enthusiast

Is there a way to start Teams Minimized on a Horizon Desktop?  I want to set something on the image, via GPO, registry or something.  I do not want the users to have to set this after they get on their horizon desktop.

0 Kudos
RachelW
Enthusiast
Enthusiast

Anobix67

josejjcv

Still looking for a solution for starting Teams minimized.  I would like to have Teams login for the user and then open the screen minimized instead of full screen.  Is there a way to do this?

0 Kudos
Hoodsie2018
Contributor
Contributor

I think this is because it still has that same profile on the image before it's redeployed. Teams Machine Wide installer deploys best when the profile does not already exist. I had to delete the user profiles off the base image to get it to work. (we sycn the appdata\roaming directory for users so that is retained, but it's the local profile on the base image that has to be removed before redeploying). 

0 Kudos
Justin_Y
Enthusiast
Enthusiast

I have been trying to retain the Microphone selection between logons. This is set under settings, Devices, Microphone. Has anyone found out a way to do this? The issue is if you have a device with two Mics it chooses the first alphabetically on each logon. 

0 Kudos