Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm on Windows Server 2008 64-bit. LockHunter identifies that a folder is locked by the "System" process. I'm not sure why this happens, but my bigger concern is how to unlock it. I'm looking for a solution that can be run from the command line.

LockHunter itself is unable to unlock it. Also, Sysinternals' Process Explorer doesn't find the locked folder's handle. Rebooting is not an option either.

alt text

share|improve this question
    
This guy shares your view. scatteredideas.info/archives/delete-locked-files-32-and-64-bit –  Nissan Fan Oct 7 '09 at 16:30
    
Have you looked at this question: How do I delete a ‘locked’ file in Vista 64? –  nik Oct 7 '09 at 16:35
    
It's not just any file, it's a file locked by System that's giving me the problem. I didn't have problems unlocking other files. –  ripper234 Oct 7 '09 at 18:55

4 Answers 4

up vote 3 down vote accepted

It turns out this was caused by another computer that had an open explorer shell on the "problematic" computer. This problem persisted even after a reboot! (not at first, but it reappeared)

The only solution was to close the relevant explorer window from the other computer.

share|improve this answer
    
In my case my collegue created herself a shortcut for exe in shared folder and just used to launch it directly from network share. –  Dmitriy Konovalov Feb 8 '13 at 11:09

If nothing else works, you may need to schedule an outage to reboot into safe mode and delete the file.

share|improve this answer

I don't think you can unlock any file locked by System.

Some utilities will only schedule deletes and renames for boot-time, as answered here already.

You might prefer to solve the causes for such locks, by searching using Process Explorer for the locking process. Once you know which system process it is, you may be able to disable it. For example, an always good candidate is Microsoft Search.

EDIT

If Process Explorer doesn't find the locking process, try EMCO UnLock IT, said to work on "Windows Vista and various x64 platforms".

share|improve this answer
1  
Process Explorer finds no locking process. –  ripper234 Oct 7 '09 at 16:47
    
I edited in another possibility. –  harrymc Oct 7 '09 at 17:32

Rebooting is sometimes all you need to do; if you haven't tried that yet, do so. If it's still locked when the system comes back online, then you can use a schedule-delete-for-boot utility.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.