Solved

3rd party tool for users to create folders and security groups within an OU

Posted on 2009-07-10
3
221 Views
Last Modified: 2012-05-07
We have a mandate to automate the creation of folders located on one of our NTFS shares. Our environment is Win2003. The share is our central repository for each department to store their critical data. Currently when a new folder is requested we manually create the security group (to include the users specified access to the new folder) and then manually create the folder and then add the sec. group with the appropriate permissions. Ideally we would like to implement some sort of web app (or other workable solution) that would allow department admins to create the shares themselves instead of having to wait on IT staff  to create them. Is anyone aware of a method or tool that would accomplish this goal? Thanks for you help
0
Comment
Question by:jarocks
3 Comments
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 500 total points
ID: 24825153
I did something similar to this to automate the creation of folder on our FTP site. With a little tweaking the script below might work for you. I think your going to have some questions so if you do please let me know.

@echo off

set /p JOBNAME= Enter the name of the jobsite FTP is being setup for: 

echo creating directory

mkdir F:\ftp\%JOBNAME%

echo directory created

echo.
 

echo creating %JOBNAME%FTP Users Group

dsadd group "CN=%JOBNAME%FTP Users,{rest of DN}"
 

echo.

echo pausing to let accounts be created in AD

pause
 

echo.

echo adding permissions to folder

echo.

cacls "F:\FTP\%JOBNAME%" /t /g "domain\domain admins":F "domain\%JOBNAME%FTP Users":C

Open in new window

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

17 Experts available now in Live!

Get 1:1 Help Now