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

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

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

Windows 8 Core 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

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

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

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

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (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: 37
Size:  26.6 KB


My System SpecsSystem Spec
04 May 2012   #8

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

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (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

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 for2: Problem with locked EXE files
Thread Forum
Problem with locked EXE files General Discussion
Locked out of files.....yes another one of those General Discussion
Solved files locked! General Discussion
Locked files? Network & Sharing
Temporary files are locked Performance & Maintenance
Defrag locked files Performance & Maintenance
All my files are locked? AHH!! 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 07:28 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33