Solved

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

Posted on 2007-04-04
4
490 Views
Last Modified: 2013-12-23
--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,

0
Comment
Question by:Tom F
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 8

Expert Comment

by:anil_u
ID: 18852674
Use the CACLS command in a batch file


0
 
LVL 30

Accepted Solution

by:
LauraEHunterMVP earned 500 total points
ID: 18852693
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
 
LVL 1

Author Comment

by:Tom F
ID: 18853509
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
 
LVL 30

Expert Comment

by:LauraEHunterMVP
ID: 18853584
Changes to file system security will "tattoo" the workstation, meaning that the settings will remain even after the GPO is removed.  
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question