Home > Windows Server Tips > > Unlocker freeware reveals processes that lock files
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Unlocker freeware reveals processes that lock files


Serdar Yegulalp, Contributor
05.09.2005
Rating: -4.46- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Locked files are a common problem for Windows users, and a frustrating one at that. You attempt to delete a file, only to be told: "in use by another person or program."

Sometimes to correct the condition you have to reboot the computer, and it may persist even after a reboot. The error message isn't very helpful, since it doesn't tell you which person or program has a lock on the file!

A new freeware utility called Unlocker helps get around this problem. When installed, it creates a right-click context menu in Explorer that provides a list of which processes are holding a lock on a particular file. Select the processes, click Unlock, and the locks are freed up. You're now free to move, delete or modify the file.

Unlocker differs from other utilities because it works by closing handles held for a particular file by a process. Other utilities only kill the host process that has a lock on a file -- and if the host process in question is Explorer or some other program that really should be left running, this isn't practical.

Unlocker can also unlock all locks on a particular drive or in a particular folder. Note: Use this function with extreme caution! (It would be bad to do this on your system drive, for instance). Mapped network drives are also supported.

For the most part, Unlocker works only with ordinary non-system files, such as documents. DLLs are not tracked through Unlocker, which is for the best since DLL associations with parent executables should not be tampered with in this fashion for the sake of system stability.

[IMAGE]
[IMAGE]The top 10 tips of 2005
[IMAGE]
[IMAGE]  Introduction
[IMAGE]  Tip #1: How to change the Windows XP Product Activation Key Code
[IMAGE]  Tip #2: Create a bootable USB flash drive -- in a flash!
[IMAGE]  Tip #3: Create a bootable Windows Server 2003 CD
[IMAGE]  Tip #4: 8 common causes for 'delayed write failed' errors
[IMAGE]  Tip #5: Ultimate boot CD packs in recovery, repair utilities
[IMAGE]  Tip #6: Install Windows Server 2003 ...

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Windows File Management
Using DFSR for SYSVOL replication in Windows Server 2008
Key DFS improvements in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Using NTFS on a non-Windows OS with NTFS-3G
File classification the automated way with Windows Server 2008 R2
Using DFS to create file system virtualization in Windows Server 2008
File server migration tips for Windows Server 2008
Windows Distributed File System (DFS) Tutorial
Planning a file server migration to Windows 2008
Windows Distributed File System (DFS) Namespace primer
Windows File Management Research

Windows Systems and Network Administration
Troubleshooting Windows application crashes or hangs
Converting VMware ESX machines to Hyper-V format
Using DFSR for SYSVOL replication in Windows Server 2008
Top 25 Windows PowerShell commands for administrators
Key DFS improvements in Windows Server 2008 R2
Free Windows security tools every admin must have
Group Policy makes strides in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Common causes of Windows server security vulnerabilities
Cutting the cost of Windows identity and access management

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
NTFS  (SearchWindowsServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


silently
[IMAGE]  Tip #7: Uninstall 'stubborn' programs
[IMAGE]  Tip #8: What to do when your hard drive fails
[IMAGE]  Tip #9: Windows XP and Windows Server 2003 volume shadow copy service
[IMAGE]  Tip #10: 'Unlocker' reveals processes that lock files


Serdar Yegulalp wrote for Windows Magazine from 1994 through 2001, covering a wide range of technology topics. He now uses his expertise in Windows NT, Windows 2000 and Windows XP as publisher of The Windows 2000 Power Users Newsletter and writes technology columns for TechTarget.

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts