StoreEasy Storage
1753779 Members
7664 Online
108799 Solutions
New Discussion

How to modify Windows huge Share permission to read-only ?

 
louisji2008
Regular Advisor

How to modify Windows huge Share permission to read-only ?

We have migrate old NAS system to a new one, we need modify the permission of the old one to read-only.

There are hundred of share folders, so we need a command or script to do so.

The system is WIndows Server 2008.

Please give me a help, Thanks!


How time flies~~~
1 REPLY 1
PrashantS
HPE Pro

Re: How to modify Windows huge Share permission to read-only ?

Icals should be command to use here .

https://technet.microsoft.com/en-us/library/2009.07.geekofalltrades.aspx

Or

attrib +r /s

https://technet.microsoft.com/en-us/library/cc754186(v=ws.10).aspx

So file property will be set to readonly .

Some example also Where one guy did batch file to remove R attribe. you have to change it to +r

https://superuser.com/questions/653951/how-to-remove-read-only-attribute-recursively-on-windows-7

 

 

Prashant S.


I am a HPE Employee

Accept or Kudo