Solved

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

Posted on 2009-07-10
3
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RAID Card RS3WC080 Will Not Start Code 10 5 71
Dell Server drives 9 80
2012 R2 System Address Space? 2 83
Upgrade BIOS / EUFI at Scale 4 86
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 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