I followed the following guide to setup UEM to allow us to set a default Pinned Start menu Items and taskbar. It works great except on the 3rd logon Edge starts sneaking back into the taskbar. It has something to do with the import of the xml file more then once but I can't find a way to prevent Edge from sneaking back in.
Managing Windows 10 with VMware User Environment Manager
So I have applied the logoff script per this article
Powershell.exe Export-StartLayout -Path C:\Users\$env:USERNAME\AppData\Local\Microsoft\Windows\Shell\LayoutModification.XML
I then modified the Windows Common setting task bar config file to add in the synchronization of the xml file on logon/ logoff
Wanted to see if anyone else is using this and if they found a way to keep edge out of the taskbar. Thanks
#Sync Default Taskbar xml
[IncludeFiles]
<LocalAppData>\Microsoft\Windows\Shell\LayoutModification.XML
# Expanded settings for Windows Common Setting 'Taskbar settings':
[IncludeRegistryTrees]
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage2
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband
[IncludeIndividualRegistryValues]
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarSizeMove
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\EnableAutoTray
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2\Settings
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3\Settings
[IncludeFolderTrees]
<AppData>\Microsoft\Internet Explorer\Quick Launch