Environment Variables

  • Thread starter Thread starter john s.
  • Start date Start date
J

john s.

First let me apologize if this has been cover previously.

We have encountered a situation where we have set an
environment variable at the user level and then at the
system level and it is not recognized.
When the "set" command is run, the variable has some
other setting rather that the one that was defined.

Searching through the registry there is a key found under
HKEY_CURRENT_USER called "Volatile Environment". The
variable was found defined to the new value in this
location.

How is this being defined and where might it be
documented.

Microsoft's knowledge base was not very helpful and the
system Help was even less helpful.

Thanks for you time.
 
Hi John,

Check here:

HKEY_CURRENT_USER\Environment

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment

If the type of the PATH variable was inadvertantly changed from
REG_EXPAND_SZ to REG_SZ, then references to the likes of
"%SYSTEMROOT%\System32" will not be expanded.

/top10faqs.htm
 
Back
Top