The operating system blocks the file and you won’t be able to change it.
This type of situation usually occurs when the file is being used by another user, albeit on the same computer, or on another computer by file sharing.
You have some alternatives:
When it’s on the same computer:
- Finish the process that is using the file. (If different users, the user must have permission to do so)
When it is shared file:
Try renaming the file. (Usually works on Windows Server, in OS clients I can’t confirm this)
Stop the windows service Server
, which interrupts sharing, deleting the file, and then starting the service again. (By stopping the Server
the service Pesquisador de computadores
will also be stopped. Remember to initialize both. I do not think this alternative is recommended, because it can cause unwanted effects to users, perhaps it is necessary technical support intervention)