Aug 22 2019 11:38 AM
I filled "HKLM:\SOFTWARE\Policies\Microsoft\Edge" "UserDataDir" with value "%appdata%\Microsoft\EdgeData" but after launching Edge it gives an error that Edge can't create the directory.
Created it in the same user context without an issue, but even then it is not working. Pointing it to a hard coded path like C:\Users\username\AppData\Roaming\Microsoft\EdgeData seems to work (but I can't predict the value of %appdata%).
Same behavior for the DiskCacheDir setting.
I saw "${users}/${user_name}/Edge" in the example value, but $(users) also doesn't seem to work.
Would be nice to use vars like %appdata%.
Aug 23 2019 12:28 AM
Found a reference of the supported variables at https://www.chromium.org/administrators/policy-list-3/user-data-directory-variables. Now it is working fine!