Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2007-04-04
4
Medium Priority
?
493 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 2000 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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
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.

704 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