Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Synchronize a new Active Directory domain with an existing Office 365 tenant
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now