Windows makes it annoyingly hard to actually wipe files and folders sometimes. It's not even that it's insisting on high permissions, it's that it's finicky and fiddly to apply the right permissions.
The main two commands to use for permissions are `takeown` to take ownership, and `icacls` to change the ACL specifics to allow you to actually delete things. I suppose maybe these are useful for other things but when I'm on Windows I'm generally slashing and burning . . .
```
lang=powershell, name=example recursive deletion
# Use takeown to recursively give ownership to a folder and its contents to the Adminstrators group
takeown /A /R /F ".\some\path"
# Then use icacls to recursively (via /T) grant the admin group full permissions
icacls ".\some\path" /grant Administrators:F /T
# First recursively delete everything //within// a folder, which insanely won't work even with the /R unless a "\*" wildcard declaration is used?! Like you'll literally get "folder is not empty" error which, c'mon guys
Remove-item -Recurse -Force ".\some\path\*"
# Okay now you can actually remove the folder itself, gods Windows is so fucking awkward
Remove-Item ".\some\path"
```