Link to home
Start Free TrialLog in
Avatar of dgore1
dgore1

asked on

Setting NTFS folder permissions using a script

I need a script or method to provide modify permissions to the local NT USERS group for a folder called: c:\program files\test.  Any assistance is greatly appreciated!
SOLUTION
Avatar of Kimputer
Kimputer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dgore1
dgore1

ASKER

I should have also indicated the following:

We are in a Server 2008 R2 64bit world with Windows 7 enterprise clients throughout...about 14K clients....Not only do we wish to change that permission, but use the script via SCCM to do all 14K workstations.....not sure if the commands above will work in SCCM where we know VBSCRIPT does...
It will work, since it's still a Vbscript, calling an INTERNAL Windows command (cacls works from aby plain installed Win7)
Avatar of dgore1

ASKER

I'll give it a try today!
Avatar of dgore1

ASKER

Aren't you supposed to use iCalcs with Windows 7.
Avatar of dgore1

ASKER

Just so you know, it failed on the Windows 7 workstations using calcs.
On Win7 you should be able to use both. However, I'm pretty sure it's not the cacls or the icacls problem.
If you just execute the vbscript as an admin on a random workstation, read the error from the screen. It's probably some a syntax error from the commands you typed in, not a vbscript or cacls/icacls error.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dgore1

ASKER

The comment included the actual script to perform the desired request.  The first comment at least pointed me in the right direction.