Deal with a problem of locked desktop file