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

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
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 | showing different ways to configure services in Win 7.
My System SpecsSystem Spec
16 Jul 2011   #3

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
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

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 ?

My System SpecsSystem Spec
17 Jul 2011   #6
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

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

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

MS Windows 7 Ultimate SP1 64-bit

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,
My System SpecsSystem Spec

 .exe files locking

Thread Tools

Similar help and support threads for2: .exe files locking
Thread Forum
Solved Locating locking files (i.e., files beginning with ~) in Explorer General Discussion
Folder Keeps Locking Files General Discussion
Locking up Software
Locking Files General Discussion
locking files 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 11:06 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