During apply patch with opatch command, on windows we will get the following error:
Prerequisite check “CheckActiveFilesAndExecutables” failed
On Windows System, When you try to apply the Patch after clean shutdown.
Sometime following error occurred:
Following files are active:
INFO:Prerequisite check “CheckActiveFilesAndExecutables” failed.
OPatch failed with error code = 74
This is the common error occurred during the patch applied on window system.
One command is available for check which process is holding lock on these files
tasklist /m ora*
You can check with the tasklist command. It will provide you list on command.
1. Winmgmt (Windows Management Instrumentation ) is the service used by tasklist command.
If you already disable this service as mentioned in some readme file then you need to enable and start to run tasklist command
2. You always used cmd.ext run as administrator so that you will able to see other user open task also.
Suppose if you find the ora* files is used by some jave.exe then you can also kill that process.
Note: Before fire kill command check at internet what the effect of process if you kill it.
Sometime window process locked and it will cause server shutdown if you kill window process. So always check effect first.
IF some application java.exe is used you can kill them.
taskkill /pid processid_number