-
Notifications
You must be signed in to change notification settings - Fork 72
Description
Error when trying to uninstall the UTMStack Windows agent.
Error:
Remove-Item : Cannot remove item C:\Program Files\UTMStack\UTMStack Agent\logs\utmstack_updater.log: The process cannot access the file 'utmstack_updater.log' because it is being used by another process.
Context:
When running the uninstallation script in PowerShell, the service is stopped and removed correctly, but it fails when trying to remove the directory C:\Program Files\UTMStack\UTMStack Agent because the log file utmstack_updater.log remains locked by another process (likely the updater itself or a remnant of the service that didn't release the file in time).
Steps to reproduce:
- Install the UTMStack Windows agent.
- Attempt to uninstall using the PowerShell command.
- The process fails at the file cleanup step (
Remove-Item).
Suggested solution:
Ensure that all related processes (including the updater) are completely stopped before attempting to delete files, or add a short delay/retry in the uninstallation script to allow file handles to close.

Metadata
Metadata
Assignees
Labels
Type
Projects
Status