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

09 May 2012   #11

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 16 MATE (64 bit)
 
 

I'm not familiar with PowerShell at all.
I don't know the command keywords (or syntax) so I have to rely on other people's scripts.

I used an online tutorial to create W8DP and W8CP VHDs.
Part of the procedure used a PowerShell script to install the W8 image.

The tutorial I followed included a command to allow the script to run.
I believe that it was to set the execution policy (I'd have to look it up).
Even after I had set the policy, I still couldn't run the script, until I "Unblocked" it.

PowerShell Get-executionpolicy.txt



My System SpecsSystem Spec
12 May 2012   #12

XP X64 SP2, back up of Win7 RTM
 
 

Quote   Quote: Originally Posted by karlsnooks View Post
Sorry for the misunderstanding.

Would you please give me the name of one program that gets "locked"?
as stated in my second post, things like games(alanwake.exe) that are installed from CD and then I try to update are already locked by explorer.
Or another example is InternetDownloadManager (idm.exe) that gets locked. I can update in safe mode OK, I have even tried rebooting then immediately updating a game and it still gets locked. Most of the update files are in either RAR or ZIP format and once unzipped are never have the unblock button on their properties page.
My System SpecsSystem Spec
12 May 2012   #13

Windows 7 Pro-x64
 
 

What process did you use to "install" the programs from CD? (AutoRun, Copy, Setup.exe, etc.)
Where do you "install" the programs and please explain what you mean by "I try to update"?
Do these programs show up in your Programs and Features listing? If they do, why are you deleting .EXE files?
Who's shown as the Owner of the Folder where the programs are installed? Is the Folder included in a Library?
My System SpecsSystem Spec
.


18 May 2012   #14

XP X64 SP2, back up of Win7 RTM
 
 

Quote   Quote: Originally Posted by carwiz View Post
What process did you use to "install" the programs from CD? (AutoRun, Copy, Setup.exe, etc.)
Where do you "install" the programs and please explain what you mean by "I try to update"?
Do these programs show up in your Programs and Features listing? If they do, why are you deleting .EXE files?
Who's shown as the Owner of the Folder where the programs are installed? Is the Folder included in a Library?
Installed alanwake from CD using the setup into D:/games/AlanWake. I download the updates from the games support site and click the setup which launches the standard windows installer which then says the file is in use. The file is NOT in use in ANY taskmanager or process explorer(sysinternals). If I delete alanwake.exe then start the update setup it updates just fine.

Second example I downloaded from the internet using firefox a download manager called 'internet download manager' (IDM), which goes into my documents folder. I then download the update from the site using the download manager to a folder called C:\downloads. I then close the download manager and see that it HAS quit and there is no IDM.exe process running. I then start the update setup and get the SAME error and if I delete idm.exe then run the update it updates. So I try in safe mode and still get the same error that the file is running. I even try something different where I rename the IDM folder to IDMNEW, restart the PC and then rename the folder back to IDM after a windows has settled down. I try to update and the error is that IDM.exe is in use. I can unlock and delete these programs using unlocker which shows that explorer locks the programs ONLY after trying to update them. It NEVER locks them untill the files fiolder is opened or the setup tries to update the file.
My System SpecsSystem Spec
18 May 2012   #15

Windows 7 Pro-x64
 
 

OK, that sounds like something is grabbing the file. Perhaps your virus checker. What happens if you wait a while before applying the updates? Say 10-15 minutes.

Also, are you running any file sharing or Torrent software?
My System SpecsSystem Spec
19 May 2012   #16

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 16 MATE (64 bit)
 
 
Search for handle/thread

In "Process Explorer" you can search for the file and it can show you what handles/threads are attached to it.

When I can't remove an external HDD, I search for the drive letter and invariably Windows Explorer is refusing to "detach" itself.
Problem with locked EXE files-prex-search.png


My System SpecsSystem Spec
21 May 2012   #17

XP X64 SP2, back up of Win7 RTM
 
 

No torrent and virus checker is Microsoft Security Essentials. In Proccess explorer it just says EXPLORER.EXE has locked the file.
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 01:13 PM.
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