"You Must Switch to the Resource Kit Directory/Folder" Error Message When You Use the Installd.cmd Batch File to Install the Debug Version of Ntdetect.com (273762)



The information in this article applies to:

  • Microsoft Windows 2000 Professional

This article was previously published under Q273762

SYMPTOMS

When you try to install the debug version of Ntdetect.com by using the Installd.cmd batch file, the installation is unsuccessful and you receive the following error message :
You must switch to the Resource Kit Directory/Folder to install the debug version of NTDETECT.COM.
Press CTRL-C to exit out of setup or you may Press any key to continue . . .
When you press CTRL+C, you receive the following error message:
The system cannot find the file specified.
However, if you continue with the Setup program, you receive the following message, and the program runs successfully:1 file(s) copied.
Debug NTDETECT installed successfully
To uninstall, type INSTALLD /NOT

CAUSE

This problem occurs because of a bug in Installd.cmd.

RESOLUTION

To work around this problem, follow these steps:
  1. Right-click Installd.cmd, and then click Edit to open the file.
  2. Locate the following line:

    copy ntdetect.com c:\ntdetect.com

  3. Replace "ntdetect.com" with "ntdetect.chk" to change the line to the following:

    copy ntdetect.chk c:\ntdetect.com

  4. Run Installd.cmd as specified under the Resource Kit Tools Help component (click Start, point to Programs, point to Resource Kit, and then click Resource Kit Tools Help).

STATUS

Microsoft has confirmed that this is a problem in Microsoft Windows 2000 Resource Kit.

REFERENCES

For additional information about Ntdetect.com and about Ntdetect.chk, click the following article numbers to view the articles in the Microsoft Knowledge Base:

103659.KB.EN-US Setup Hangs While Inspecting Hardware; How to Use NTDETECT.COM

320040 HOW TO: Use Ntdetect.chk to Identify Hardware Problems in Windows 2000


Modification Type:MajorLast Reviewed:10/1/2003
Keywords:kbBug KB273762 kbAudITPRO