device or resource are busy cmd windows code example Example: device or resource busy lsof +D /path kill -9 $PID