Setting up new users in Active Directory and SQL Server

Here's my problem:

Currently, when I set up a new user in Active Directory, I have to go through an entire process to get them set up, which can be a pain.

1.) Create a new user folder in our shared directory to hold their profile data (we use Roaming Profiles)
2.) Create a new user in AD using a standardized user name (first initial + last name...any way to automate this?).  I've also got to set the Profile Path to the shared directory for their roaming profile.
3.) Set the new user to two security groups.
4.) Set up SQL Server Logins, in both the Security Logins and then assign that user to a specific database in SQL Server.

The question is:  Is there a way to either automate or script this entire process so the only thing I have to do is create a new user in Active Directory and then be done with it?  If not, what parts can I automate, just to make the process easier.

Now, I'm pretty sure I can set up SQL Server to utilize an AD Security Group as a means of access, but I'm not 100% sure how to get this done, so that might be a simple answer.

I can definitely benefit from some expert advice.  Please let me know if you have any additional questions.  I'm by no means a Windows Server 2003 or SQL Server guru, but I can hold my own.  Thanks in advance.
LVL 1
cdramosAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
NJComputerNetworksConnect With a Mentor Commented:
For SQL, you can use group based security... go into SQL enterprise administrator...  click AQL server group, local, security-->logins.    Here you can add a new login...use the "..." button to browse your domain...  and you can select a group to give SQL server database access to.
0
 
cdramosAuthor Commented:
Thanks for the suggestion.  I'll give out partial points for that.  I kind of figured that for SQL Server.  I guess I just needed someone to reaffirm that.  Anyone else have suggestions on the AD user set up?
0
 
cdramosAuthor Commented:
Is it possible to award partial points?  The question that NJComputerNetworks didn't quite answer my entire question, only a part of it.
0
All Courses

From novice to tech pro — start learning today.