I created a some batch script to copy my outlook profile like this:
mkdir p:\settings-outlook
reg export "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook" "p:\settings-outlook\outlook-config.reg"
xcopy %appdata%..\Local\Microsoft\Outlook*.ost p:\settings-outlook /e
mkdir p:\settings-outlook\signatures
xcopy %appdata%\Microsoft\Signatures* p:\settings-outlook\signatures /e
then I did some find and replace in registry file for changing the user from user.Domain to Test
Everything is working fine when I do not work with a cache file, but when I enable the cache file (this .ost) it is still referring to the old user.Domain location.
The registry file does not have this string, so it must be encoded somewhere.
Anyone knows where this is encoded in the registry?