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: File locking problem.

I assume this is repeatable enough that if you sit in Visual Studio and compile and link this .exe you can get this error message.

Get into Resource Monitor and get to the CPU tab at the top and the HANDLE window below.

I don't know if the enqueue (semaphore/lock) is at the .exe level. For example, I have a .bat file opened in notepad but in the handle search, only the DIRECTORY is shown via a handle.

So, be ready and have your .exe directory typed into the handle SEARCH entry so you can see what Visual Studio is doing with it.

You can keep clicking the up/down arrow thing which does a REsearch. It seems you do NOT have to have ANY processes in the top window checked to allow THEM to be searched. It seems the search will search everywhere even if none are checked.

If no go here, then we'll try a lock trace (which I've never done but I can play around with to get it set up correctly).

File locking problem.

Possible File Association Problem or Open With Problem! MAJORApologies if this is not the appropriate catagory but i had trouble finding a suitable one, here is my problem:
I was messing about with a file using winrar, (sorry i cant remember which file it was) i right clicked the file and clicked 'open with' i chose winRAR and it screwed up and decided...

Software

Problem with file copying adversely affecting media/file sharing & WMCWMC recording/playback and media/file sharing seems to work fine until I go to copy a file between drives, where one of those drives is currently using some of its i/o bandwidth to do media. The copy hogs the i/o bandwidth, doing nasty things to the real-time needs.
How do I permanently tell...

Performance & Maintenance

Folder/file locking softwareHi,
Is anyone aware of any folder/file locking software that I can use to completely block access (read and write) to several folders on a removal USB?
This request is for a friend who keeps sensitive information on a removal USB drive. The idea is that if it is ever lost/stolen he can rest...

Software

Problem Installing, missing file or HD problem?Hi I hope someone can help me on here - I've tried for about 2 hours to get a copy of windows 7 working on my old pc and really can't see what the problem is when it comes to doing a clean installation.
It's not "old' only a year old or so with very good specs but I use another machine now so...

Installation & Setup

Locking upi have installed an upgrade of window 7 from xp. all works fine until i have the computer on overnight and then i try to start up the system out of energy conserve mode(black screen). i get the circle going around and around but never gets out of this mode. any ideas?

BSOD Help and Support

locking a file from yourselfHere's one for you.
I work at home and often find myself distracted by going to my favorite websites. To avoid this problem I've been using the hosts technique to block particular websites. It worked for a while but I still find myself going to the hosts file and unblocking myself.
Does...