Problem:
When ProfileDisk is used, OneNote shows some of the images as broken links
Description:
OneNote file shows some of the images missing or broken in the document. The file is not corrupt, but OneNote has problem caching the image objects in the file. This can happen in cases where the temp directory is not in its default location. OneNote uses user temp for caching, but it does not handle non-default location well. When ProfileDisk is used, we redirect the user temp folder to a separate location on the system drive. Check your system and see if the user temp folder is in %userprofile%\AppData\Local\Temp. Also, if you have an application launcher setting in your config that does 'REG ADD HKCU\Environment /v TEMP /t REG_EXPAND_SZ /d
"%systemdrive%\ProfileDisk_Temp\%username%" /f', that is a clear indication that the user temp is moved to a different location.
Resolution:
Specifying OneNote cache path may resolve this problem. Simply add a registry value in ProfileUnity config:
Action: Add Value
Process Action Post Login: False
Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Office\15.0\OneNote\General
Data Type: REG_SZ
Value: CachePath
Data: %systemdrive%\ProfileDisk_Temp\%username%\OneNote
This setting applies to Office 2013. For Office 2016, change the key to "Software\Microsoft\Office\15.0\OneNote\General"
Product: ProfileUnity-FlexApp
Product Version: 6.8.3 and above