[Last Call] Learn how to a build a cloud-first strategyRegister Now

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

multiple domain accounts and their settings

I have a script which creates multiple user accounts, and the script gets the user information from a csv-file.
Every user has a home-directory (Z:\) in server.
The script fills the users basic information correctly, but doesn't allow the user to acces its own home-directory.
Home directory should have permissions to user and the domain administrator.

I'm sorry but I don't have that script to show right now.
0
hafka
Asked:
hafka
  • 2
  • 2
1 Solution
 
rhandelsCommented:
Hi,

You should set permissions on the folders manually.. So the script doesn't take care of permissons on the folder..
0
 
hafkaAuthor Commented:
rhandels:
Let's imagine a situation where 500 new accounts are needed every year. For example in a school this could be possible. I just don't think they set the permissions manually for each  folder.
0
 
rhandelsCommented:
I'm afraid so, you will have to set them manually.. You can however make sure that the profile is created automatically, this doesn't work (yet) for home folders.. If you do this whilst creating the new user (i guess if one user a week joins, you do this manually) just add this bit into the process of creating a new user..
0
 
WeHeCommented:
you can use XCACLS to automate the setting of permissions on filesystems.
just add a line to your script which is setting permissions on their home folder.
0
 
hafkaAuthor Commented:
I tryied XCACLS, and I think it can do the job inside the script.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

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