How to delete/modify user permissions for folder and subfolders/files using command line?
There is special Windows utility cacls. It allows to manage permissions on files and folders. Example: cacls E:\temp_directory /T /C /R "test_user"
This command delete all permissions for user "test_user" for folder "temp_directory",subfolders and files.