Solved

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

Posted on 2007-04-04
4
491 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article runs through the process of deploying a single EXE application selectively to a group of user.
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…
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 …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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