Windows 2000/XP Login Script needed to set local drive permissions

--or another way to accomplish the following:

I need to add "Everyone" to the security settings of the  /TEMP directory of the local C: drive and give "Everyone" full access.  

Can this be done with a scrip or otherwise?  Thanks a bunch,

LVL 1
Tom FI.T. and Support Staff ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

anil_uCommented:
Use the CACLS command in a batch file


0
LauraEHunterMVPCommented:
If you are in an Active Directory environment, you can set file permissions via Group Policy.

Computer Configuration-->Windows Settings-->Security Settings-->File System.  

Right-click and select "Add File" - you'll be prompted to select the file/folder that you want to set permissions on, and then to establish the permissions that you want to propogate out.

Hope this helps.

Laura E. Hunter - Microsoft MVP: Windows Server - Networking
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tom FI.T. and Support Staff ManagerAuthor Commented:
I am in an AD environment (just not very knowledgable with everything hidden in there).  That seemed to do the trick - a side question - once those settings are made on the workstations, what would then happen if I removed that GP?  Would they remain or revert back?  
0
LauraEHunterMVPCommented:
Changes to file system security will "tattoo" the workstation, meaning that the settings will remain even after the GPO is removed.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.