Iris Classon
Iris Classon - In Love with Code

Unlink of file X failed

Today, as I was switching branches, I came across a problem with several of the project files. Git let me know that several files could not be unlinked, and even after making sure I had closed all processes (mainly VS) were closed. When I tried using the files, I realized they were locked by another process.

Unlink of file X failed

I hope you are familiar withProcess Explorer- it’s a fantastic tool for sorting out process related problems. Run the executable, do a search for the file, and locate the process.

Unlink of file X failed 2 Depending on the process, either kill it or restart it.

Unlink of file X failed 3

Explorer.exe you usually want to restart, but if you kill the process you can start it again by starting a new process.

2019-05-15_15-50-42

Comments

Leave a comment below, or by email.


Last modified on 2019-05-14

comments powered by Disqus