Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Delete a folder that's inuse

Posted on 2009-04-14
2
Medium Priority
?
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

670 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