Error message when you run the ipconfig /renew command on a Windows XP-based computer or on a Windows Server 2003-based computer: "The current directory is invalid"

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.

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

SYMPTOMS
Consider the following scenario:
  • You log on to a Microsoft Windows XP-based computer or to a Microsoft Windows Server 2003-based computer by using a user account that has membership to the local computer administrator group.
  • The computer is a member of the Active Directory forest.
  • The root directory of the user account is mapped to a network path. For example, the root directory is mapped to the following network path:
    M: \\server\username$
In this scenario, when you open a Command Prompt window, "M" is the current directory. Additionally, when you run the ipconfig /release command followed by the ipconfig /renew command at the command prompt, you receive an error message that resembles the following:
The current directory is invalid.
CAUSE
This problem occurs because the operating system no longer has a valid network connection when you release the IP address of the computer. Therefore, the mapped drive does not exist on the local computer.
WORKAROUND
To work around this problem, change the current directory to a local directory, and then run the ipconfig /release command. For example, change the current directory to C, and then run the ipconfig /release command.
STATUS
This behavior is by design.
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
257996 Error message "The current directory is invalid" in logon scripts with Windows 2000
गुण

आलेख ID: 922713 - पिछली समीक्षा: 07/24/2006 18:36:05 - संशोधन: 1.2

Microsoft Windows XP Professional, Microsoft Windows XP Home Edition, Microsoft Windows Server 2003, Datacenter Edition (32-bit x86), Microsoft Windows Server 2003, Enterprise Edition (32-bit x86), Microsoft Windows Server 2003, Standard Edition (32-bit x86), Microsoft Windows Server 2003, Web Edition

  • kbnetwork kbexpertisebeginner kbexpertiseinter kberrmsg kbtshoot KB922713
प्रतिक्रिया