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