![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Script to give user modify permission We are running Windows XP and I am looking for a script that gives the "users" group modify permission on a folder on C:\Program Files\ I checked the web but could not seem to find one. Can anyone offer some suggestions? thanks. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Script to give user modify permission "wli2k2" <wli2k2@xxxxxx> wrote in message news:4123E00A-6837-44A2-B186-0EF33B136E9D@xxxxxx Quote: > We are running Windows XP and I am looking for a script that gives the > "users" group modify permission on a folder on C:\Program Files\ > > I checked the web but could not seem to find one. Can anyone offer some > suggestions? syntax to ask 'cacls.exe' to do it for you would be: cacls.exe "c:\program files" /T /E /G "Users:C" Are you wanting to do this to a bunch of computers? If so, please advise the source of your list. Do you want to get it from Active Directory, a text file or walk an IP range looking for computers? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Script to give user modify permission Basically, I am using SMS to deploy a software to 30 PCs. This software installs on C:\Program Files\software folder. In order for users to use this software, I need to give the local "users" group (ex. PCNAME\Users) "modify" permission. So the syntax would be like this (?): cacls.exe "c:\program files\software" /T /E /G "Users:C" "James Whitlow" wrote: Quote: > "wli2k2" <wli2k2@xxxxxx> wrote in message > news:4123E00A-6837-44A2-B186-0EF33B136E9D@xxxxxx Quote: > > We are running Windows XP and I am looking for a script that gives the > > "users" group modify permission on a folder on C:\Program Files\ > > > > I checked the web but could not seem to find one. Can anyone offer some > > suggestions? > I personally think a good option would be to script 'cacls.exe'. The > syntax to ask 'cacls.exe' to do it for you would be: > > cacls.exe "c:\program files" /T /E /G "Users:C" > > Are you wanting to do this to a bunch of computers? If so, please advise > the source of your list. Do you want to get it from Active Directory, a text > file or walk an IP range looking for computers? > > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Script to give user modify permission "wli2k2" <wli2k2@xxxxxx> wrote in message news:0C4DFA03-15C0-4945-A61F-BB7A75466A2C@xxxxxx Quote: > Basically, I am using SMS to deploy a software to 30 PCs. This software > installs on C:\Program Files\software folder. > > In order for users to use this software, I need to give the local "users" > group (ex. PCNAME\Users) "modify" permission. > > So the syntax would be like this (?): > > cacls.exe "c:\program files\software" /T /E /G "Users:C" be wrapped in quotes, but it is a good practice since "Power Users" would need to be wrapped. I think you can have SMS issue the command. This should run it with enough privileges to edit the ACL. You might be able to incorporate it into your software install job. I have very limited knowledge of SMS, so I am not sure how to do this. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How to give file sharing permission to a specific user over lan?? | Network & Sharing | |||
| modify a account with a vbs script | Vista mail | |||
| How do you give permission to view folder contents for users on a networked computer | Vista networking & sharing | |||
| Modify NTFS Permission with script like Xcalcs.vbs ...... | Vista networking & sharing | |||
| Modify Multiple files' NTFS permission | Vista General | |||