Windows < 8: User variables are not resolved correctly in Windows if they contain %APPDATA% or %LOCALAPPDATA%.
Posted by jpluimers on 2015/07/13
Older Windows versions than 8.x will not correctly expand %APPDATA% or %LOCALAPPDATA% in environment variables: User variables are not resolved correctly in Windows..
This even happens when the registry storage of the environment variables are marked as REG_EXPAND_SZ under these keys:
- Global:
- Local:
Basically there are four categories of Windows versions:
- For Windows 10.x this is fixed.
- For Windows 8.x and Windows Server 2012 R2, there are updates in KB2919355.
- For Windows 7.x and Windows Server 2008 R2, there is a hotfix.
- For older Windows versions, there is no solution.
–jeroen






Leave a comment