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: .exe files locking

16 Jul 2011   #1
player2

Windows 7
 
 
.exe files locking

the problem i'm having is that .exe files are getting locked for around 5 minutes when other programs try to access them
this means i can no longer access them for read write copy or delete. once they unlock they are deleted automatically.
does anybody know what the problem is ?
i am running windows 7 32 bit and have customized it a lot, by disabled unwanted services, i think it may be one of the disabled services that is causing the problem, but i don't know which one it could be.
any help would be appreciated.


My System SpecsSystem Spec
.
16 Jul 2011   #2
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Welcome to Seven Forums player2.
Not sure what you maen by .exe's locking and other programs accessing them.
As for services, here is a guide Black Viper’s Windows 7 Service Pack 1 Service Configurations | Black Viper's Website | www.blackviper.com showing different ways to configure services in Win 7.
My System SpecsSystem Spec
16 Jul 2011   #3
player2

Windows 7
 
 

thanks for the link, it is quite useful, although it still doesn't solve the problem

i have tracked the issue down to explorer.exe specifically.
if explorer.exe is not running (eg no file browsers and no taskbar) then the problem doesn't happen

any ideas about what i can do ?
My System SpecsSystem Spec
.

16 Jul 2011   #4
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Press CTRL/ATL/DELTETE, which should give you a screen to start Task Manager. Start it and see if explorer.exe is listed under processes. If not click on File|New Task (Run...) and type in explorer.exe, OK. See if that brings it back.
My System SpecsSystem Spec
17 Jul 2011   #5
player2

Windows 7
 
 

perhaps i should explain a bit better.

i am having a problem where some executable files (eg file.exe) become inaccessible, for example if i want try to delete them in a .bat script file, it becomes locked for about 5 minutes and then eventually deletes.

if i terminate all processes named explorer.exe (so that there are no windows or desktop items or the taskbar visible) then the problem doesn't exist.

so i know explorer.exe is doing something to lock exe files when i try to delete them using another program (such as a bat script), but i don't know what it is

does anybody who has had a similar experience have a solution ?

thanks
My System SpecsSystem Spec
17 Jul 2011   #6
Britton30
Microsoft MVP

Windows 7 Ultimate X64 SP1
 
 

Ahh, OK. Can't you delete the files in the normal way? I know nothing about writing a .bat file to do anything, but maybe your code is a bit off?
My System SpecsSystem Spec
01 Aug 2011   #7
player2

Windows 7
 
 

this problem still isn't solved, so if anybody who has experienced this problem and knows a solution can help, please do
My System SpecsSystem Spec
01 May 2012   #8
Stevvie

XP X64 SP2, back up of Win7 RTM
 
 

Did you ever get this fixed WITHOUT reinstalling windows ? as I seem to be having the same problem and it's interfering with updating programs, as the installer seems to think the program is already running (it's not).
My System SpecsSystem Spec
01 May 2012   #9
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

Stevvie,
Please start your own thread rather trying to hijack another.

This way we can devote our answers to your problem.

Thanks for your consideration and cooperation,
karl
My System SpecsSystem Spec
Reply

 .exe files locking




Thread Tools




Similar help and support threads
Thread Forum
Explorer.exe - Locking Files
Constant problem when I open a file/folder - document Word or PDF etc. Close the file, and then try to delete it, error message "Folder In Use The action can't be completed because the folder is open in another program" Any ideas as to what may be causing it? Using Windows 7 64bit,...
General Discussion
"searchprotocolhost.exe" is locking files
Hi, recently I've been having an issue with cut/paste taking forever for files in my 2nd internal drive. When I select those files and I first run Unlocker it lists the process "searchprotocolhost.exe" as the culprit, I click "Unlock All" and after that I can Cut/Paste. What can I do to fix this...
Performance & Maintenance
Locating locking files (i.e., files beginning with ~) in Explorer
Hello, I periodically try to find and delete stranded locking files. I have tried the following searches, and they all return incorrect results: ~ ~*.* ~.* Any ideas? Thanks in advance.
General Discussion
Folder Keeps Locking Files
Everytime a file is created in a particular folder it becomes Locked, I have not turned anything on, or changed anything, I even did a system restore to 2 days ago when this behavior wasnt taken place... I have assigned "Everyone" as permission to these files, but everytim a file is locked. ...
General Discussion
Locking Files
Hello, I have a laptop, so I would like to keep it as secure as possible. I have been looking around for a script or something so I can lock certain files. I would like to lock a word document, since it has some personal info. I have seen that this is easily done with XP, but not with 7. How can...
General Discussion
locking files
does anyone know of any programme that locks files, but I wanted one that I can right click and choose something like 'lock this' and it locks it with a standard global password or it asks for a new password for that file. I have customer details on my pc and have occasionally accidentally...
Software


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 17:49.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App