Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Delete a folder that's inuse

Posted on 2009-04-14
2
Medium Priority
?
271 Views
Last Modified: 2012-05-06
Win2008:
Trying to delete some non-shared folders but getting the message:
"the action can't be completed because the folder is open in another program"

tried command prompt but no luck, installed 'unlocker' but that doesn't work on Win2008. Restart will fix yes but is there another way?
Ta
0
Comment
Question by:Pete
2 Comments
 
LVL 58

Accepted Solution

by:
tigermatt earned 1000 total points
ID: 24137385

The only way is to identify the process which has a lock on the file, and terminate that process. Unlocker is an ideal tool for using this, but unfortunately as you mention, it does not support Windows Server 2008.

Since the file is located on a server, it becomes much more difficult to locate the process locking the file, as it is possible it is being locked by a user accessing it via a share from another location.

A reboot is the only way to positively identify (and stop) the lock on the file 100% of the time.

-Matt
0
 
LVL 1

Author Comment

by:Pete
ID: 24139711
thanks mr tigermatt, i was kinda hoping you would recommend some process explorer software (and how to understand it's results!) but a complete answer all the same.
-pete
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question