天天看點

檔案被system程序鎖定,不能删除

檔案被system程序鎖定,不能删除,沒有明顯使用者程序操作此檔案。

軟體unlocker,wholockme,lock hunter之類的,可能需要重新開機才能解決問題,這在生産環境 中是不可接受的。

能作的還是慢慢搜尋可用解決方案。。

然後,找到此個文檔,顯示了被system占用檔案的解決辦法,并将此歸為win2008的一個小bug,但不知道實際效果如何。。:

<a href="http://stackoverflow.com/questions/4378192/windows-2008-r2-kernel-system-process-pid-4-is-locking-files-and-folders">http://stackoverflow.com/questions/4378192/windows-2008-r2-kernel-system-process-pid-4-is-locking-files-and-folders</a>

<a href="http://stackoverflow.com/questions/4378192/windows-2008-r2-kernel-system-process-pid-4-is-locking-files-and-folders">windows 2008 r2 - kernel (system process pid=4) is locking files and folders</a>

as dani has already mentioned in the comment:

re-enabling this service has fixed this problem for me.

list of other so questions which seem to be related:

<a href="http://stackoverflow.com/questions/3312646/visual-studio-output-file-permissions">visual      studio output file permissions?</a>

繼續閱讀