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 Jan 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 Delete Batch Files of a Folder but Not Subfolders

It is possible to delete files in a folder and keep the subfolders, and you need to use command lines in Command Prompt. Learn the details by reading the following passage.

Dany

Jan 09, 2023

Delete a File After It Is Processed with Command Lines

When the files are used by an application, they cannot be deleted. We will show you the command lines to delete a file after it is processed and tell you how to delete a file in use.

Dany

Jan 09, 2023

How to Delete Files from Archive by Text File

Renaming a file within a zip bundle is similar. Even in these circumstances, you can extract everything before zipping it back into a new file or overwriting the old one. So, keep reading this post to acquire the 2023 guide.

Dany

Jan 05, 2023

How to Recover Deleted Files from SD Card Using Chrome OS

SD cards are widely used due to their high data transfer speed and hot-swappable features, although various data loss issues plague them. Don't panic if you accidentally delete files from your SD card; different recovery methods and SD recovery software can help you retrieve deleted files from your SD card.

Dany

Dec 29, 2022

How to Delete Files Older Than X Days in Folders and Subfolders

Are you tired of useless files on your computer yet eating up space? Then use this simple approach to delete files older than x days using File Explorer, CMD, and PowerShell. We can also assist you in recovering accidentally lost files on Windows 11/10.

Dany

Jan 09, 2023

How to Delete Files Across a Domain Remotely

You can configure a shortcut item to solve this problem. Using the Shortcut preference settings, you can configure a shortcut to a file system object. Before you build a Shortcut preference item, you should examine the behavior of each sort of action that this extension supports.

Dany

Jan 05, 2023