This article was previously published under Q221524
This article has been archived. It is offered "as is" and will no longer be updated.
You may begin an application setup, and receive the following error when the Windows Installer attempts to read from the drive:
Installation ended prematurely because of an error.
Or, an Administrator may run an Advertise setup (for example, "Setup /jm" from Office) from a CD-ROM or floppy disk. The Windows Installer dialog box may be briefly displayed, but the application is not advertised. There is no error message as in the regular setup case above.
There are two registry entries in the HKEY_LOCAL_MACHINE\Software\Microsoft\ WindowsNT\CurrentVersion\Winlogon subkey that can cause this problem:
One or both of these entries has been added and/or set to 1, thus disablingaccess to everyone but the locally logged on user. Because the Windows Installer runs as Local System when it reads off the CD-ROM or floppy disk drives, it is denied access because Local System is not granted access to the drives in this secure environment.
To run an installation from media, these registry keys should be removed or set to 0 (zero). There is no way to install from media with these keys and values set.
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This problem was corrected in Windows 2000.
Steps to Reproduce:
Use the Security Configuration Editor to secure the system with any of the following templates:
Run the application setup from the local CD-ROM drive or Floppy drive.
RESULT: Just before copying files, the following error appears:
Installation ended prematurely because of an error
Run an advertise setup with the /j[u|m] switch.
RESULT: The Windows Installer dialog box is displayed briefly, but the application is not advertised. There is no error as in the regular setup case above.
For additional information about these security keys, please see the following article in the Microsoft Knowledge Base:
172520 Access Denied Error When Trying to Access a Shared CD-ROM