Issue
I need to access an environment variable remotely. To do this, I think the best way is to read it from registry.
Where are environment variables stored in the Windows Registry?
Solution
Here's where they're stored on Windows XP through Windows Server 2012 R2:
User Variables
HKEY_CURRENT_USER\Environment
System Variables
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Answered By - Steve Scheffler Answer Checked By - Cary Denson (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.