Home > SQL Server > “WmiPrvSe.exe process is not controlled by…”

“WmiPrvSe.exe process is not controlled by…”

This morning when applying SQL Server 2008 R2 SP1 i came across the following error during the installation “Check File In Use” page:

The ‘WmiPrvSE.exe’ process is not controlled by the update wizard. You have to manually stop this process to avoid a computer restart.

There where two theads being identified by the SQL SP1 installer, but in Task ManagerProcesses there where 4 running process instances. Killing these processes manually just made them spawn again.

The “WmiPrvSE.exe” process is the provider created to launch multiple instances of WMI and if stopped each new request to the service will launch as new thread. The only way to get around this issue without restarting the server after installation is to stop the WMI service itself during the installation process.

To do this:

  1. Navigate to Start - Admistrative ToolsServices (or Start - Run - services.msc)
  2. Locate theĀ Windows Management Instrumentation (Winmgmt) service – right click and select Stop.

Running a “Recheck Files” in the SQL Server SP1 installer should detect no running instances of WmiPrvSE.exe. Once you have deployed the service pack, simply restart the service.

Categories: SQL Server Tags: ,
  1. July 5th, 2012 at 06:06 | #1

    I admired your insightful words. brilliant stuff. I hope you write others. I will continue reading

  2. John
    August 24th, 2012 at 08:26 | #2

    There are potentially other services depending on the WMI service, so it may not necessarily be as simple as stopping WMI.

  3. Eric Maynard
    August 24th, 2012 at 18:30 | #3

    I ran into this same issue while installing SP2 for SQL 2008R2 in a windows cluster. I tried pausing the WMI service, which allowed my to bypass this check, but caused the installation to fail because WMI could not be accessed.

  1. No trackbacks yet.