WmiPrvSE.exe process blocking SQL Server update

Prajwal Desai
Posted by Prajwal Desai

I was planning to install the latest current branch update for my SCCM lab. I thought it might be a good idea to keep the SQL server updated with latest cumulative update. The SQL server installed was SQL server 2014 with service pack 2. I saw that service pack 3 was available for download. I downloaded the SP3 and when i tried to install it on my server, the update installation was stuck at Check Files in use step. Furthermore I saw WmiPrvSE.exe process blocking SQL Server update. The ‘WmiPrvSE.exe’ process is not controlled by the update wizard.

SQL Server update stopped by WmiPrvSE.exe process

WmiPrvSE.exe process Error

The Check files in use step checks if there are any services and apps that are using the files required by SQL setup to complete the installation. If it finds any such app or services, it straight away shows it on screen. In my case it was WmiPrvSE process that was blocking the SQL CU installation. I saw the message The ‘WmiPrvSE.exe’ process is not controlled by the update wizard. You have to manually stop this process to avoid a computer restart.

What is WmiPrvSE.exe process

Wmiprvse.exe is also known as Windows Management Instrumentation. This process provides that management information and control in an enterprise environment. Most of all you should not disable this process. Wmiprvse file is located in the folder C:\WINDOWS\System32\Wbem.

WmiPrvSE.exe process blocking SQL Server update Fix

If you are installing SQL server update like service pack and if you see WmiPrvSE.exe process blocking the update, try the below steps.

  1. On the server, click run and type services.msc
  2. In the Services console, look for Windows Management Instrumentation service.
  3. Right click Windows Management Instrumentation and click Stop.
  4. Once the service is stopped, run “Recheck Files” in the SQL Server update installer. Now it should detect no running instances of WmiPrvSE.exe. Once you have deployed the service pack, simply restart the service. Hope this helps.

SQL Server update stopped by WmiPrvSE.exe process

 

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
5 Comments