This article was previously published under Q311755
When you install Microsoft Windows XP, you may receive the following error message:
The file 'Asms' on Windows XP Professional CD-ROM is needed. Type the path where the file is located, and then click OK.
This issue may occur if the Setup program cannot communicate with the CD-ROM drive.
To resolve this issue, use the appropriate method for your computer.
Hard disk formatted with FAT or FAT32 file system
If the hard disk is formatted with the FAT file system or with the FAT32 file system, follow these steps:
Use a Microsoft Windows 98 Second Edition or Microsoft Windows Millennium Edition (Me) Startup disk with CD-ROM drivers to restart the computer.
Copy the Xcopy.exe tool from the Windows 98 Second Edition CD-ROM, the Windows Millennium Edition (Me) CD-ROM, or the hard disk to the Windows Startup disk. To do this, use the appropriate method.
Windows 98 Second Edition CD-ROM
Insert the Windows 98 Second Edition CD-ROM in the CD-ROM or DVD-ROM drive, and then at the command prompt type the following lines, pressing ENTER after you type each line, where cd-rom is the drive letter of the CD-ROM or DVD-ROM drive:
Insert the Windows Millennium Edition (Me) CD-ROM in the CD-ROM or DVD-ROM drive, at the command prompt type the following lines where cd-rom is the drive letter of the CD-ROM or DVD-ROM drive, and then press ENTER after you type each line:
Eject the Windows 98 or Windows Millennium Edition (Me) CD-ROM, and then insert the Windows XP Professional CD-ROM.
Copy the I386 folder and all its subfolders to the hard disk. To do this, type the following lines at the command prompt where cd-rom is the drive letter of the CD-ROM drive, and drive is the drive letter of the hard disk, and then press ENTER after you type each line:
smartdrv xcopy cd-rom:\i386 drive:\i386 /e
Restart the computer, and then start the Setup program again.
When you receive the error message, click Browse, and then type the path of the I386 folder on the hard disk.
Note You may be prompted several times for the location of this folder. If Browse is not available, see the "Hard disk formatted with NTFS file system" section.
Hard disk formatted with NTFS file system
If the hard disk is formatted with the NTFS file system and you are upgrading an earlier version of Windows, use one of the following methods.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
When you receive the error message, press SHIFT+F10 to start a command session.
Type regedit.exe, and then press ENTER.
On the File menu, click Load Hive, and then load %Windir%\System32\Config\System.sav.
When you are prompted to specify a name, type Test.
Delete the UPPERFILTERS and LOWERFILTERS registry keys.
Repeat steps 6 and 7 for the other ControlSet# keys under the Test hive.
Click File, and then click Exit to quit Registry Editor.
If the path in the error message is the correct drive letter for the CD-ROM drive, click OK to continue the Setup program.
If you receive the error message again, the Setup program cannot correctly read from the CD-ROM drive, or the path information is incorrect. In this case, restart your computer and let the Setup program resume.
If you cannot start Regedit.exe at the command prompt, and there is another available partition where you can install Windows on the hard disk, follow these steps:
Install Windows in the other partition.
Start the new installation of Windows, and then start Regedit.exe.
Follow the steps in method 1, but load the System.sav hive from the original Windows folder.
If you are not using a retail Windows XP CD-ROM with a hologram (for example, if you are using a burned CD-ROM), try to run the Setup program from a retail CD-ROM with a hologram. To verify this, start the computer by using Recovery Console, and then check the C:\$win_nt$.~ls folder. Look for the Asms folder. If the folder is missing or the files that it contains are zero bytes, the CD-ROM was not burned correctly.
For additional information about how to use Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:
307654 HOW TO: Install and use the Recovery Console in Windows XP