Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

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

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
jarocks
Asked:
jarocks
1 Solution
 
Joseph DalyCommented:
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

Technology Partners: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now