Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 77851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:53:42+00:00 2026-05-10T20:53:42+00:00

This problem crops up every now and then at work. Our build machine can

  • 0

This problem crops up every now and then at work. Our build machine can have it’s files accessed via a normal windows file share. If someone browses a folder remotely on the machine, and leaves the window open overnight, then the build fails (as it has done now). The explorer window left opened points at one of the sub folders in the source tree. The build deletes the source, and does a clean checkout before building. The delete is failing.

Right now, I’d like to get the build to work. I’m logged in from home, and I’d rather not reboot the build machine. I’m unable to get hold of the person whose machine is looking and the files, and I can’t remotely reboot their machine.

When a windows share has a lock, the locking process is System, so I don’t think I can kill it, as with normal locks.

Does anyone know a way to release the lock on a shared folder without having to reboot the machine?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:53:43+00:00Added an answer on May 10, 2026 at 8:53 pm

    Found a solution.

    1. Find the process using Process Explorer:

      1. Download and extract procexp.exe
      2. In Process Explorer use the ‘Find Handle or DLL…’ command from the ‘Find’ menu
      3. Enter in the name of the directory which is having trouble deleting
      4. A list of open files which match that name should be shown. Take some guesses and find which one is failing to be deleted. If the file is locked by a windows share, the process holding the file will be System
      5. Note down the directory which was left open
    2. Download and install the Unlocker (Warning: Link removed, as it contains malware)

      1. Install Unlocker, disabling the option for Explorer extensions and other junk
    3. Unlock the directory

      1. Open up a cmd window, and navigate to C:\Program Files\Unlocker
      2. From the cmd window, run Unlocker.exe ‘the-path-to-the-locked-folder’
      3. A dialog will pop up confirming the lock release. Use the unlock button to unlock the file

    Now the directory should be unlocked, and can now be deleted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 75k
  • Answers 75k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer dfn is for a definition of something. <p>The prefix cardio-… May 11, 2026 at 2:34 pm
  • added an answer Yes I am absolutely sure of it. Have you checked… May 11, 2026 at 2:34 pm
  • added an answer You cannot host an ASMX web service in a Windows… May 11, 2026 at 2:34 pm

Related Questions

Here's the problem I'm having, I've got a set of logs that can grow
I am trying to quickly process large images (about 2000x2000). I am using a
I am intentionally leaving this quite vague at first. I'm looking for discussion and
While cross-site scripting is generally regarded as negative, I've run into several situations where

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.