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 Apr 16, 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 Recover Deleted File from WinSCP

You may find the ultimate solution here if you have lost or unintentionally deleted files from WinSCP. Read this post and use EaseUS Data Recovery Wizard to recover deleted file from WinSCP.

Finley

Mar 25, 2024

How to Delete All Files That Do Not Match Criteria

Do you want to learn how to remove a file using a script? Don't worry because this post will show you how to delete numerous files with the Remove-item cmdlet and how to delete files that do not match the criteria.

Jaden

Apr 16, 2024

How to Recover Deleted Adobe Premiere Files on Windows

This article offers two methods to recover deleted Adobe Premiere files on Windows, one with software and one without. If you have the same problem, you can find the solutions to fix the issue.

Daisy

Apr 29, 2024

How to Create A Batch File to Delete Files Older Than N Days

You may save space and keep things ordered by removing files in any folder that are more than a certain number of days old. If you have a lot of files in several directories and wish to clean them up by removing those that are older than a certain number of days, you can use the ForFiles command.

Jaden

Apr 19, 2024

How to Recover Deleted Folders from Emptied Trash on Mac

We'll go over the five options for recovering lost Mac folders. On a Mac, you can restore deleted folders using software, Time Machine, Trash, Terminal, and a cloud service. Recovering folders is simple if you know the five techniques.

Jaden

Apr 16, 2024

Recover ExFat External Drive Missing Files on macOS

Are you looking for the best solution to recover your ExFat external drive missing files on macOS? You can always retrieve your precious data with the help of EaseUS Data Recovery Wizard for Mac.

Finley

Apr 16, 2024