Link to home
Start Free TrialLog in
Avatar of cdramos
cdramos

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of NJComputerNetworks
NJComputerNetworks
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cdramos
cdramos

ASKER

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?
Avatar of cdramos

ASKER

Is it possible to award partial points?  The question that NJComputerNetworks didn't quite answer my entire question, only a part of it.