Solved

How to create a folder called Business on all the users H: (Home drive)

Posted on 2014-09-24
10
206 Views
Last Modified: 2014-09-26
Hi

I have 100 users  and i want to create a folder called Business on all the students H: drive  and that is their home drive.
Secondly i want to give them  modify access to this business folder.
Our DC is 2012 and our file server that host the student home folder is windows 2003
Please suggest is there a easy way of doing this without manually creating it.

Thanks
0
Comment
Question by:lianne143
  • 5
  • 4
10 Comments
 
LVL 9

Assisted Solution

by:dlb6597
dlb6597 earned 417 total points
Comment Utility
are all the student's personal folders in the same folder and are the student folders all that exist in this folder? if so, it can be done in a simple for /d script...otherwise we'll need to account for folders where you don't want the business folder created...and be default they will have modify access to the folder when you create it in their personal folder...
0
 
LVL 9

Assisted Solution

by:dlb6597
dlb6597 earned 417 total points
Comment Utility
this command will create a folder called business in each subfolder where you run the command (from a command prompt)

for /d %i in (*.) do md %i\business

if all the student folders aren't contained in  a single folder (or if other folders exist where you don't want the business folder created) you can accomplish this by creating a text file (sc.txt) of the full paths where you want the business folder created and use a For /f script....

for /f %i in (sc.txt) do md %i\business
0
 

Author Comment

by:lianne143
Comment Utility
I have two group of students, Year11 and Year12

The UNC path from my windows 7 PC for Year11 students is  \\File server-a\StudentDocs\Year11\Student 1-50

The UNC path from my windows 7 PC  for Year12 students is \\File server-a\StudentDocs\Year12\Student 51-100

Please post me the exact syntax that i need to run on the command prompt.

thanks
0
 
LVL 9

Accepted Solution

by:
dlb6597 earned 417 total points
Comment Utility
map a drive letter to \\file server-a\studentdocs
open a command prompt
switch to the mapped drive above, switch to the year11 folder

run this command: for /d %i in (*.) do md "%i\business"

switch back to the year12 folder and repeat the command above.
0
 

Author Comment

by:lianne143
Comment Utility
I followed the stepe above and did for year 11 and it sucessfully created the business directoty within the each of the  individual students home directories.

I checked the permission for this folder it has not given any permission , do i need to do something else. I would like to have modify permission for this folder.
I checked other folders with the students home drive and most folders have modify permissions given.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 9

Assisted Solution

by:dlb6597
dlb6597 earned 417 total points
Comment Utility
you apparently have some non-standard NTFS permissions that are not allowing the new business folder to inherit the permissions from the parent folder.
0
 

Author Comment

by:lianne143
Comment Utility
Do I need to manually assign edit  permissions .

thanks
0
 
LVL 9

Assisted Solution

by:dlb6597
dlb6597 earned 417 total points
Comment Utility
that is difficult to answer without seeing exactly how your permissions are set on each student folder...I would suggest getting the permissions sorted out there so that the new business folder inherits the permissions...a much cleaner solution that forcing update permissions to each new business folder....
0
 

Author Comment

by:lianne143
Comment Utility
Thanks
0
 
LVL 19

Assisted Solution

by:compdigit44
compdigit44 earned 83 total points
Comment Utility
I wonder if using a Group Policy Preference to create a new folder would work for you?
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
A procedure for exporting installed hotfix details of remote computers using powershell
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

771 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

7 Experts available now in Live!

Get 1:1 Help Now