Wednesday, September 13, 2017

How to check and kill active file in windows while doing patching?

Issue:

Verifying environment and performing prerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables" failed.
The details are:

Following files are active :
d:\oracle\product\12.1.0\db_1\bin\oci.dll


Workaround:

D:\oracle\software\Patch>Tasklist /m oci*

Image Name                     PID Modules
========================= ======== ============================================
vmtoolsd.exe                  2288 oci.dll

D:\oracle\software\Patch>net stop "VMTools"

The VMware Tools service was stopped successfully.

D:\oracle\software>Tasklist /m ora*


D:\oracle\software>taskkill /PID 2288 /F

No comments: