It is currently Fri Dec 15, 2017 10:41 pm


Locked files, exes from what i notice.

All versions of Windows 7, 2008 and Vista including 32 bit and 64 bit

Moderator: icecube

Locked files, exes from what i notice.

Postby DarkScience » Sat Nov 03, 2012 6:28 am

After a exe is written to disk or changed ( like if i run it ) it gets locked and i can not edit it ( move it , re-compile it , ect ) in any way.

I have recently re-installed my os and i don't remember this problem occurring priorly.

I will post additional information as asked to.

Also if you know of any programs / viruses that might lock any and all exes when there is a slight change to them or they are ran let me know !

This image shows the processes running. I have indexing and search disabled. I disabled all antivirus and everything i could think of that might lock the file for a bit.

Image
DarkScience
Newbie
Newbie
 
Posts: 5
Joined: Sat Nov 03, 2012 6:23 am

Thanks given:0
Thanks received:0
Top

Re: Locked files, exes from what i notice.

Postby DarkScience » Sat Nov 03, 2012 6:33 am

Just happened to a .bat file aswell. It's completely locked no moving it or renaming it !
DarkScience
Newbie
Newbie
 
Posts: 5
Joined: Sat Nov 03, 2012 6:23 am

Thanks given:0
Thanks received:0
Top

Re: Locked files, exes from what i notice.

Postby PCguy » Sat Nov 03, 2012 12:23 pm

That all sounds normal to me. Windows will protect any files in use so that running processes won't crash.
(\__/) This is Bunny.
(='.'=) Copy and paste bunny into your sig.
(")_(") Help Bunny gain World Domination.

Image
User avatar
PCguy
Lord of the Geeks
Lord of the Geeks
 
Posts: 2017
Joined: Sat Sep 15, 2001 1:00 am
Location: A Very Scarey Place
Operating System: Windows 7 Professional x64

Thanks given:2
Thanks received:4
Top

Re: Locked files, exes from what i notice.

Postby DarkScience » Sun Nov 04, 2012 7:32 am

Well before i re-installed my pc i didnt have this behavior. It's also intermitent. An example of a problem caused by this is that i cant run any program that is trying to update its own exe. such as HLDSUPDATETOOL.EXE so i cant setup a dedicated server. Or when im programming and i can only compile after a minute after debugging.
DarkScience
Newbie
Newbie
 
Posts: 5
Joined: Sat Nov 03, 2012 6:23 am

Thanks given:0
Thanks received:0
Top

Re: Locked files, exes from what i notice.

Postby PCguy » Mon Nov 05, 2012 10:31 am

(\__/) This is Bunny.
(='.'=) Copy and paste bunny into your sig.
(")_(") Help Bunny gain World Domination.

Image
User avatar
PCguy
Lord of the Geeks
Lord of the Geeks
 
Posts: 2017
Joined: Sat Sep 15, 2001 1:00 am
Location: A Very Scarey Place
Operating System: Windows 7 Professional x64

Thanks given:2
Thanks received:4
Top

Re: Locked files, exes from what i notice.

Postby DarkScience » Thu Nov 08, 2012 3:17 pm

I tried but it didn't seem to list anything as accessing the file at all. I'll keep looking into things. Could a pc worm cause this ?
DarkScience
Newbie
Newbie
 
Posts: 5
Joined: Sat Nov 03, 2012 6:23 am

Thanks given:0
Thanks received:0
Top

Re: Locked files, exes from what i notice.

Postby DarkScience » Thu Nov 08, 2012 3:25 pm

Actually found it, Says System. one of the 3 files i tested had 11 references the other two had 1 reference.

Think I'm going launch my pc in 'Default Only' mode via msconfig and see if the problem persists.

Additionally: All 3 have 1 ref and 1 handle this last test. All 3 are being used by "System" and say "A disk file, communication endpoint, or driver interface."

Also is there a way to check if a forced closed handle cause my hd to get destroyed or something ? As this may of been the case on my secondary given all files seem to work/read fine just not exe's. though not the case on my primary which is where I'm doing some of this testing.

EDIT:
This error does not persist in Safe Mode CMD with explorer.exe enabled or at least as far as i could tell.

EDIT 3: Potentially Fixed. I disabled application experience or some jabber like that in services. Also re-enabled pretty much all the services from programs i have installed regardless of wheteher or not i use them anymore.

If the problem comes back 'll be sure to post.
DarkScience
Newbie
Newbie
 
Posts: 5
Joined: Sat Nov 03, 2012 6:23 am

Thanks given:0
Thanks received:0
Top

Re: Locked files, exes from what i notice.

Postby samfisher123 » Fri Nov 30, 2012 8:39 am

Try "Unlocker" software, it will move delete or unlocks any file . all the best.
samfisher123
Newbie
Newbie
 
Posts: 4
Joined: Fri Nov 30, 2012 7:57 am

Thanks given:0
Thanks received:0
Top


Return to Windows 7, 2008 and Vista

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron