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: Problem with locked EXE files

07 Jul 2010   #1
Metalmurphy

Windows 7
 
 
Problem with locked EXE files

I've been having this weird problem with W7 64Bits. Sometimes EXE files get locked by the system. For example I delete an entire folder and it tells me that the folder can't be removed. I enter the folder and all the files except the EXE files are gone. I try to delete them manually and it doesn't work.

If I do a quick reboot and delete the files right away it works, but after a while I start getting the problem again.

Sometimes game updaters and such also say they can't patch some EXE files.



Any idea why this is happening?


My System SpecsSystem Spec
.

07 Jul 2010   #2
not so gray matter

W7 Ult. x64 | OS X
 
 

This could be due to permissions, or it could be that a program is using those resources when you're attempting to delete them.

Using the program Unlocker, you can tell if a file/folder is in use by another program.
Download Unlocker 1.9.0 Free - Get rid of error message like Error deleting file or folder, cannot delete folder: it's being used by another person or program - Softpedia

If your permissions are hinky, you can simply right click on the file/folder go to properties and permissions/ownership and take ownership of the file/folder. Also, you may need to be on an administrator account.
My System SpecsSystem Spec
07 Jul 2010   #3
Metalmurphy

Windows 7
 
 

Well, the fact that it's so random when It happens makes me think it's not really a program using the files, unless ofc, I've been infected by a really smart virus that is using them. I must say I'm an above average PC user and I can identify viruses easily, unless this is like something I've never seen before I don't think i've been infected.

I'll give it a shot to that unlocker tool next time I run into the problem.


*edit* And funnily enough, it just happened again with that same file



Firefox reservs both the unlocker1.9.0.part and unlocker1.9.0.exe files as soon as the download starts, and after the download finished, when it tried to delete the reserved .exe to replace it with the actual file it wasn't able to.
My System SpecsSystem Spec
.


07 Jul 2010   #4
Metalmurphy

Windows 7
 
 

Ok, unlocker was no help. It showed that no process was using it.

I'm now trying to delete a EXE file. I delete it, it disappears, I refresh the folder and there it is again. And because of that I can't delete the folder.

*edit* And now it's gone... It seems that the file just stays locked for a long time (about 1 minute).
My System SpecsSystem Spec
08 Jul 2010   #5
motc7

 
 

Try this.

  • Boot to safe mode. Safe mode only, do not select safe mode with networking.
  • Find that .exe file and delete it.
  • If it will not straight delete, change the name of the file to something else with a different file extension, such as .txt. Then try to delete.
  • If it deletes, restart computer into normal mode and carry on!
My System SpecsSystem Spec
08 Jul 2010   #6
Metalmurphy

Windows 7
 
 

Well like I said, if I reboot and delete the file it works, but soon after I start having the same problem again. And since it's a recurring problem it's affecting lots of programs. For example, right now I want to play Team Fortress 2 but I can't because Steam can't update itself.



I need to find a way to fix this problem instead of just working around it.
My System SpecsSystem Spec
08 Jul 2010   #7
motc7

 
 

Quote   Quote: Originally Posted by Metalmurphy View Post
Well like I said, if I reboot and delete the file it works, but soon after I start having the same problem again. And since it's a recurring problem it's affecting lots of programs. For example, right now I want to play Team Fortress 2 but I can't because Steam can't update itself.



I need to find a way to fix this problem instead of just working around it.
You say you delete the file, but have you deleted it when you are in safe mode yet?

Also, have you tried the Windows Uninstaller yet? I know that Microsoft no longer supports it as of June 26, 2010 but still does wonders.

|MG| Windows Installer CleanUp Utility 7.2 Download


Here's something else to try as well.

http://majorgeeks.com/Revo_Uninstaller_d5706.html
My System SpecsSystem Spec
08 Jul 2010   #8
Metalmurphy

Windows 7
 
 

What is the uninstaller supposed to do? Remember my problem isn't just about deleting files, it's that they get locked. So they can't be patched/renamed/etc.
My System SpecsSystem Spec
08 Jul 2010   #9
motc7

 
 

Quote   Quote: Originally Posted by Metalmurphy View Post
What is the uninstaller supposed to do? Remember my problem isn't just about deleting files, it's that they get locked. So they can't be patched/renamed/etc.
o.k. Sorry, just re-read.


Goto Windows Explorer, and then goto the following directory.

C:\Users\yourusername

I want you to right click that folder and goto properties. Then goto the Security Tab. Take a screenshot and post it here.


Make sure you get a pic of all the usernames that have access to those folders, and specifically, highlight your username and take the screenshot. I'm thinking this is a permissions issue.
My System SpecsSystem Spec
08 Jul 2010   #10
Metalmurphy

Windows 7
 
 

Here it is.


There's a "Special Permissions" that isn't listed there, to which there was no check mark on either Allow or Deny.


I should also add that I noticed that some (or maybe all but I didn't wait long enough) files DO disappear after a LONG time. For exemple, I was just trying to update steam, and it gave me that error you see above. I went to the steam folder and steam.exe was there. Without me doing anything it wasn't there anymore after about 10 minutes. So maybe the EXE files DO get unlocked/deleted after a REALLY long time?
My System SpecsSystem Spec
Reply

 Problem with locked EXE files




Thread Tools





Similar help and support threads
Thread Forum
all compressed files...locked!
hello, I have a problem, every compressed file that I create (right click/shortcut menu...send to...compressed (zipped) folder) finishes by placing a lock icon, which I assume means that it cannot be transfered to another computer and at risk of being inaccessible at some later point-in-time (just...
General Discussion
Problem with locked EXE files
I have this problem where my .exe files get locked by explorer so I canot update programs. I can sometimes delete the .exe file and usually can always use unlocker. It's the same problem these people have had http://www.sevenforums.com/general-discussion/175447-exe-files-locking.html...
General Discussion
Locked out of files.....yes another one of those
I'v been here multiple times and you guys always help me when i need it but i have been searching for the solution for a while and still not success when i built a new comp i hooked up my harddrives and had access to some files but not all and made due with what i had and would eventually come...
General Discussion
files locked!
i have just discovered a folder in my music folder that contains about 18 albums all of the files within are locked how can i change this ,i have tried to change permissions in the properties /security but no joy any ideas?
General Discussion
Defrag locked files
Is there a way i can move all the locked system files from the close middle of my hard drive and defrag them to the begginning of my drive. I want to partition my drive, but i cant because it ran into system files so i cant make it as big as i want.
Performance & Maintenance
All my files are locked? AHH!!
Ok, this is a nightmare. I do a lot of photoshop graphics for work. I open a file in photoshop and edit...then save....WRONG!! It says I cannot save because it is locked. ALL MY FILES ARE LOCKED? How do I correct this insanity?
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 02:29.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App