Hi Fellows!
Have you ever experienced no permission to access a directory, which is very impotent to you when you are the only administrator account?
Message like this,
Then this message,
When you go to security tab, still not allows to changing the permission of that particular directory.
Here is solution, you can change NTFS file and folder permissions using magic command called "icacls".
Step1:
Open command prompt and type following command to see the permissions list (discretionary access control lists - DACLs)
icacls [folder or filepath]
or
icacls [folderpath] *
Step2:
To remove all inherit user permissions enter:
icacls [folder or filepath] /inheritance:r
Step3:
To allow permissions to user, enter following both commands :
icacls [folder or filepath] /grant administrators:(CI)(OI)F
icacls [folder or filepath]> /grant users:(CI)(OI)R
Step4:
Now you should be able to change the directory permission. Furthermore, if you want to remove all inherit user permissions of files in particular directory use following command.
icacls [folder or filepath]\* /inheritance:r
Let me know how it went . . Cheers !!
3 comments:
This solution only works if you are logged in as an administrator. Or you have the privilege to change w/r permission on a file. Other wise it don't works
January 26, 2013 at 11:17 AMThat is true. We use ICACLS command to assign the Administrators group Full Control Permissions for the file. In order to do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator.
January 26, 2013 at 3:59 PMThe most cost of titanium on Planet X (cost of titanium, price, chart)
March 5, 2022 at 8:08 AMBut the most expensive for cobalt vs titanium drill bits the Planet X. iron titanium The price of titanium is in $14,99. titanium pan Compare prices on the planet X and the titanium knee replacement planet X in Price, titanium straightener with a comparison
Post a Comment