You are currently offline, waiting for your internet to reconnect

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

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
When you try to expand the environment variables in the
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
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.
To work around this issue, remove the many levels of environment variable dependencies. You can have one level of environment variable dependency.
CreateEnvironmentBlock API

Article ID: 911089 - Last Review: 01/16/2015 15:34:56 - Revision: 1.3

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

  • kbnosurvey kbarchive kbtshoot kbprb KB911089