Give Read Only permission to drive, but give R/W permission to Folder inside | Powershell

Job ID: 35539822

Budget: ₹1,500 – ₹12,500 INR

I have a drive "D" on Windows 10
I usually restrict this drive using below registry tweak

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
NoViewOnDrive =8

What it does is it restrict the drive completely from Users and users cant access or save something on this drive.

Now, I want to enable one folder inside this drive where users have access. Where they can save files. May be you need to use some permission settings in order to achieve this.

Maybe this will help - https://ss64.com/ps/set-acl.html
Related categories: Windows Desktop Windows 8 Powershell