Windows explorer locks files

Page 1 of 2 12 LastLast

  1. Posts : 36
    Windows 7 Pro 64-bit
       #1

    Windows explorer locks files


    Windows Explorer has been driving me crazy. I use it in Detail mode and run as "username" with Administrator privileges.

    If, for example, I highlight a file, drag it into an editor, then modify and attempt to save the file, I get a message that the file is locked. If I switch back to Explorer and move the highlight bar off the file name, the lock no longer exists.

    I don't remember this behavior in any other version of Windoze. I'm running W7 Pro, 64-bit with a dual AMD quad-core mobo, 16 gig ram and 7 Terabytes of internal storage...not that should make a difference.

    If there's a registry or permissions setting to toggle this behavior, I'd sure like to know about it so I can turn it off. Locking by highlighting (focusing on) a file name is really pretty unreasonable.

    Thanks.
      My Computer


  2. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #2

    Are you saying that you Logon to Windows 7 as say "User1" then launch Windows Explorer with "runas" as "User2"? Then start and editor as "User1" (from the start ORB) and then drag a file from the Windows Explorer running as "User2" to the editor running as "User1"??

    If that is the case you may have many issues with permissions and locked files. You would need to run the editor as the same user as Windows Explorer. -WS
      My Computer


  3. Posts : 36
    Windows 7 Pro 64-bit
    Thread Starter
       #3

    No. This is not the case. I log into windows as "User1" which has Administrator permissions. Then I run Explorer normally...no "run as", just click on the icon on the QuickLaunch bar...the shortcut there has no "run as" characteristics. I'm the only one who uses this box...and while I run the hell out of it, I'm not trying to get real slick with multiple users or anything of that nature.
      My Computer


  4. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #4

    Humm..I tried to duplicate the problem and cannot. Do you have some more information, maybe some screen shots??
      My Computer


  5. Posts : 36
    Windows 7 Pro 64-bit
    Thread Starter
       #5

    Examples:

    http://www.raytherat.com/errorimages/Error01.jpg
    http://www.raytherat.com/errorimages/Error02.jpg
    http://www.raytherat.com/errorimages/Explorer01.jpg

    Both errors came about because the file, NoName.html was highlighted (selected) in Explorer. See Explorer1.jpg

    First error message is from AceHTML Freeware. Second is from Notepad.

    Moving the selection from the file in question removes the lock.

    I don't wanna sound like a wise guy, but I've been working with computers since 1966 and I know my way around as a general rule. I worked as a software developer for the last 20 years of my career. But there are always new things to learn.

    Having said that, it seems that SOMETHING is causing Explorer (and other programs) to set the lock flag in the file's directory entry when it gets focus in the detail list. As soon as the focus is placed elsewhere, the lock flag is reset.

    I've verified that it IS Explorer holding the lock with Unlocker v1.9.

    Here's where you can see the build diary for the system that has this little issue (the only W7 box I have) here:
    Dreadnought

    I get the same results with Free Commander or Xplorer2. If I had to guess, I'd venture that they both use the same low-level file handling api routines.

    Could it be a file or drive sharing issue? The drive (2 tb WD black...almost brand new) is shared on my network...But I can't quite see how that might be an issue.

    Well, it's way past my bedtime. I'll deal with it in the morning.

    Edit: A restart seems to have cured the problem this time but it didn't before. I also just installed the latest "optional" patches, which is what cause me to reboot. So. Is it real or is it Memorex? Did the reboot fix it or did the patches? Subject for debate, I spose.

    Must sleep now
      My Computer


  6. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #6

    This is a strange problem. I checked 5 different machines, all Windows 7 Ultimate and I was unable to duplicate the problem. (Each machine is a bit different, thinking I was covering a wide range of setups and installed software). Do you think this problem started after you installed some software? Are you able to go back to a restore point before this started? Do you have another computer to test with? -WS
      My Computer


  7. Posts : 36
    Windows 7 Pro 64-bit
    Thread Starter
       #7

    I can't duplicate the problem after patch installation and reboot. I hope it's the patches addressing system stability that fix it...but if it shows up again, I know I can reboot and get around it.
      My Computer


  8. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #8

    So we are good, problem solved for the moment??
      My Computer


  9. Posts : 36
    Windows 7 Pro 64-bit
    Thread Starter
       #9

    Installing Windows Classic Shell seems to have eliminated the problem. No, not seems. It DID eliminate the problem. Once I installed that, the lock issue disappeared.
      My Computer


  10. Posts : 1
    Windows 7 Enterprise 64bit
       #10

    This has been driving me crazy too - Unlocker also showed me that Explorer was latching onto my html files that I was trying to edit. Pissed me off. Don't ask me why, but I decided to hide the "preview pane" that shows contents if it knows how, and Windows 7 stopped locking my file. Obviously if you click to open a file, you're highlighting it and hence, the preview mechanism swings into action. I noticed that my system would not preview html files - just blank pane. Not sure if since the preview was failing, this lock hung around. If file ext was txt, preview worked. Previously I was changing the extension to .txt to edit it, for some reason it didn't lock that. This is a long time after your previous post, so you probably don't give a crap anymore, but maybe you might appreciate it. :). Cheers.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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:24.
Find Us