June 19, 200620 yr Okey, this is a hard one. I've been googeling for hours now, with no solution.Through my guide on partitioning RIS (http://www.websikkerhet.com/ris-partitioning.html?⊂=85), I've created a secondary partition. However, that partition does not set any rights for "everyone", or "authenticated users". So, domain users cannot access the drive.Any idea how I can script premissions, like;Everyone, Read & WriteThanks!/Preben
June 19, 200620 yr Author yeah I know .., but I'm not able to make it work by setting the user "everyone" with full rights. Do you have any examples ?
June 20, 200620 yr cacls C:\folder\subfolder /t /e /g "everyone":fwould give "everyone" full permission to the subfolder.Make sure you enclose user groups that contain spaces (i.e domain users) in " " at the end of the command.If you want, you can also team this up with the "net share" command and create a share prior to implementing permissions. I use this to share a program installation folder:net share Apps=d:\programs\apps /grant:Everyone,fullfollowed by the cacls command:cacls d:\programs\apps /t /e /g "domain users":fNote, the net share command above is 2003 specific. If you do not use the /grant:everyone,full it will default the share to read only. This does not happen in windows XP. Edited June 20, 200620 yr by brainstane
Create an account or sign in to comment