Since introducing Windows 7, we have a strange problem with locked files.
We have a VB6 Program stored on a server. Clients open the program from the share, and work with it all day. When we had updates, we simply renamed the file, and copied the new one. This has been working for us for over 10 years with NT, W2K and XP. Since introducing Win 7 this does not work anymore.
If I open Computer Management on the server, and look at the open files, they are all in “open mode” Read. If I use Hyena, it looks a bit different. The XP clients are in “open mode” Execute and the Win 7 clients in “open mode” Read. If I try to rename the file, I get a SHARING VIOLATION:
Desired Access: Read Attributes, Delete, Synchronize Disposition: Open Options: Complete If Oplocked, Open Reparse Point Attributes: n/a ShareMode: Read, Write, Delete AllocationSize: n/a Impersonating: xxx\yyyyyy
If I terminate the Win 7 connections, leaving the XP connections, I can rename the file.
Here’s the Server side: Windows Server 2003 R2 x64 Share Permissions are Read / Write NTFS Permissions are List / Read / Execute
Any help would be greatly appreciated.