Removing a Locked Hardlink Store

Due to a sharing lock, a hardlink store might not be deleted correctly, after a restore. This will cause the  backup files to remain in the store, and make a new hardlink backup fail. So after a successful restore you might want to make sure the store is removed.

Solution:

From your USMT package/library in the folder matching your architecture (x86 or x64), run the USMTUTILS.EXE tool.

cmd.exe /c usmtutils /rd %OSDStateStorePath%

This will remove the store from all driver/partitions. Be aware though, that a reboot is needed if the store is on the OS partition.

Advertisements