Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to 'release', or 'unlock' folders and files?

25 Mar 2018   #1
tkmops

Win 7 64 bit
 
 
How to 'release', or 'unlock' folders and files?

How to 'release', or 'unlock' folders and files?

Just recently, about 60% of the time, I am unable to move and/or rename folders, I'm getting the following error msg:'The action can't be completed because the folder or a file in it is open in another program. Close the folder or file and try again'.

1) I've closed/open Windows Explorer...same error.

2) I've closed all open programs, except for Windows Explorer...same error.

3) I've rebooted...same error.

I haven't installed any new programs. I've checked my running programs in Task Manager, and found nothing that would indicate that my folders or files are open in another program.

Is there a way of finding out if there are any program(s) being used on certain folders/files?
And, how to 'release', or 'unlock those folders and files?

Win7, 64bit.

Thanks!


My System SpecsSystem Spec
.
25 Mar 2018   #2
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, Kali, VMWare Workstation Player, OpenVPN
 
 

Hi tkmops,

How to Grant Permissions in Windows 7

1. Locate the file or folder in which you want to take ownership in Windows Explorer.
2. Right click on file or folder and select Properties from the Menu
3. Click on the Security tab, then click the Edit button. Click OK to confirm UAC elevation request if needed.
4. Select user/group from permission windows or click add to add other user or group (you may need to do this for multiple users - ex: administrator and your own user account).
5. Now under the Permission section check the rights which you want for the user i.e check "Full Control" under the "Allow" column to assign full access rights control permissions to the user.
6. Click OK for changes to take effect, and click OK again to exit from the Properties window.
My System SpecsSystem Spec
26 Mar 2018   #3
tkmops

Win 7 64 bit
 
 

Snick, tried that, doesn't work
My System SpecsSystem Spec
.

26 Mar 2018   #4
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, Kali, VMWare Workstation Player, OpenVPN
 
 

filesystems - Find out which process is locking a file or folder
A couple of options:
Microsoft/SysInternals Process Explorer - Go to Find > Find Handle or DLL. In the "Handle or DLL substring:" text box, type the path to the file (e.g. "C:\path\to\file.txt") and click "Search". All processes which have an open handle to that file should be listed.
WhoLockMe - Explorer extension which adds a right-click menu option
My System SpecsSystem Spec
26 Mar 2018   #5
Alejandro85

Windows 7 Ultimate x64
 
 

You can use Process Explorer for that.
Download, run it, and in the find menu type the name of the file in question. It'll return a list of processes having that file opened. You could even force close them.


Quote   Quote: Originally Posted by Snick View Post
Hi tkmops,

How to Grant Permissions in Windows 7

1. Locate the file or folder in which you want to take ownership in Windows Explorer.
2. Right click on file or folder and select Properties from the Menu
3. Click on the Security tab, then click the Edit button. Click OK to confirm UAC elevation request if needed.
4. Select user/group from permission windows or click add to add other user or group (you may need to do this for multiple users - ex: administrator and your own user account).
5. Now under the Permission section check the rights which you want for the user i.e check "Full Control" under the "Allow" column to assign full access rights control permissions to the user.
6. Click OK for changes to take effect, and click OK again to exit from the Properties window.
That's the procedure to give permissions to a file/folder (which more often than not is a bad idea).
The OP is asking about files in use, a totally unrelated thing.
My System SpecsSystem Spec
26 Mar 2018   #6
tkmops

Win 7 64 bit
 
 

OK, thanks. Downloaded 'Process Explorer', ran it, and entered the file path into the 'Find' box, it returned two entries..both explorer.exe, PID 3268. But there's only one explorer.exe in the Process tree.
My System SpecsSystem Spec
26 Mar 2018   #7
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, Kali, VMWare Workstation Player, OpenVPN
 
 

Alejandro85, I agree with your response, do you have a definitive resolve to OP issue?
My System SpecsSystem Spec
27 Mar 2018   #8
Alejandro85

Windows 7 Ultimate x64
 
 

If you see the same process twice, it means Explorer opened the very same file twice, that doesn't changes anything. The important bit is that you now know that its Windows Explorer that's keeping your file opened. Why does it that way and why does it keep it open..... I have no idea

You could kill the process or within Process Explorer close both handles to the file to free it.
My System SpecsSystem Spec
27 Mar 2018   #9
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, Kali, VMWare Workstation Player, OpenVPN
 
 

Alejandro85 thanks for the timely response! :)
My System SpecsSystem Spec
Reply

 How to 'release', or 'unlock' folders and files?




Thread Tools




Similar help and support threads
Thread Forum
How to unlock Bitlocker drive using recovery of encrypted files
I had stored the PFX files once I had created the password, now I have formatted my windows. So how can I use PFX file to unlock my drive.
System Security
How to unlock files?
Anyone know why these are all locked and how to unlock them? It keeps saying access is denied every time I try to open any of them.
General Discussion
unlock multiple document files
How do I unlock multiple document files in windows 7
General Discussion
How can I unlock rogue employee's directories and files?
I have a rogue employee in my office. Long story, but can't get rid of him just yet. Confirmed he's running a business from inside my business. Confirmed he's deleted a directory where I carelessly stored evidence of his internal theft from the business in the $30k range. Confirmed activities...
System Security
How can I unlock User and AppData folders?
Hi all, I'm running Win7, RC ver7100, clean installed on a Maxtor 300GB PATA HD, WinXP Home and Vista Ultimate reside on a WD 500GB SATA HD. I want to get into AppData and Application folders to copy/import data from the XP and Vista partitions into, and out of(backup) the Win7 folders.. All...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:32.
Twitter Facebook Google+