Company
Date Published
Author
Paul Stovell
Word count
331
Language
English
Hacker News points
None

Summary

Paul Stovell addresses a common issue in software deployment where locked files can obstruct the process, leading to frustration and the need for a solution to identify and stop processes locking those files. The article introduces Handle, a utility from SysInternals, which provides a way to find out which programs have specific files open, thus helping to resolve these deployment issues. By using Handle, users can pinpoint the exact processes causing file locks and terminate them using a PowerShell script, facilitating smoother deployments. Additionally, Stovell highlights a possible complication with Handle's End User License Agreement (EULA), explaining that it must be accepted per-user, which can be automated to prevent issues when running Handle from the Octopus Deploy Tentacle agent.