Solved

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

Posted on 2009-07-10
3
247 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

679 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