Unable to delete lucene file in %temp% folder windows 7?

0

I have a computer running Window 7 Ultimate. When I try to delete all the files in the %temp% folder a file named lucene-b0c1305e43fd8579e46466c31b4fedb9-commit.lock keeps on generating again and again, and I am not able to delete it.

How can I delete it and prevent it from reappearing?

Harinder

Posted 2012-04-22T05:39:07.000

Reputation: 185

Does it come back even after rebooting? Try using Unlocker to see what process has it locked, and/or ProcessMonitor to see what process recreates it.

– Synetech – 2012-04-22T06:06:06.360

http://java.sys-con.com/node/37296 – Moab – 2012-04-22T14:32:23.730

Answers

2

A process called NMIndexStoreSvr.exe was creating the lucene-9280b370d1038bf9b464c630bb1fed8c-commit.LOCK file in my Temp folder.

NMIndexStoreSvr.exe is a Nero Home process and seems to be unnecessary for any functionality. Because of quick flashing of this file, I couldn't use the Ctrl+A command to select all the files and press Shift+Del.

So I started the Windows Task Manager, went to the Processes tab and found out that the NMIndexStoreSvr.exe process was using about 25% of my CPU resource and was creating the lucene temporary file.

When I killed the NMIndexStoreSvr.exe process the lucene file stopped appearing in my Temp folder.

The NMIndexStoreSvr.exe file was located (at least for me) in the following folder:
C:\Program Files(x86)\Common Files\Ahead\Lib\NMIndexStoreSvr.exe

To find the file, open Task Manager, click on the Processes tab, right-click on the NMIndexStoreSvr.exe process and select the "Open File Location" option which will take you directly to where the .exe file is located.

I renamed this file to something else and the lucene file stopped appearing in my Temp folder.

Hemant Borkar

Posted 2012-04-22T05:39:07.000

Reputation: 21