How to Delete, Rename, Move a Locked File
来源:互联网 发布:byte数组 0xff 编辑:程序博客网 时间:2024/06/04 19:18
Have you ever tried to delete, rename or move a file but get one of the following annoying messages because the file is locked?
The file is in use by another program or user.
Cannot delete file: Access is denied.
Make sure the disk is not full or write-protected and that the file is not currently in use.
There has been a sharing violation.
The source or destination file may be in use.
The action can’t be completed because the folder or a file in it is open in another program.
Cannot delete Folder: It is being used by another person or program.
There are two simple solutions to unlock the file. Using Unlocker to unlock the file, Using Process Explorer to find the process that locks the file and kill the process.
Unlocker
Let’s start with Unlocker. You can download Unlocker from http://www.emptyloop.com/unlocker/, it’s a free application. After installing Unlocker, right click on the file or folder and select Unlocker from the context menu. All applications that might be locking the file or folder will be listed. You can select the applications from list and unlock/kill them to make locked file available again.
Process Explorer
Formerly Process Explorer was offered by Sysinternals.com. Microsoft acquired Sysinternals in 2006. Since then, the application is available in Microsoft website. All sysinternals applications are available inhttp://technet.microsoft.com/en-us/sysinternals/default. You can find Process Explorer fromProcess Utilities link.
To find the locking application, click binoculars icon from toolbar.
Type file/folder name and click Search button, then double click on the process name to focus that application.
Right click on the process and select Kill Process. Locked file/folder will become available to delete or modify.
http://www.techtipsmag.com/how-to-delete-rename-move-a-locked-file/
- How to Delete, Rename, Move a Locked File
- How to justify if a file is locked
- How do I rename a data file
- How do I rename a data file
- How to move a datafile from a file system to ASM
- How to move a datafile from a file system to ASM (Doc ID 390274.1)
- How to move a datafile from a file system to ASM (Doc ID 390274.1)
- How to move a datafile from a file system to ASM
- How to Rename a View in ClearCase
- How to Rename a View in ClearCase
- How to rename a VOB or view
- how to rename a git branch
- How to move a datafile from ASM to the file system
- How to open a file
- How To Rename A Diskgroup On ASM 11gR2
- How to move ASM spfile to a different disk group
- How to move ASM spfile to a different disk group
- How to delete a DFF Context
- linux下makefile编写及automake整理
- redis内存优化、持久化以及主从复制
- 外汇交易与股票的区别
- 手机圈的十月围城 [ 拂髯客 ]
- js中scrollLeft,scrollWidth,clientWidth,offsetWidth完全详解
- How to Delete, Rename, Move a Locked File
- quick mvc 结合状态机
- Ubuntu安装配置nfs服务器
- C#生成条码
- Ubuntu学习笔记(续一)
- UILabel用原生方法显示HTML文本
- 高效人士睡觉前做的10件事
- ADC之应用加速
- unixodbc 连接mysql数据库