Can't Delete PDF Files from A Shared Folder, What Can I Do

My PC's OS is Windows server 2012 R2, and I'm having trouble deleting and renaming PDF files! The permissions are not a problem because I can't remove the file even when logged in as the Network Administrator of the Domain on a workstation (not the actual server). But I'm getting the following error message: xxxx.pdf cannot be deleted. What can I do?

Best Answered by

Jaden· Answered on Jan 04, 2024

Before you take action to delete the undeletable PDF files, you can try the quick solution of deleting files that cannot be deleted, including the PDF files on a Windows PC:

  • Administration Tools - Share and Storage Management
  • Click the share with PDFs button.
  • Select Manage Open Files from the drop-down menu.
  • Any open files should be closed.

We can't tell from the description if you have any specific groups set up for the users of this share. We would also avoid using the "Everyone" group because it opens the sharing to non-domain users. The permissions and steps listed below are what you'll need to get the permissions in order. However, we would advocate creating a security group that only includes individuals who need access to the share rather than Domain Users.

If you still can't delete the PDF files you want to remove, you may need to change access at a minimum. Here are the permissions on NTFS:

  • To delete files, users will need at least "Modify" rights.
  • It would be best if you did not give users "Full Control," which means they can modify file ownership and permissions, which could lead to problems with PDF file deletion.

Then, log in as a Domain Admin account to the server with the share. Select properties by right-clicking the sharing folder. Navigate to the Security tab. Select the Advanced option. Navigate to the Owner Tab. Select the Edit option. Choose "Administrators" as the owner, then "Replace owners on sub containers and objects," and OK... This could take seconds to minutes, depending on how many folders and files there are. If your Windows is slow to delete files, recheck the permissions.

If you wish to delete a file, select it permanently. Then, instead of utilizing the Delete option, use Shift+Delete to delete permanently. Unless you employ expert data recovery software, the lost files will bypass the recycle bin and cannot be recovered. EaseUS Data Recovery Wizard can be the best choice to recover permanently deleted files.

Use EaseUS Data Recovery Wizard to recover deleted or lost files easily and quickly.

Tutorials on how to recover lost, deleted, or formatted data from HDD, SSD, USB, SD card, or other storage media on Windows and Mac.

People Also Ask

How to Fix 'Can't Delete a File on Windows Server' Issue

It will sometimes happen that you cannot access or delete a specific file suddenly. We think the methods below will help you get out of this situation, and you can have a try.

Dany

Jan 04, 2024

Recover Deleted DLL Files and Fix DLL Not Found & Missing Error

Accidentally delete a DLL file, or are you having DLL files Not Found & Missing errors in your PC? Relax! Here in this article, you will find effective methods to restore deleted or lost DLL files and fix DLL Not Found & Missing errors effectively.

Jaden

Jan 04, 2024

What Are Prefetch Files, and Is It Safe to Delete Prefetch Files

Is it safe to delete prefetch files on a Windows PC? This article will tell you the answer. And if you want to recover the permanently deleted files on your Windows PC, keep reading.

Brithny

Jan 04, 2024

How to Fix Folder Appearing in Trash across Multiple Macs

This post will tell you how to fix folder appearing in Trash across multiple Macs when you are in need. You can use the EaseUS Data Recovery Wizard for Mac for help.

Finley

Jan 04, 2024

The File Replication Service May Delete Files, What Can I Do

The DFS file replication may delete files; thus, you can refer to this post to learn how to avoid the circumstance by correctly using the command lines and Windows PC server. And after unintentional deletion, you can recover them with the help of the EaseUS Data Recovery Wizard.

Jaden

Jan 04, 2024

How to Delete a File/Folder at Logon [GPO Script Settings]

It is not a good thing that agents and supervisors can check some sensitive information. We will help you use the logon/logoff script to solve the issue in this passage.

Dany

Jan 04, 2024