Overcoming “It is being used by another person or

2019-04-18 12:24发布

Is there a way to unlock Windows files without downloading a utility?

I have a few files on my Windows XP C: drive that are very old and very useless. When I try to delete these files I get the following message:

Cannot delete FILENAME.zip: It is being used by another person or program

Close any programs that might be using the file and try again.

No one is accessing this file. No program is using it currently. Windows has screwed up the file locking mechanism.

Is there a way to delete this file without downloading someone's unlocking utility? I find the sites offering these programs to be a tad sketchy.

How could you force the file to unlock from within a program? I'm competent in Java, Perl, and Ruby, but I haven't seen anything among their libraries that would aid me here.

8条回答
够拽才男人
2楼-- · 2019-04-18 13:09

Use msconfig and start up with everything turned off.

Then try to move / delete the file.

Or you can always boot up in safe mode and delete it.

You do that by hitting f8 when the machine boots up.

查看更多
一纸荒年 Trace。
3楼-- · 2019-04-18 13:12

I've successfully used Process Explorer to find out which process has the file open. It saves a reboot that may not fix the problem anyway.

查看更多
一夜七次
4楼-- · 2019-04-18 13:13

Did you try the commandline command OpenFiles

It is built in (XP and above I believe) and has several arguments that can be passed in.

查看更多
Fickle 薄情
5楼-- · 2019-04-18 13:19

If you reboot and the files are still locked, then there is some process on your machine that is still using them. First you should figure out what that process is and determine if the files really aren't used any more or not.

查看更多
等我变得足够好
6楼-- · 2019-04-18 13:25

I had a .jpg pfile that hasd that issue and I couldn't delete. That brought me to this thread. When nothing else worked I renamed the file and left off the .jpg. THEN I could delete it easily. Not sure why, but worked for me

查看更多
Evening l夕情丶
7楼-- · 2019-04-18 13:28

Try downloading "Unlocker". Google it and take my words that it doesn't have any worm/spyware/virus. It is pretty cool utility and works great. Give it a try.

查看更多
登录 后发表回答