Solved

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

Posted on 2009-07-10
3
209 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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

16 Experts available now in Live!

Get 1:1 Help Now