Need a script to change NTFS permissions on a local folder
Posted on 2006-11-03
Need a script to change NTFS permissions on a local folder (c:\program files\[the application]) to allow Domain Users full control. See, I need to give my users full control to an application directory or the application won't run.
So, I'm thinking that it would be easy to run a login script changing the folder's permissions. Obviously, I need all child directories and files to get the parent folder permissions too.
Alternatively, it would be really cool to know how to make a script run as Administrator even though it was executed by a user. Like, I could have a script.bat and e-mail it to a user. Then the user could run it, but the script would run as Administrator with full permissions/privileges.