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 tried to encrypt a very large file 100+ gig using EFS and canceled when it said it was going to take 12 hours. Cancellation hung until I finally rebooted the system and now I'm unable to delete the file or open it because windows (7) still believes it's open in the EFS system.

I've tried process monitor, but searching for the file there doesn't turn up any processes I can kill to delete it.

Any suggestions on how I can take ownership of this file to delete it?

share|improve this question
1  
+1 for trying to encrypt a 100+ gig file. –  Moab Jul 4 '11 at 1:05

2 Answers 2

up vote 4 down vote accepted

You can also use a utility called Unlocker to release the file handles:

http://www.emptyloop.com/unlocker/

share|improve this answer
    
I hate to have to resort to third party programs just to delete, but unlocker did the trick. I first unlocked and deleted a related temp file that was in the same directory ( EFS0.TMP ) and then tried to delete the file itself, the first try failed but the follow-up option to delete on reboot worked. –  Aaron Jul 4 '11 at 1:27

Its not the easiest way, but in safe mode it should be possible, and for sure in another OS...

share|improve this answer
    
I should have mentioned that I tried safe mode, unfortunately the files would not release there either. Maybe because EFS gets started as part of safe mode? –  Aaron Jul 4 '11 at 1:14
    
Sounds like its running as a core system utility, which means the odds of unlocker working are close to zero also. Can you boot to a live CD of some kind? cause that will for sure do it. –  soandos Jul 4 '11 at 1:16

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.