Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: ICACLS "Read-only" commands are NOT working

15 Oct 2017   #1

Windows 7 ultimate 64bit
ICACLS "Read-only" commands are NOT working

Hi everyone,
I am the administrator in my pc, and there are some other users. I set a folder (Rasu) as "Read only" for a specific user (Hary), using ICACLS in command prompt in Windows 7. The folder has some ".txt" files. I used the following command --
C:\Windows\system32\ICACLS "C:\Work\Topics\Rasu" /grant:r "Hary":(OI)(CI)R /T
This command ran successfully in the command prompt. But the files in the folder can still be modified (i can change the text and can save as well. I can rename as well. I can even delete the folder and the files in it).

I also tried the following command:-
C:\Windows\system32\Icacls "C:\Work\Topics\Rasu" /deny "Hary": (CI)(OI)(W,D)  /Grant:r "Hary":(CI)(OI)R /T
In the above command, I denied "write" and "delete" for Hary, and gave Hary "Read-only" permission. This command ran successfully, but the files in "Rasu" folder are still modifiable !

I don't know why the commands are NOT setting the "read-only" permission. Please help! Thanks..

My System SpecsSystem Spec

 ICACLS "Read-only" commands are NOT working

Thread Tools

Similar help and support threads
Thread Forum
Another cure for "Open File - Security Warning" Prompt Blues : ICACLS
I've been plagued with shortcuts that seem hellbent on making me want to turn off security settings in Windows 7 that are better left on. Does this sound woefully familiar? Well - here is THE CORRECT WAY (especially if the elusive "Unlock" option never presents itself - I certainly have...
System Security
Install windows stuck on "setup is starting", cmd won't use commands
After following the tutorials on the site to get windows on a flash drive or dvd, i used that to run the installer. sadly, after you hit "start to install" it goes into a seemingly infinite setup is starting cycle where ultimately nothing happens. any solutions would be appreciated also, i read...
Installation & Setup
Hard Disk can't read in "my computer ", "initialized",I/O device error
I have a big problem here, I have used my hard disk for 9month, Yesterday when I watched movie on the half way, My hard disk suddenly disfuntion, And I thought my laptop problem due to always lagging so I restart my computer. But after that I can't read my hard disk (WD)in my computer. It can...
Hardware & Devices
Google "More" and "Search Tools" buttons no longer working...
Sometime over the last few weeks Google's "More" drop-down and its "Search Tools" menu items have quit working in IE10. The other buttons that let you select web, images, shopping, etc. still work properly. The "More" and "Search Tools" buttons get focus when the mouse is over them and they...
Browsers & Mail
List of recently typed commands in the "Run" box?
In Windows XP, when I clicked "Run" on the Start Menu, opening up a box to type commands into, I would also see a list of recently typed commands, that I could choose from. I found this handy, as one often uses the same command more than once, and then one does not need to type it again. That...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:53.
Twitter Facebook Google+