Categories Networking

How To Delete System Blocked Files

You will get the following error messages when you try to delete a file/folder which is being blocked by the System or Application Processes running in the Task manager:

  • Access Is Denied
  • Sharing Violation Error
  • File/Folder is being used by applications. Please close the application and then try again.

Solution:

You need to kill the handle. To kill the handle, use Process Explorer from Sysinternals (at URL: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx)

How to delete the handle:

  • Run Process Explorer
  • Go to Find menu > Enter File/Folder name and then click on Search. You will see a list of processes blocking the file/folder.
  • Right click on the process and then click on Close Handle > Click Ok for confirmation.

Now you can successfully delete the file.

Nirmal Sharma

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites.

Share
Published by
Nirmal Sharma

Recent Posts

Remove virtual machines and virtual hard disks completely with PowerShell

Deleting virtual machines is easy, but if you don’t also remove virtual hard disks, you…

14 hours ago

Secure your WordPress website: Simple steps to stay safe

Many small businesses use WordPress to build their website. And while WordPress has many options…

19 hours ago

Qumulo raises $125M for cloud data management across a hybrid setup

Qumulo is an up-and-coming data management solution focusing on managing files in a hybrid setup.…

4 days ago

Why SMBs need a standalone solution for Windows 10 patch management

Is patch management for the Windows PCs at your business driving you crazy? Maybe there's…

4 days ago

Microsoft Teams guest access: How to enable and manage it

As an IT admin, you can allow guest access to some of your Microsoft 365…

5 days ago

Samsung Galaxy Unpacked 2020: Everything you need to know

Samsung rolled out the all-new Galaxy Z Fold 2, Note 20, Note 20 Ultra handsets…

5 days ago