Microsoft KB Archive/915692

= Error message when you try to install SQL Server 2005 Service Pack 1: &quot;The following files are currently locked&quot; =

Article ID: 915692

Article Last Modified on 11/20/2006

-

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 Agent service, the SQL Server FullText Search service, the SQL Server Browser service, and the Windows Management Instrumentation (WMI) service before you install SQL Server 2005 SP1. To stop these services, follow these steps:  Open SQL Server Configuration Manager. In the left pane, click SQL Server 2005 Services. In the right pane, right-click SQL Server Agent (MSSQLSERVER), and then click Stop. In the left pane, right-click SQL Server 2005 Services, and then click Refresh. In the right pane, right-click SQL Server FullText Search (MSSQLSERVER), and then click Stop. In the left pane, right-click SQL Server Browser, and then click Stop.</li> Exit SQL Server Configuration Manager.</li>  At a command prompt, run the following command to stop the WMI service. NET STOP &quot;Windows Management Instrumentation&quot; </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

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

http://www.microsoft.com/downloads/details.aspx?familyid=cb6c71ea-d649-47ff-9176-e7cac58fd4bc

Keywords: kberrmsg kbtshoot kbprb kbsql2005engine KB915692

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.