Folder Access Denied (Windows 11)


Method

Member
VIP
Local time
7:33 PM
Posts
72
OS
Windows 11 Pro
Hi

I can happily create and delete folders on my C: (Windows 11 install drive) and my D: (data drive).

However I was just about to create a folder on my D: for Game recordings (which will by high bandwidth recordings from OBS) when I saw the folder below. I think it was created by my SHURE microphone when I installed it but I cant be sure. I dont recall ever creating it. But Im a useless human with a fallible memory.

It contains one subfolder called audio (which is why I think my SHURE mic created it) and in that folder were some test mic level recordings I remember making when I set up the mic.

I dont need any of this data at all. I dont want the Test folder, its parent the Audio folder or its parent the AV folder. When I try to delete it I get the below message from Windows 11.

Screenshot 2025-07-03 192228.webp

If I click continue it starts to look like its deleting stuff and then it says 'you need permission to perform this action'. You require permission from TARS\Endurance to make changes to this folder.

TARS is my computer name
Endurance is my user login

When I set up this PC at Christmas, I followed the Elevenforum clean install process (it worked perfectly and wonderfully) and I dont have a microsoft account Im using a local.

Whilst I would love a solution to this (and Im sure this forum will give me one), I really want to understand more about how this may have happened.
When I install programmes and get the UAC prompt I can just click OK, I dont need to give admin details as I already thought my account was admin.

Many thanks!
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
You can use the batch script add Take Ownership context menu which you can use it to get full permission on folder/file.

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
We would need to see the permissions on the folder to give a definitive answer, but this generally comes down to permissions.

For example, this can easily happen if you have UAC enabled, and the permissions are set such that Administrators have Full Control and Users have read-only permission. Actually, it comes down to whether users have delete permission in that case. So to delete that folder without "permission from the admin," the Users group would need either delete rights, or modify rights, which includes delete. This is because, even though you are logged in with an admin account, your admin token is basically filtered out until you explicitly activate it with UAC.

When an application makes a folder, it can set permissions basically how it wants to, so again, a clear answer would require us seeing the permissions and knowing how your UAC is set.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 [rev. 4652]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
We would need to see the permissions on the folder to give a definitive answer, but this generally comes down to permissions.

For example, this can easily happen if you have UAC enabled, and the permissions are set such that Administrators have Full Control and Users have read-only permission. Actually, it comes down to whether users have delete permission in that case. So to delete that folder without "permission from the admin," the Users group would need either delete rights, or modify rights, which includes delete. This is because, even though you are logged in with an admin account, your admin token is basically filtered out until you explicitly activate it with UAC.

When an application makes a folder, it can set permissions basically how it wants to, so again, a clear answer would require us seeing the permissions and knowing how your UAC is set.
Thank you for the reply. Ive taken a bunch of screenshots. Hopefully the correct ones to help you see whats happening. Let me know if there is a specific one you want I didnt do.

Screenshot 2025-07-05 142154.webp

Screenshot 2025-07-05 142307.webp

Screenshot 2025-07-05 142417.webp

Screenshot 2025-07-05 142444.webp

Screenshot 2025-07-05 142500.webp

Screenshot 2025-07-05 142511.webp
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
If you have software installed that relies on these folders then it may fail.
 

My Computer

System One

  • OS
    WIN 11 Pro 24H2 - 26100.3323
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel XEON E5-2699 v3
    Motherboard
    ASUS X99-A
    Memory
    64GB Teamgroup UD4-3600
    Graphics Card(s)
    NVIDIA GeForce GTX 1080 Ti
    Sound Card
    Integrated
    Monitor(s) Displays
    ACER X34 Predator
    Screen Resolution
    3440 x 1440
    Hard Drives
    Crucial CT1000P 3P SSD8 1TB
    Crucial CT1000 BX500 SSD 1TB
    PSU
    GameMax Pro
    Case
    Fractal Design
    Cooling
    Corsair H110iGT + 6 140mm Fans
    Keyboard
    Corsair K4
    Mouse
    G-Skill G502
    Internet Speed
    50MBs
    Browser
    Chrome
    Antivirus
    OEM
That actually looks right. Authenticated Users should give you permission to delete. Unless something underneath that folder has permissions that differ from the AV folder.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 [rev. 4652]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
Let me know if there is a specific one you want I didnt do.

And your UAC settings are?


