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
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 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
Stevvie

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
carwiz

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
Stevvie

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
carwiz

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
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 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.
-prex-search.png


My System SpecsSystem Spec
21 May 2012   #17
Stevvie

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
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 04:01.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App