<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Microsoft SharePoint 2013 &#8211; Rene Windegger</title>
	<atom:link href="https://www.windegger.wtf/category/sharepoint-2013/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.windegger.wtf</link>
	<description>Welcome to Freedom</description>
	<lastBuildDate>Sat, 01 Oct 2016 15:54:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.7.11</generator>
	<item>
		<title>Automate SharePoint 2013 managed account creation 2/2</title>
		<link>https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-2/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-2</link>
					<comments>https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-2/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-2#comments</comments>
		
		<dc:creator><![CDATA[rene]]></dc:creator>
		<pubDate>Fri, 22 Feb 2013 08:00:23 +0000</pubDate>
				<category><![CDATA[Microsoft SharePoint 2013]]></category>
		<category><![CDATA[Managed Account]]></category>
		<category><![CDATA[Microsoft SharePoint Server 2013]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell How To]]></category>
		<category><![CDATA[Service Account]]></category>
		<category><![CDATA[Service Application]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2013 Service Applications]]></category>
		<category><![CDATA[SharePoint How To]]></category>
		<category><![CDATA[SharePoint Managed Accounts]]></category>
		<guid isPermaLink="false">http://www.automism.at/?p=2012</guid>

					<description><![CDATA[<p>In my last post I&#8217;ve guided you throu the process of creating the Active Directory accounts that will be used as SharePoint managed accounts. Now I&#8217;m going to get them in place and let SharePoint 2013 handle the passwords. How does SharePoint 2013 handle the password change? You can configure SharePoint to alter</p>
<p>The post <a rel="nofollow" href="https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-2/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-2">Automate SharePoint 2013 managed account creation 2/2</a> appeared first on <a rel="nofollow" href="https://www.windegger.wtf">Rene Windegger</a>.</p>
<img src="https://analytics.windegger.wtf/piwik.php?idsite=3&amp;rec=1&amp;url=https%3A%2F%2Fwww.windegger.wtf%2F2013%2F02%2Fsharepoint-2013-managed-accounts-2%2F%3Fpk_campaign%3Dfeed%26pk_kwd%3Dsharepoint-2013-managed-accounts-2&amp;action_name=Automate+SharePoint+2013+managed+account+creation+2%2F2&amp;urlref=https%3A%2F%2Fwww.windegger.wtf%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p><img src="" style="float:right;" align="right" />In my <a title="Automate SharePoint 2013 managed account creation 1/2" href="https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-1/">last post</a> I&#8217;ve guided you throu the process of creating the Active Directory accounts that will be used as SharePoint managed accounts. Now I&#8217;m going to get them in place and let SharePoint 2013 handle the passwords.<span id="more-2012"></span></p>
<h2>How does SharePoint 2013 handle the password change?</h2>
<p>You can configure SharePoint to alter the password of the required service accounts. This can be done in the Central Administration of your farm. Once the account is configured to do automatic password changes, it will do so on the defined schedule. It will even react to expiration of passwords. In most environments administrators set a policy that forces a password changes after some defined time. So this will help to maintain the security and stability of your SharePoint farm. Even when no expiration policy is set, the passwords can be changed on a regular basis.</p>
<p>Whenever a password change is required one server in the farm will start the process by notifying all other server of a imminent password change. When all servers are ready for the password change, the server that started the password change will fetch the password complexity settings of your domain. When the server knows the password policy it will generate a password using a long, cryptographically-strong random string.</p>
<p>When SharePoint 2013 fails to commit the password it will retry, when it fails again it will send an notification email to the administrator.</p>
<h2>Creating the Script</h2>
<p>Creating managed accounts using the SharePoint 2013 GUI is is a quite time-consuming process. That the reason why we automate it. When you add this script to your tool belt you can save a some time everytime you need to install a new SharePoint 2013 deployment. We&#8217;re going to reuse the input file from the <a title="Automate SharePoint 2013 managed account creation 1/2" href="https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-1/">last post</a>. That input file has all managed accounts you will need for a SharePoint 2013 Enterprise deployment (let us know if we missed one :-)).</p>
<p>The script we created will set the password change to run every Sunday at &#8220;high noon&#8221;. Feel free to adjust that for your deployment, but keep in mind that the password change can cause outages of services in the farm.</p>
<p>When you adjust the schedule make sure it is in one of the following formats (Please leave a comment when one of the formats isn&#8217;t working for you or if we missed a format):</p>
<ul>
<li>every 5 minutes between 0 and 59</li>
<li>hourly between 0 and 59</li>
<li>daily at 15:00:00</li>
<li>weekly between Fri 22:00:00 and Sun 06:00:00</li>
<li>weekly at Sun 12:00</li>
<li>monthly at 15 15:00:00</li>
<li>yearly at Jan 1 15:00:00</li>
</ul>
<p>Make sure you adjust the parameters in the script to match your environment.</p>
<ul>
<li>[$netBiosDomain] &#8211; The Net Bios Domain name</li>
<li>[$schedule] &#8211; The schedule for the password change</li>
<li>[$initalPass] &#8211; The initial password used while creating the accounts</li>
</ul>
<p>View the code on <a href="https://gist.github.com/rwindegger/808dee4c3bc234a1a7c75b2d27c58a37">Gist</a>.</p>
<p>Execute the script and (in case everything worked out fine) you are ready to set up and configure your <a href="https://www.windegger.wtf/tag/sharepoint/">SharePoint</a> environment.</p>
<h2>Reference</h2>
<p><a href="http://technet.microsoft.com/en-us/library/ff607831.aspx" target="_blank">New-SPManagedAccount</a><br />
<a href="http://technet.microsoft.com/en-us/library/ff607617.aspx" target="_blank">Set-SPManagedAccount</a></p>
<p>Bye Rene<img src="https://analytics.windegger.wtf/piwik.php?idsite=3&amp;rec=1&amp;url=https%3A%2F%2Fwww.windegger.wtf%2F2013%2F02%2Fsharepoint-2013-managed-accounts-2%2F%3Fpk_campaign%3Dfeed%26pk_kwd%3Dsharepoint-2013-managed-accounts-2&amp;action_name=Automate+SharePoint+2013+managed+account+creation+2%2F2&amp;urlref=https%3A%2F%2Fwww.windegger.wtf%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" /></p>
<p>The post <a rel="nofollow" href="https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-2/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-2">Automate SharePoint 2013 managed account creation 2/2</a> appeared first on <a rel="nofollow" href="https://www.windegger.wtf">Rene Windegger</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-2/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-2/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Automate SharePoint 2013 managed account creation 1/2</title>
		<link>https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-1/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-1</link>
					<comments>https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-1/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-1#comments</comments>
		
		<dc:creator><![CDATA[rene]]></dc:creator>
		<pubDate>Fri, 15 Feb 2013 19:05:11 +0000</pubDate>
				<category><![CDATA[Microsoft SharePoint 2013]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Managed Account]]></category>
		<category><![CDATA[Microsoft SharePoint Server 2013]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PowerShell How To]]></category>
		<category><![CDATA[Service Account]]></category>
		<category><![CDATA[Service Application]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2013 Service Applications]]></category>
		<category><![CDATA[SharePoint How To]]></category>
		<category><![CDATA[SharePoint Managed Accounts]]></category>
		<guid isPermaLink="false">http://www.automism.at/?p=702</guid>

					<description><![CDATA[<p>I&#8217;d like to give you some ideas about the creation of managed accounts for your SharePoint 2013 deployment. The process of creating all the accounts is quite time consuming. When you&#8217;re done reading this post you get a good idea on how to speed up the process. Create the input</p>
<p>The post <a rel="nofollow" href="https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-1/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-1">Automate SharePoint 2013 managed account creation 1/2</a> appeared first on <a rel="nofollow" href="https://www.windegger.wtf">Rene Windegger</a>.</p>
<img src="https://analytics.windegger.wtf/piwik.php?idsite=3&amp;rec=1&amp;url=https%3A%2F%2Fwww.windegger.wtf%2F2013%2F02%2Fsharepoint-2013-managed-accounts-1%2F%3Fpk_campaign%3Dfeed%26pk_kwd%3Dsharepoint-2013-managed-accounts-1&amp;action_name=Automate+SharePoint+2013+managed+account+creation+1%2F2&amp;urlref=https%3A%2F%2Fwww.windegger.wtf%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[<p><img src="" style="float:right;" align="right" />I&#8217;d like to give you some ideas about the creation of managed accounts for your SharePoint 2013 deployment. The process of creating all the accounts is quite time consuming. When you&#8217;re done reading this post you get a good idea on how to speed up the process.<span id="more-702"></span></p>
<h2>Create the input file with the required SharePoint 2013 accounts</h2>
<p>The first step is to create an input file for the PowerShell script. This file will contain all accounts that are needed for a clean SharePoint 2013 deployment.</p>
<p>We use a naming convention for our users. The names consists of three parts.</p>
<ul>
<li>[svc] as an abbreviation for service</li>
<li>[FarmName] the name of the SharePoint 2013 farm</li>
<li>[ServiceName] the abbreviation for the service the account is used for</li>
</ul>
<p>Feel free to adjust the usernames to your needs.</p>
<p>View the code on <a href="https://gist.github.com/rwindegger/db472595bf1a57c35b22b531206a3a61">Gist</a>.</p>
<p>Save this file as users.txt.</p>
<h2>The PowerShell script to create the accounts</h2>
<p>Next step is to create a Windows PowerShell script to create the users. It will read the input from the input file.</p>
<p>Make sure you adjust the parameters in the script file. Wrong parameters will cause failures.</p>
<p>The parameters are prefaced with a comment. That comment contains a description of the parameter.</p>
<p>View the code on <a href="https://gist.github.com/rwindegger/cf7d01eea78827cd7f0da7cc6f5c74c1">Gist</a>.</p>
<p>Save this file as createusers.ps1 in the same folder as your input file.</p>
<p>Log on to a Domain Controller and make sure you can create Active Directory users. Start a new PowerShell and execute the script.</p>
<p>When everything went OK, you have created all required accounts and saved plenty of time. Put this into your tool belt and save even more time on your next deployment <img src="https://s.w.org/images/core/emoji/13.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>We don&#8217;t care about the password. SharePoint 2013 will change the passwords, after we <a title="Automate SharePoint 2013 managed account creation 2/2" href="https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-2/">registered them as managed accounts</a>.</p>
<p>In the <a href="https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-2/">second part</a> we create the script that registers all the accounts with SharePoint 2013.</p>
<h2>Reference</h2>
<p><a title="New-ADUser" href="http://technet.microsoft.com/en-us/library/ee617253.aspx">New-ADUser</a><br />
<a title="Get-ADUser" href="http://technet.microsoft.com/en-us/library/ee617241.aspx">Get-ADUser</a><br />
<a title="Enable-ADAccount" href="http://technet.microsoft.com/en-us/library/ee617200.aspx">Enable-ADAccount</a><br />
<a title="Unlock-ADAccount" href="http://technet.microsoft.com/en-us/library/ee617234.aspx">Unlock-ADAccount</a><br />
<a title="SharePoint 2013 Service Applications" href="http://social.technet.microsoft.com/wiki/contents/articles/12512.sharepoint-2013-service-applications.aspx">Service Applications</a></p>
<p>Bye Rene<img src="https://analytics.windegger.wtf/piwik.php?idsite=3&amp;rec=1&amp;url=https%3A%2F%2Fwww.windegger.wtf%2F2013%2F02%2Fsharepoint-2013-managed-accounts-1%2F%3Fpk_campaign%3Dfeed%26pk_kwd%3Dsharepoint-2013-managed-accounts-1&amp;action_name=Automate+SharePoint+2013+managed+account+creation+1%2F2&amp;urlref=https%3A%2F%2Fwww.windegger.wtf%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" /></p>
<p>The post <a rel="nofollow" href="https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-1/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-1">Automate SharePoint 2013 managed account creation 1/2</a> appeared first on <a rel="nofollow" href="https://www.windegger.wtf">Rene Windegger</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.windegger.wtf/2013/02/sharepoint-2013-managed-accounts-1/?pk_campaign=feed&#038;pk_kwd=sharepoint-2013-managed-accounts-1/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
