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

02 May 2012   #1
Stevvie

XP X64 SP2, back up of Win7 RTM
 
 
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 .exe files locking Problem with locked EXE files and asked in them if they solved it but was asked by karlsnooks to start a new thread rather than ask in there if they solved their problem. I have tried all the thing that were suggested in these two threads and neither seems to solve mine or their problems. If anybody knows why explorer would lock files randomly can you please tell me, thanks.


My System SpecsSystem Spec
.
03 May 2012   #2
pcunite

Windows 7 x64
 
 

The problem is that an open handle to the file exists. You could use a tool like Process Explorer to show you who has the open handle, or Unlocker to close the handle and delete the file in one go. On XP systems I used a tool called forcedel.exe. I don't know if it exists for Windows 7 though.
My System SpecsSystem Spec
03 May 2012   #3
Ztruker

Windows 10 Pro X64
 
 

All programs or just some specific programs?

Does the problem occur if you update the program immediately after booting, before using any programs?
My System SpecsSystem Spec
.

04 May 2012   #4
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Stevvie,
Could you give us an example of file that gets "locked"?
My System SpecsSystem Spec
04 May 2012   #5
Stevvie

XP X64 SP2, back up of Win7 RTM
 
 

As stated in my first post EXPLORER locks the file and I CAN delete the file using UNLOCKER.
An example is something like this. I use Internet Download Manager to manage my downloads and this get updated on a regular basis, so i start the installer to update my program and someway through the install it returns with an error saying 'the file is open or already in use'. So I have to use UNLOCKER to delete the file, 9 times out of 10 this works. When this does not work I have to reboot into safe mode or another OS on another drive and delete the file which so far works 100%. Some updates get applied with no problem but some don't. So far I have found no pattern to what gets locked and what doesn't. Some games get locked and some don't. Things even get locked if they are NEVER run by the OS, I know this as I tried to do a manual update of Alan wake game that hadn't been run since I rebooted about 10 minutes before and the installer said that AlanWake.exe was running or locked. It seems that sometimes as soon as the file or its containing folder is opened in explorer, it get locked.
My System SpecsSystem Spec
04 May 2012   #6
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Sorry for the misunderstanding.

Would you please give me the name of one program that gets "locked"?
My System SpecsSystem Spec
04 May 2012   #7
lehnerus2000

W7 Ultimate SP1, LM 17.3 MATE, W10IP VM, W10 Home, #All 64 bit
 
 
"Blocked" File?

Check the "Properties" of a troublesome exe file.
If you have downloaded it from the Internet it may be "Blocked".
Name:  Blocked Files.png
Views: 39
Size:  26.6 KB


My System SpecsSystem Spec
04 May 2012   #8
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

lehnerus,
Excellent point. One of the reasons I was looking for specific examples of programs that that are giving the problem.
My System SpecsSystem Spec
09 May 2012   #9
lehnerus2000

W7 Ultimate SP1, LM 17.3 MATE, W10IP VM, W10 Home, #All 64 bit
 
 
Thanks karlsnooks

Quote   Quote: Originally Posted by karlsnooks View Post
lehnerus,
Excellent point. One of the reasons I was looking for specific examples of programs that that are giving the problem.
Thanks karlsnooks.

I've never personally had that cause a problem with exe files, but it has caused me problems with PowerShell scripts.
My System SpecsSystem Spec
09 May 2012   #10
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

lehnerus
what is the executionpolicy setting?
Get-executionpolicy -list
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'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...
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 10:58.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App