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

Dany· Answered on Mar 10, 2023

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 Recover Crashed Excel Files or Restore Its Previous Version

This post includes complete solutions to help you perform Microsoft Excel file recovery. If you accidentally deleted Excel files, lost an unsaved Excel file, or Microsoft Excel 2016 crashed on saving or opening files, relax. Follow the fixes here to restore your lost Excel files with ease now.

Dany

Mar 10, 2023

Fix Micro SD Card Cannot Delete Photos

You may encounter this problem due to many reasons. Don't worry! We are here to help you fix your Micro SD card' issue and let you delete the photos on the PC as usual. Keep reading to learn the methods!

Dany

Feb 22, 2023

Hard Drive Says It's Full but Can't Find Large Files

Some reasons may cause the hard drive suddenly be full. We will list some reasons and tell you how to fix this problem. If you deleted something important accidentally, you could recover them with EaseUS Data Recovery Wizard.

Dany

Mar 09, 2023

How to Delete Files and Folders with Exclusion Circumstances

Do you want to learn how to remove a file with an exclusion circumstance using PowerShell? Don't panic because this answer will show you how to delete numerous files with the Remove-item cmdlet and delete files that do not match the criteria.

Dany

Mar 10, 2023

What Is the Use of Shift Delete on Windows

We know many shortcuts can be used on Windows, and we are going to introduce the use of Shift + Delete on Windows. We will also let you know when and why you need to use this shortcut on Windows in this passage.

Dany

Mar 09, 2023

Files with Spaces on the End, How to Delete

Here's how to force delete files that won't remove on your Mac: Securely empty the Trash using Terminal and third-party file deletion applications. This post might assist you if you are looking for a solution to remove files with spaces on the Mac that would not delete.

Dany

Apr 26, 2023