Solved

How to set File System permissions in Local Policy

Posted on 2014-03-24
3
437 Views
Last Modified: 2014-04-10
On the domain level you can set folder permissions in Group Policy here - Computer Configuration\Windows Settings\Security Settings\File System. However, I need to be able to do this from Local Policy as the machines I am working with cannot receive Computer Group policies since they do not have connectivity until logon. Is there a way to accomplish this in Local Policy or with another method?
0
Comment
Question by:MCSF
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
Joseph Moody earned 500 total points
ID: 39950709
0
 

Author Comment

by:MCSF
ID: 39991637
I did a lot of testing with different options and what finally worked for me was a combination of two built-in Windows command line tools that were available for Windows 7. I used takeown to set ownership on the files/folders and then used icacls to set the permissions. I first did some testing with them from the command line and then once I had them perfected I incorporated the commands into a batch file. I plan to put that batch file into the local policy as a Startup Script.

Here is an example of the commands I used. The first command takes ownership for the local Administrators group. The second gives full control to the local Users group for the folder and all sub-directories and files.

takeown /F c:\test /R /A /D Y
icacls c:\test\ /grant Users:(OI)(CI)(F)
0
 

Author Closing Comment

by:MCSF
ID: 39991639
This comment got me on the right track.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Resolve DNS query failed errors for Exchange
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 show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

785 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