all folders on drive marked as "read only"; del requires admin rights

Page 1 of 2 12 LastLast

  1. Posts : 58
    Windows 10 Pro
       #1

    all folders on drive marked as "read only"; del requires admin rights


    I have a secondary hard drive that requires admin permission to delete files. Whenever I try to delete a file, I get a popup that says:

    "Are you sure you want to move this file to the Recycle Bin?"

    If I click "Yes", I get another popup that says:

    "You'll need to provide administrator permission to delete this file"

    If I click "Continue", the file is permanently deleted and doesn't go to the Recycle Bin; why?

    I noticed that all folders on this drive seem to have the "Read-only" property checked; if I uncheck it, then click Apply, the change appears to take but then if I click off that folder, then right click on it again and click "Properties", the "Read-only" property is set again.

    What's strange is I am able to create files in any of these "Read-only" folders without issue; it is only deleting them that gives the above behavior.

    Note this drive is protected with BitLocker; I suspect that might have something to do with it but have no idea what needs to change. The drive is setup to automatically decrypt when the PC is booted.

    The primary C: drive is also encrypted with BitLocker but does not exhibit the behavior described above. I am able to delete files without the "administrator permission" prompt (unless it's a path where admin rights are required to create the file/folder), and deleted files go to the recycle bin.

    This is running Windows 10 Version 21H1 (OS Build 19043.2130)
    Last edited by Citizen Snips; 13 Nov 2022 at 20:53.
      My Computer


  2. Posts : 989
    Microsoft Windows 10 Home
       #2

    Citizen Snips said:
    I have a secondary hard drive that requires admin permission to delete files. Whenever I try to delete a file, I get a popup that says:

    "Are you sure you want to move this file to the Recycle Bin?"

    If I click "Yes", I get another popup that says:

    "You'll need to provide administrator permission to delete this file"

    If I click "Continue", the file is permanently deleted and doesn't go to the Recycle Bin; why?

    I noticed that all folders on this drive seem to have the "Read-only" property checked; if I uncheck it, then click Apply, the change appears to take but then if I click off that folder, then right click on it again and click "Properties", the "Read-only" property is set again.

    What's strange is I am able to create files in any of these "Read-only" folders without issue; it is only deleting them that gives the above behavior.

    Note this drive is protected with BitLocker; I suspect that might have something to do with it but have no idea what needs to change. The drive is setup to automatically decrypt when the PC is booted.

    This is running Windows 10 Version 21H1 (OS Build 19043.2130)
    If you are looking at the General tab in the folder's Propertied dialog...DON'T!!!!

    It tells you nothing about the folder's ReadOnly atribute or the folder's Permissions/ACL

    all folders on drive marked as "read only"; del requires admin rights-read-only.png




    WIth that PSA out of the way, you do want to click the Security tab -> Advanced button, and examine permissions for the folder.

    all folders on drive marked as "read only"; del requires admin rights-screenshot-1206-.png
      My Computer


  3. Posts : 58
    Windows 10 Pro
    Thread Starter
       #3

    KeithM said:
    If you are looking at the General tab in the folder's Propertied dialog...DON'T!!!!

    It tells you nothing about the folder's ReadOnly atribute or the folder's Permissions/ACL

    all folders on drive marked as "read only"; del requires admin rights-read-only.png




    WIth that PSA out of the way, you do want to click the Security tab -> Advanced button, and examine permissions for the folder.

    all folders on drive marked as "read only"; del requires admin rights-screenshot-1206-.png
    Thanks for the tip, but when I look at that for a folder on my D drive that exhibits the behavior described in my prior post (admin permission required to delete files, plus files are permanently deleted rather than going to recycle bin) I don't see anything that would explain the behavior:

    all folders on drive marked as "read only"; del requires admin rights-tmp-folder-mod.jpg
      My Computer


  4. Posts : 14,022
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #4

    Check Properties of the Recycle Bin itself, some options that can be changed:

    all folders on drive marked as "read only"; del requires admin rights-recycle-bin.png
      My Computers


  5. Posts : 1,680
    X
       #5

    Citizen Snips said:
    I don't see anything that would explain the behavior:

    all folders on drive marked as "read only"; del requires admin rights-tmp-folder-mod.jpg
    The information is right there! You have "read/execute" permission on this folder. You probably want "full control" instead.

    When it asks you for admin rights to delete a file from this folder, you can see why. The administrator account has "full control".
      My Computer


  6. Posts : 16,955
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #6

    Citizen Snips said:
    I noticed that all folders on this drive seem to have the "Read-only" property checked; if I uncheck it, then click Apply, the change appears to take but then if I click off that folder, then right click on it again and click "Properties", the "Read-only" property is set again.
    That's a red herring.
    That checkbox shown in a folder's properties by File explorer is, to all intends & purposes, meaningless [and has been since Windows 7].
    It does not mean, for example, that the folder is read-only.
    Whatever the cause of your problem is, it lies elsewhere.


    If you want to stop those Admin prompts, I suggest you select this data drive in File explorer & right-click on it,
    Properties,
    Security tab,
    Advanced,
    [Check the owner is sensible - probably either yourself or 'Administrators' {plural}],
    Add,
    Principal - Authenticated users,
    Type - Allow,
    Applies to - This folder, subfolders, files,
    Basic permissions - Full control,
    OK.

    [Authenticated users are those who have a user account & have therefore logged in to the computer],

    See
    Change Owner of File, Folder, Drive, or Registry Key - TenForumsTutorials
    Change Permissions - TenForumsTutorials


    Denis
      My Computer


  7. Posts : 58
    Windows 10 Pro
    Thread Starter
       #7

    Berton said:
    Check Properties of the Recycle Bin itself, some options that can be changed:

    all folders on drive marked as "read only"; del requires admin rights-recycle-bin.png
    The maximum specified size of my recycle bin is much larger than its current contents, so I don't think that's the issue.

    Also the recycle bin is common to all drives, so that wouldn't explain why I only have this issue with the D: drive and not the C: drive.

    - - - Updated - - -

    margrave55 said:
    The information is right there! You have "read/execute" permission on this folder. You probably want "full control" instead.

    When it asks you for admin rights to delete a file from this folder, you can see why. The administrator account has "full control".
    I see what you're saying, but that still doesn't explain what's going on. If I open the same window for a folder on the C: drive, it says the same thing:

    all folders on drive marked as "read only"; del requires admin rights-tmp-folder-c-drive-mod.jpg

    Yet I am allowed to delete files/folders created in that folder without the administrator prompt and the deleted files/folders go to the recycle bin.

    Also doesn't the primary account on a Windows 10 machine have admin rights by default?
      My Computer


  8. Posts : 16,955
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #8

    Citizen Snips said:
    ... the recycle bin is common to all drives, so that wouldn't explain why I only have this issue with the D: drive and not the C: drive.
    Your recycle bin properties should show you all your drives and allow you to use different settings on each of them.

    Denis
      My Computer


  9. Posts : 16,955
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #9

    Citizen Snips said:
    ... doesn't the primary account on a Windows 10 machine have admin rights by default?
    The user account created during initial boot of Windows 10 ["OOBE"] is an Admin user account.
    Like any other Admin account you create, it is initially logged in with standard-user-level permissions and the UAC prompt is used to apply Admin permission to proceed for specific tasks. That's how Windows is designed.

    All the best,
    Denis
      My Computer


  10. Posts : 16,955
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #10

    Citizen Snips said:
    all folders on drive marked as "read only"; del requires admin rights-tmp-folder-c-drive-mod.jpg

    Yet I am allowed to delete files/folders created in that folder without the administrator prompt ...
    Yes. You have logged in to your computer and are therefore an Authenticated user who has Modify permission [which I believe includes Delete permission - I do not seem to have kept a link to any MS article that confirms this].

    Denis
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:40.
Find Us




Windows 10 Forums