13 September 2013

Exporting environment variables in Windows


  1. Press the start button (bottom left) corner of your screen and type "regedit.exe" and then press Enter. 
  2. Select "Yes" on the UAC.
  3. For Global Variables:
    1. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2. Right click and hit Export
  4. For User defined variables
    1. Navigate to HKEY_CURRENT_USER\Environment
    2. Right click and hit Export