Link to home
Start Free TrialLog in
Avatar of Jose Rivera-Hernandez
Jose Rivera-HernandezFlag for United States of America

asked on

Change permissions Domain Wide on %WinDir%

I work in a windows XP Server 2003 environment. I am wanting to temporarily give all my users permission to edit the %windir% in order to run a batch file within a logon or logoff script to update an .ini file located here. My question is what would be the easiest way to do this? Thanks
Avatar of and235100
and235100
Flag of United Kingdom of Great Britain and Northern Ireland image

Use cacls (http://www.ss64.com/nt/cacls.html) in a script that you can put out in a GPO, and apply the permissions on the folders that you want...
i.e.

cacls c:\Windows /G <domain>\Everyone:C /C
Avatar of Jose Rivera-Hernandez

ASKER

I am receiving an invalid arguments error when trying the following on one of my machines from the command line.
cacls c:\windows /G oshq\authenticated users /C
you need to use "authenticated users" (in quotes)
Still a no go with cacls c:\windows /G oshq\"authenticated users" /C or cacls c:\windows /G "oshq\authenticated users" /C

Will this only work with single files or will it work with folders? I am looking at the site listed above and it is only referring to individual files. Thanks
Cacls does work for folders - you may need to use %windir% instead of c:\windows
Still not working, any ideas?
First of all - you need the permission you want to write, i.e. "oshq\authenticated users":R

R Read  
C Change (write)  
F Full Control  
P Change Permissions (special access)  
O Take Ownership (special access)  
X EXecute (special access)  
E REad (Special access)  
W Write (Special access)  
D Delete (Special access)  
 
ASKER CERTIFIED SOLUTION
Avatar of and235100
and235100
Flag of United Kingdom of Great Britain and Northern Ireland image

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