%ALLUSERSPROFILE% (typically C:\ProgramData) is used to store application data. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList in the value ProgramData. %SystemDrive%\ProgramData (at which also the variable %ProgramData% points). %ALLUSERSPROFILE% and %PROGRAMDATA% have the same value, at least on Windows 10. System.Environment+SpecialFolder. C:\Users\All Users is a symlink to C:\ProgramData.