Where are variable d'environnements stored dans the Windows Registry?

Where are variable d’environnements stored in the Windows Registry?


Source : Stack Overflow [windows]

Here’s where they’re stored on Windows XP through Windows Server 2012 R2:

User Variables

HKEY_CURRENT_USER\Environment

Variables système

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment