Jump to content

Disable file locking


mraeryceos

Recommended Posts


Then the "easiest" way is to use something that will backup all files opened and the possible ways of doing this are:

- using a SAN and taking a snapshot of the drives. But for most people it isn't easy to put it and might need a lot of money to create/buy a SAN.

- using a virtual machine and snapshot the virtual drive but you'll need to disable the tools (like some part of vmware tools for Vmware VM) that synchronize the snapshots with the guest OS using vss (not for XP as vss doesn't exist for xp).

Link to comment
Share on other sites

Since there doesn't appear to be a registry setting, like in Win9x (see http://www.pctools.com/guides/registry/detail/218/), I was hoping for a cracked version of windows files that have the file locking disabled. I believe this would be kernel32.dll, that contains routines FileLock and FileLockEx. If these routines do nothing when called, then there would be no file locking.

Edited by mraeryceos
Link to comment
Share on other sites

OS using vss (not for XP as vss doesn't exist for xp).

Are you sure XP does not have vss? :w00t::unsure:

http://msdn.microsoft.com/en-us/library/windows/desktop/bb968832(v=vs.85).aspx

Run-time requirements

VSS is supported on Microsoft Windows XP and later.

(learning that all these years I've been using something that doesn' t exist may be too much a shock for my poor, old heart :ph34r: )

jaclaz

Link to comment
Share on other sites

Thanks for correcting Jaclaz (i suppose i was thinking about windows 2000 when i wrote this).

Yep ,the "biggest chunk" of changes was introduced with XP, and this is IMHO the reason why Ken Kato's VDK worked perfectly with 2K and sometimes could not be stopped/uninstalled/reinstalled/restarted in XP (and this could suggest that the VSS subsystem actually introduces some added "locking" at least with disk objects).

Back to topic, never heard of a "disabled file locking" kernel :ph34r:, maybe for the sake of the tests getting higher privileges (System) might be enough? :unsure:

Just in case:

http://www.grubletrang.com/SoftwareList.aspx

http://www.grubletrang.com/Software.aspx?app=PowerPrompt

jaclaz

Link to comment
Share on other sites

  • 5 months later...

I am using Carbonite as a real-time backup program, and was hoping to keep VSS disabled on WinXP.

This is a file patcher for Windows XP SP2 (and likely SP3) and Windows 7 SP1, that will partially disable file locks. Unfortunately, even with the hack to disable file locks, Carbonite was still locking files while I was trying to work with them. If it had worked, I wouldn't have minded the occasional corrupted file in the versioning backup (in the rare case where Carbonite was reading as a file was being written to).

filenolock.zip

Edited by mraeryceos
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...