Kingskawn Posted December 15, 2010 Report post Posted December 15, 2010 I want to give access to a folder on the C drive when task sequence is finished. How can I do this? Quote Share this post Link to post Share on other sites More sharing options...
0 wmmayms Posted December 15, 2010 Report post Posted December 15, 2010 Use this tool: http://sourceforge.net/projects/setacl/files/ Quote Share this post Link to post Share on other sites More sharing options...
0 wmmayms Posted December 15, 2010 Report post Posted December 15, 2010 Use this tool: http://sourceforge.n...s/setacl/files/ Here is some examples on how to use it: http://helgeklein.com/setacl/examples/managing-file-system-permissions-with-setacl-exe/ Quote Share this post Link to post Share on other sites More sharing options...
0 anyweb Posted December 15, 2010 Report post Posted December 15, 2010 or... md c:\somedir net share someshare=c:\somedir /UNLIMITED /REMARK:"someshare" /GRANT:Everyone,FULL cacls c:\someshare /E /T /C /G "%USERDNSDOMAIN%\Administrators:f Quote Share this post Link to post Share on other sites More sharing options...
0 Kingskawn Posted December 15, 2010 Report post Posted December 15, 2010 or... md c:\somedir net share someshare=c:\somedir /UNLIMITED /REMARK:"someshare" /GRANT:Everyone,FULL cacls c:\someshare /E /T /C /G "%USERDNSDOMAIN%\Administrators:f The folder already exists. 2 folders on C:\program files\folder1 and C:\program files\folder2 so I imagine I just need: set_disk_rights.bat cacls %programfiles%\folder1 /E /T /C /G "DOMAIN\Domain Users:fcacls %programfiles%\folder2 /E /T /C /G "DOMAIN\Domain Users:f And I need to execute this batch as the domain administrator I also imagine Quote Share this post Link to post Share on other sites More sharing options...
0 Kingskawn Posted December 16, 2010 Report post Posted December 16, 2010 Just for the info I resolved this by using a file called fileacl.exe and the following batch fileacl.exe %programfiles%\folder1 /S users:RWXD:FSFFfileacl.exe %programdata%\folder2 /S users:RWXD:FSFF Quote Share this post Link to post Share on other sites More sharing options...
I want to give access to a folder on the C drive when task sequence is finished.
How can I do this?
Share this post
Link to post
Share on other sites