After removing the replication from a VM in our 2012 R2 Hyper-V Cluster, I have tried to remove all of the files manually from storage (CSV), as per standard practice in 2012, and yet the "UndoLog Configuration" folder is unable to be deleted due to the "<VM GlobalID>.xml" file contained within the folder still being in use by the SYSTEM process.
I would like to clean up the directory from storage, but also, if the Hyper-V replication is required in the future then you cannot store or move the "VM Storage" to this same folder on the same CSV, as this folder already exists.
Is there a way to remove these files or another process to remove the replication of a VM in 2012 R2?