Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to fix a computer but when I try to delete and recopy some files it tells me the volume is locked?

The problem stems from "ntoskrnl.exe is corrupted" error so I'm trying to put a new one on but I am unable to delete the old file.

I am booting with UBCD4Win so there should not be a problem with files in use. I have also done some research on this and my guess is the computer crashed while doing a SP install and the files I need are locked by a user that no longer exists on the system.

I have tried changing permissions using CACLS but even that says the file is locked.

Anyidea how to unlock this volume?

share|improve this question
up vote 1 down vote accepted

You can try to unlock ntoskrnl.exe with UNLOCKER.

Actually I would recommend a 'System Recovery Install' (Vista offers that if you try to install it to a computer where Vista is installed already). Should restore the OS, but keep the user data.

btw. That shows that backups should be created before system-updates.

HTH, flokra

share|improve this answer

Your Answer


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.