Automated service accounts creation for SharePoint 2010 and 2013 and SQL Server 2008/2012
Purpose of this project is just to automate the creation of SharePoint Service accounts in Active Directory.
For any SharePoint installation, setting up a least privilege installation is very important. There are countless number of articles explaining the purpose of deploying SharePoint with least privilege and to manage SharePoint service accounts and SQL server service accounts.
But the purpose of this post is just to automate the creation of Service accounts in Active Directory. So the run the following script as a .bat file in Windows Server 2008 or Windows Server 2012. Remember, there are lot of naming conventions/patterns in naming service accounts for SharePoint but I have used my own but you can change according to your own.
Example: Service accounts are set up in a sample CORP.com domain below. Run the following code as .bat file:
Update: The bat file can be run on any Active directory server with Windows Server 2008, Windows Server 2012 and Windows Server 2003. The service account are created for SharePoint 2007, SharePoint 2010 and SharePoint 2013 and SQL Server
Further information can be found on my blog: http://falakmahmood.blogspot.se/2011/10/automated-service-accounts-creation-for.html#.UmUhu_lpl0o
Purpose of this project is just to automate the creation of SharePoint Service accounts in Active Directory.
For any SharePoint installation, setting up a least privilege installation is very important. There are countless number of articles explaining the purpose of deploying SharePoint with least privilege and to manage SharePoint service accounts and SQL server service accounts.
But the purpose of this post is just to automate the creation of Service accounts in Active Directory. So the run the following script as a .bat file in Windows Server 2008 or Windows Server 2012. Remember, there are lot of naming conventions/patterns in naming service accounts for SharePoint but I have used my own but you can change according to your own.
Example: Service accounts are set up in a sample CORP.com domain below. Run the following code as .bat file:
Update: The bat file can be run on any Active directory server with Windows Server 2008, Windows Server 2012 and Windows Server 2003. The service account are created for SharePoint 2007, SharePoint 2010 and SharePoint 2013 and SQL Server
Further information can be found on my blog: http://falakmahmood.blogspot.se/2011/10/automated-service-accounts-creation-for.html#.UmUhu_lpl0o