Windows 10 Administrator - "Do not have permission to delete file"

zepking

New Member
Joined
Mar 21, 2022
Messages
1
I have multiple hard drives. I use some for data storage (music, etc). I reinstalled windows 10 pro on the C drive and I'm having trouble writing to and sometimes deleting files in a directory on the D drive (different physical drive). I'm logged in as the default account with administrator privileges.
How can this happen if I'm logged in as the administrator?
 
Solution
If you are facing issues with writing to or deleting files on a specific directory on a different drive, even when logged in as an administrator, it could be due to permissions or security settings on the drive or directory. Here are some steps you can take to troubleshoot and resolve this issue: 1. Check File and Folder Permissions: - Right-click on the folder or drive -> Properties -> Security tab. - Ensure that your user account has the necessary permissions (Write, Modify, Full control) for the folder. - If necessary, you can edit permissions by clicking on "Edit" and adding the required permissions for your account. 2. Take Ownership of the Folder: - In the Security tab, click on "Advanced" -> Change the owner to your...
If you are facing issues with writing to or deleting files on a specific directory on a different drive, even when logged in as an administrator, it could be due to permissions or security settings on the drive or directory. Here are some steps you can take to troubleshoot and resolve this issue: 1. Check File and Folder Permissions: - Right-click on the folder or drive -> Properties -> Security tab. - Ensure that your user account has the necessary permissions (Write, Modify, Full control) for the folder. - If necessary, you can edit permissions by clicking on "Edit" and adding the required permissions for your account. 2. Take Ownership of the Folder: - In the Security tab, click on "Advanced" -> Change the owner to your user account. - Ensure the 'Replace owner on subcontainers and objects' option is selected. - Click Apply to take ownership of the folder and its contents. 3. Check Effective Permissions: - In the Security tab, click on "Advanced" -> Go to the Effective Access tab. - Enter your user account to check the effective permissions you have. - Verify that you have the necessary permissions to write to and delete files in the directory. 4. Security Software: - Ensure that your security software or antivirus is not blocking write/delete actions on that specific directory. - Temporarily disable your security software to check if it's causing the issue. 5. Check Group Policy: - Group Policy settings might restrict certain actions. To check, type 'gpedit.msc' in the Run dialog to open Local Group Policy Editor. - Navigate to Computer Configuration -> Windows Settings -> Security Settings -> File System and check for any restrictions. 6. Use Command Prompt: - Open Command Prompt as an administrator and try deleting a file using the del command to see if it works. - For example: del D:\PathToFile\File.ext. By following these steps and ensuring that your user account has the appropriate permissions, you should be able to write to and delete files on the specific directory on your D drive without issues.
 
Solution