Fix the bug where SCCM does not "Disconnect users from distribution points"
We frequently use SCCM to deploy folders and files that don't need constant synchronization with the source.
We make these files available for manual execution from the shared folder as well as creating programs in that package that we can then push to clients.
There is a bug that keeps SCCM from disconnecting users from any open files in that folder. When this happens, SCCM starts deleting files in the shared folder but can not close the open file, so it just stops - leaving the folder with only some of its contents. To work around this bug and other frequent content distribution failures, we have had to implement a powershell script that monitors the distmgr.log file and it uses that information and psfile.exe to close any open files in that share.