Environment variables do not expand in the registry on a Windows Server 2008 Beta 2-based, Windows Vista-based, or Windows XP-based computer

Article translations Article translations
Article ID: 911089 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you try to expand the environment variables in the
HKEY_CURRENT_USER\Environment
registry key, some variables do not expand on a computer that is running one of the following operating systems:
  • The Windows Server 2008 Beta 2 operating system
  • The Windows Vista Beta 2 operating system
  • Windows XP

CAUSE

This issue may occur if the following conditions are true:
  • You changed the environment variables in the Properties dialog box of My Computer.
  • Some environment variables contain more than one dependency.


For example, this issue occurs if you change an environment variable in the Properties dialog box of My Computer and the environment variable has the following dependencies:
  • Environment variable “C” is defined as “%B%.”
  • Environment variable “B” is defined as “%A%.”
In this example, environment variable "C" has an expanded value that depends on how “A” is defined.

WORKAROUND

To work around this issue, remove the many levels of environment variable dependencies. You can have one level of environment variable dependency.

Properties

Article ID: 911089 - Last Review: May 8, 2007 - Revision: 1.3
APPLIES TO
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Starter
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Web Server 2008
Keywords: 
kbtshoot kbprb KB911089

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com