Changes that you make to environment variables do not affect services that run under the Local System account until you restart Windows 2000 (821761)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Advanced Server

SYMPTOMS

If you update environment variables or add new environment variables, you must restart your Microsoft Windows 2000 Server-based computer before the changes that you make affect services that run under the Local System account.

CAUSE

This behavior occurs because services that run under the Local System account inherit their environment from the Services.exe process. The Services.exe process receives the environment settings for the Local System account when Windows 2000 starts. Because the Services.exe process does not use Windows Messaging, when it receives messages that indicate that a value has changed after Windows 2000 starts, the Services.exe process does not update its environment settings. You cannot force a service that is running to acknowledge a dynamic change to the environment of the Local System account.

MORE INFORMATION

For additional information about environment variables, click the following article number to view the article in the Microsoft Knowledge Base:

311843 HOW TO: Create System Variables in Windows 2000


Modification Type:MajorLast Reviewed:3/17/2004
Keywords:kbwinservsetup kbprb KB821761 kbAudITPRO