Destination Folder Access Denied

Discussion in 'Windows 8' started by Mr.X, Sep 22, 2020.

  1. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    6,958
    14,633
    210
    #1 Mr.X, Sep 22, 2020
    Last edited: Sep 23, 2020
    On every darn ext drive I plug into my pc on W8.1?

    Either they are formatted NTFS, exFAT, FAT.

    What the hell?

    01.png


    This is a fresh windows installation. No updates just a sole Windows 8.1 with Update 3. After spending 3 days configuring I noticed this issue.

    What a disgrace.

    Note: I've done many Windows installations before as I'm a pc technician, that says it all, and never ever encounter this issue before... damn.
     
  2. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    5,195
    6,235
    180
    Hi Mr.X simple dude, for example if the drive have letter D: right click as administrator on it\properties\advanced there remove any suspect account, click change owner follow instructions apply; after click add new security entity follow same instructions above apply still remember too remove anything related to inherited objects ok (this is valid same for W10)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    6,958
    14,633
    210
    I know this procedure my friend and I know sometimes happen with a drive, but on any drive I insert?

    I mentioned above FAT and exFAT drives. They don't have security tabs.
     
  4. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    5,195
    6,235
    180
    #4 Tiger-1, Sep 23, 2020
    Last edited: Sep 23, 2020
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    4,082
    3,905
    150
    If FAT and exFAT drives show this, there's either a "removable drive" policy in effect, or a security software causes this.
     
  6. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    6,958
    14,633
    210
    I didn't set any policy that I'm aware. Security software is the same I've been using for years.

    Anyway I'm going to check that.
     
  7. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    6,958
    14,633
    210
    #7 Mr.X, Sep 23, 2020
    Last edited: Sep 24, 2020
    (OP)
    You were right.
    But something's wrong. As I said before, I didn't set any policy around usb sticks or drives yet when I went there I found the policy was set to Not configured:
    Default.png

    Then I set it to Disabled:
    Disabled.png

    And it worked!
    Holy sacred virtuoso all mighty cow!
    What's going on here?

    :eek:
    :p
    :D

    Never ever faced this before.


    Do you know where in the registry this change to gpolicy reflects?



    Edit:
    Reverted to Not Configured and it still working!!!
    Holy mother of God!
    What's going on.
    Looks like if the setting is stuck as Disabled and clicking over the other settings removes the rust.
    Roflmao.


    Stupid Windows and its mother M$ corporation of crime.
     
  8. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    4,082
    3,905
    150
    The problem with GPO is this: If something or someone sets a Policy through the Registry, its state is NOT correctly reflected in the GP Editor. In your case, the Policy in the Registry was set to enabled, but GPEdit was not aware of this. As you now manually toggled the state through the Editor, it is correctly shown and set.

    The Registry key corresponding to this Policies is:

    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices
    If at least one of these Policies is explicitly defined (Enabled or Disabled), the path holds the storage class IDs and subkeys. For example, the Policy mentioned by you has the following key and value on my system:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}]
    "Deny_Write"=dword:00000001
    
    

    Set to 0 for Disable, 1 to Enable. Delete for Not Configured. Setting it in the Registry will not show correct status in the Editor.
     
  9. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    6,958
    14,633
    210
    #9 Mr.X, Sep 24, 2020
    Last edited: Sep 24, 2020
    (OP)
    Found my recent formatted system comes like this:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}]
    "Deny_Execute"=dword:00000001
    "Deny_Write"=dword:00000001
    

    The other system (another PC) similar to this cause I set both computers alike as close as possible comes like this:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
    
    See? No policy set by any of my security software.
    Again both machines are pretty much alike if not the same.


    I want to know why or what set that policy without notice or warning or whatever for me to be aware...
     
  10. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    6,958
    14,633
    210
    Alright, removing the subkey \RemovableStorageDevices\{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
    And unplugging-replugging all ext drives did the trick.

    I'll never know what wrote those keys into registry...

    Thanks @Carlos Detweiller