Error message when you try to install SQL Server 2005 Service Pack 1: "The following files are currently locked" (915692)



The information in this article applies to:

  • Microsoft SQL Server 2005 Service Pack 1

SYMPTOMS

When you try to install Microsoft SQL Server 2005 Service Pack 1 (SP1), you may receive the following error message:
The following files are currently locked.

In order to prevent a necessary reboot at the end of the patch install process, close down all other applications before proceeding.

Write locked file: C:\ Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\msftesql.exe (msftesql.exe)
Write locked file: C:\ Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\msftepxy.dll (msftesql.exe)
Write locked file: C:\ Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\msfte.dll (msftesql.exe)
Write locked file: C:\ Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe (sqlbrowser.exe)
Write locked file: C:\ Program Files\Microsoft SQL Server\90\Shared\svenumapi.dll (wmiprvse.exe)

CAUSE

This problem occurs because the installation process for SQL Server 2005 SP1 does not stop the SQL Server FullText Search service and the SQL Server Browser service. When these services are running, the installation process cannot access some files.

RESOLUTION

To resolve this problem, stop the SQL Server FullText Search service and the SQL Server Browser service before you install SQL Server 2005 SP1. To stop these services, follow these steps:
  1. Open SQL Server Configuration Manager.
  2. In the right pane, click SQL Server 2005 Services.
  3. In the left pane, right-click SQL Server FullText Search (MSSQLSERVER), and then click Stop.
  4. In the left pane, right-click SQL Server Browser, and then click Stop.
  5. Exit SQL Server Configuration Manager.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about SQL Server 2005 SP1, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:5/31/2006
Keywords:kbsql2005engine kberrmsg kbtshoot kbprb KB915692 kbAudDeveloper kbAudITPRO