a clear answer would require us seeing the permissions and knowing how your UAC is set.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5624
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
That actually looks right. Authenticated Users should give you permission to delete. Unless something underneath that folder has permissions that differ from the AV folder.

I checked the Audio subfolder and the Test subfolder of that folder and the permissions are all identical to those I posted above.

And your UAC settings are?
Screenshot 2025-07-05 145634.webp
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
I checked the Audio subfolder and the Test subfolder of that folder and the permissions are all identical to those I posted above.
It can be anything under that folder you're trying to delete. I created a test folder with some folders and files in it, set the permissions exactly like your top level folder, and I was able to delete it without a prompt. I restored it, and changed the permissions on a single file, only taking away delete permissions for Authenticated Users on that one file. That was enough to trigger the permissions prompt.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 [rev. 4652]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
Ive taken a bunch of screenshots.

capture_07052025_202314.webp

Taking a screenshot of Advanced Special Permissions would be more helpful.
The fact, that they are grayed out suggests, that they are inherited. Try this:
Code:
takeown /s %computername% /u %username% /f "D:\AV" /r /d y
icacls "D:\AV" /inheritance:r
icacls "D:\AV" /inheritance:e /grant:r %username%:(OI)(CI)F /t /l /q /c
DENY and Inheritance override any ALLOW rules.
 

My Computer

System One

  • OS
    Windows 11 Home Insider Canary
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 8600G (07/24)
    Motherboard
    ASROCK B650M-HDV/M.2 3.25 (07/24)
    Memory
    2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL40 (07/24)
    Graphics Card(s)
    ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
    Sound Card
    Creative Sound BlasterX AE-5 Plus (05/24)
    Monitor(s) Displays
    24" Philips 24M1N3200ZS/00 (05/24)
    Screen Resolution
    1920×1080@165Hz via DP1.4
    Hard Drives
    Kingston KC3000 NVMe 2TB (05/24)
    ADATA XPG GAMMIX S11 Pro 512GB (07/19)
    PSU
    Seasonic Core GM 550 Gold (04/24)
    Case
    Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
    Cooling
    Noctua NH-U12S with Noctua NF-P12 (04/24)
    Keyboard
    HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
    Mouse
    Logitech M330 Silent Plus (04/23)
    Internet Speed
    500/100 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge & Brave for YouTube & LibreWolf for FB
    Antivirus
    NextDNS blocking 95% TLDs
    Other Info
    Backup: Hasleo Backup Suite (PreOS)
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
    Chair: Huzaro Force 4.4 Grey Mesh (05/24)
    Notifier: Xiaomi Mi Band 9 Milanese (10/24)
    2nd Monitor: AOC G2460VQ6 @75Hz (02/19)
View attachment 138527

Taking a screenshot of Advanced Special Permissions would be more helpful.
The fact, that they are grayed out suggests, that they are inherited. Try this:
Code:
takeown /s %computername% /u %username% /f "D:\AV" /r /d y
icacls "D:\AV" /inheritance:r
icacls "D:\AV" /inheritance:e /grant:r %username%:(OI)(CI)F /t /l /q /c
DENY and Inheritance override any ALLOW rules.

Again, thank you.

Screens you asked for (I havent yet tried the above code as I honestly dont understand it!)

Each screen goes down 1 layer from AV folder > Audio folder > Test folder > MyActivity folders > .wav file inside

Screenshot 2025-07-05 235611.webp
Screenshot 2025-07-05 235756.webp
Screenshot 2025-07-05 235839.webp
Screenshot 2025-07-05 235945.webp
Screenshot 2025-07-06 000048.webp
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
(I havent yet tried the above code as I honestly dont understand it!)


Open Elevated Command Prompt — Search for `cmd` in the Start menu
• Right-click and choose “Run as administrator”

Paste the following from @TairikuOkami into the command window and press enter

Code:
takeown /s %computername% /u %username% /f "D:\AV" /r /d y
icacls "D:\AV" /inheritance:r
icacls "D:\AV" /inheritance:e /grant:r %username%:(OI)(CI)F /t /l /q /c

• `takeown`: Claims ownership of `D:\AV` recursively as the current user.
• `icacls` line 1: Removes inherited permissions.
• `icacls` line 2: Re-enables inheritance and grants full control explicitly to the user, recursively and quietly.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5624
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
You may want to take a look at this tutorial. It may or may not be of use to you.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build 22631.5624
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    1000/400Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Back
Top Bottom