<?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>Thomas Maurer (tm) &#187; password</title>
	<atom:link href="http://www.thomasmaurer.ch/tag/password/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thomasmaurer.ch</link>
	<description>Just another private cloud weblog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:10:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Change Office 365 password expiration policy</title>
		<link>http://www.thomasmaurer.ch/2011/10/change-office-365-password-expiration-policy/</link>
		<comments>http://www.thomasmaurer.ch/2011/10/change-office-365-password-expiration-policy/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 08:17:32 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Lync Online]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office365]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Password Policy]]></category>
		<category><![CDATA[Policy]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Set-MsolUser]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=2735</guid>
		<description><![CDATA[The default password expiration policy of Office 365 is set to 90 days. That means that users have to change their password every 90 days. I think basicly this is a good and secure policy but maybe your company has other &#8230; <a href="http://www.thomasmaurer.ch/2011/10/change-office-365-password-expiration-policy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2011/10/change-office-365-password-expiration-policy/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2011/10/change-office-365-password-expiration-policy/" data-count="horizontal" data-text="Change Office 365 password expiration policy" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2011%2F10%2Fchange-office-365-password-expiration-policy%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><img class="aligncenter size-medium wp-image-1928" title="office365" src="http://www.thomasmaurer.ch/wp-content/uploads/2011/05/office365-300x179.jpg" alt="office365" width="300" height="179" /></p>
<p>The default password expiration policy of <a title="Office 365" href="http://www.office365.com" target="_blank">Office 365</a> is set to 90 days. That means that users have to change their password every 90 days. I think basicly this is a good and secure policy but maybe your company has other security policy or for some other reason you have to deactivate this. We can change this setting through PowerShell with the MicrosoftOnline PowerShell Module.</p>
<ol>
<li>First connect to Office 365 <a title="Office 365 PowerShell" href="http://www.thomasmaurer.ch/2011/07/office-365-how-to-connect-with-powershell/" target="_blank">via PowerShell more on this here</a></li>
<li>Now you can use the following cmdlet
<pre>Set-MsolUser -UserPrincipalName user@contoso.com –PasswordNeverExpires $true</pre>
</li>
</ol>
<p>&nbsp;</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-2735"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2011/10/change-office-365-password-expiration-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to download files with Powershell</title>
		<link>http://www.thomasmaurer.ch/2010/10/how-to-download-files-with-powershell/</link>
		<comments>http://www.thomasmaurer.ch/2010/10/how-to-download-files-with-powershell/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 10:23:19 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Credentials]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Download File]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[Path]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[Username]]></category>
		<category><![CDATA[WebClient]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Powershell]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=1090</guid>
		<description><![CDATA[This should show you how you can download a file with Powershell. This is not a script or function you should use. It just is the the easyiest way to download a file with Powershell. If I have enough time &#8230; <a href="http://www.thomasmaurer.ch/2010/10/how-to-download-files-with-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/10/how-to-download-files-with-powershell/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/10/how-to-download-files-with-powershell/" data-count="horizontal" data-text="How to download files with Powershell" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F10%2Fhow-to-download-files-with-powershell%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p><img class="aligncenter size-full wp-image-621" title="Powershell Header" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/05/Screen-shot-2010-05-30-at-13.08.42.png" alt="Powershell Header" width="440" height="104" />This should show you how you can download a file with Powershell. This is not a script or function you should use. It just is the the easyiest way to download a file with Powershell. If I have enough time I will create a function for downloading files.</p>
<pre>
$Url = "http://www.thomasmaurer.ch/ps.txt"
$Path = "C:\temp\ps.txt"
$Username = ""
$Password = ""

$WebClient = New-Object System.Net.WebClient
$WebClient.Credentials = New-Object System.Net.Networkcredential($Username, $Password)
$WebClient.DownloadFile( $url, $path )
</pre>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-1090"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/10/how-to-download-files-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to lock a Mac Screen</title>
		<link>http://www.thomasmaurer.ch/2010/07/how-to-lock-a-mac-screen/</link>
		<comments>http://www.thomasmaurer.ch/2010/07/how-to-lock-a-mac-screen/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 07:00:50 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[MacBook]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Display]]></category>
		<category><![CDATA[Lock]]></category>
		<category><![CDATA[Lock Screen]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[require password]]></category>
		<category><![CDATA[Screen]]></category>
		<category><![CDATA[Screenlock]]></category>
		<category><![CDATA[Sleep]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=795</guid>
		<description><![CDATA[I work often with my notebook at school or by customers, so I need something to quickly lock my screen for security reasons. There is an easy way to lock the screen of Mac OS X and also save battery &#8230; <a href="http://www.thomasmaurer.ch/2010/07/how-to-lock-a-mac-screen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2010/07/how-to-lock-a-mac-screen/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2010/07/how-to-lock-a-mac-screen/" data-count="horizontal" data-text="How to lock a Mac Screen" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2010%2F07%2Fhow-to-lock-a-mac-screen%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p>I work often with my notebook at school or by customers, so I need something to quickly lock my screen for security reasons. There is an easy way to lock the screen of Mac OS X and also save battery life.</p>
<p>First check the checkbox for &#8220;Require password after sleep or screen saver begins&#8221;</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/07/Screen-shot-2010-07-20-at-08.53.32.png" rel="lightbox[795]"><img class="aligncenter size-medium wp-image-796" title="Mac OS X Lock Screen" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/07/Screen-shot-2010-07-20-at-08.53.32-300x239.png" alt="Mac OS X Lock Screen" width="300" height="239" /></a>Now I create a new active Screen Corner with &#8220;Put Display to Sleep&#8221;</p>
<p><a href="http://www.thomasmaurer.ch/wp-content/uploads/2010/07/Screen-shot-2010-07-20-at-08.55.53.png" rel="lightbox[795]"><img class="aligncenter size-medium wp-image-797" title="Mac OS X lock Screen" src="http://www.thomasmaurer.ch/wp-content/uploads/2010/07/Screen-shot-2010-07-20-at-08.55.53-300x293.png" alt="Mac OS X lock Screen" width="300" height="293" /></a>No I can just move my cursor in the bottom left corner and my screen gets black. After I move my mouse or press a key I need to login again. But all programs run in the background.</p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-795"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2010/07/how-to-lock-a-mac-screen/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How can I check the password of the IUSR and IWAM local accounts on a machine?</title>
		<link>http://www.thomasmaurer.ch/2009/11/how-can-i-check-the-password-of-the-iusr-and-iwam-local-accounts-on-a-machine/</link>
		<comments>http://www.thomasmaurer.ch/2009/11/how-can-i-check-the-password-of-the-iusr-and-iwam-local-accounts-on-a-machine/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 15:08:49 +0000</pubDate>
		<dc:creator>Thomas Maurer</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[accounts]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[IUSR]]></category>
		<category><![CDATA[IWAM]]></category>
		<category><![CDATA[Local]]></category>
		<category><![CDATA[Metabase]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.thomasmaurer.ch/?p=366</guid>
		<description><![CDATA[After a late night session doing some work on a new webserver, I found a really important blog post (windowsitpro.com) for IIS administrators. The blog post shows how you get the password of the IUSR and the IWAM local accounts &#8230; <a href="http://www.thomasmaurer.ch/2009/11/how-can-i-check-the-password-of-the-iusr-and-iwam-local-accounts-on-a-machine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script><g:plusone size='small' href='http://www.thomasmaurer.ch/2009/11/how-can-i-check-the-password-of-the-iusr-and-iwam-local-accounts-on-a-machine/'></g:plusone></div><div class='dd_button'><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.thomasmaurer.ch/2009/11/how-can-i-check-the-password-of-the-iusr-and-iwam-local-accounts-on-a-machine/" data-count="horizontal" data-text="How can I check the password of the IUSR and IWAM local accounts on a machine?" data-via="thomasmaurer" ></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class='dd_button'><iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thomasmaurer.ch%2F2009%2F11%2Fhow-can-i-check-the-password-of-the-iusr-and-iwam-local-accounts-on-a-machine%2F&amp;locale=en_US&amp;layout=button_count&amp;action=like&amp;width=92&amp;height=20&amp;colorscheme=light' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:92px; height:20px;' allowTransparency='true'></iframe></div></div><div style='clear:both'></div></div><div style='clear:both'></div><p>After a late night session doing some work on a new webserver, I found a really important blog post (<a href="How can I check the password of the IUSR and IWAM local accounts on a machine?" target="_blank">windowsitpro.com</a>) for IIS administrators. The blog post shows how you get the password of the IUSR and the IWAM local accounts form the metabase.</p>
<p>Normally the IUSR and IWAM password are set automatically and unknown. But if you import the metabase on another you have to change the passwords of these two users (IUSR_&lt;local machine name&gt; and IWAM_&lt;local machine name&gt;).</p>
<blockquote>
<ul>
<li>First you have to update the adsutil.vbs script (localdiskdrive:\Inetpub\AdminScripts). You have to replace all the &#8220;&#8221;IsSecureProperty = True&#8221; with &#8220;&#8221;IsSecureProperty = False&#8221; otherwise the command would not show the real password.</li>
<li>Now you can run the following commands to get the password of these users</li>
</ul>
<p><strong>Get the IUSR password:</strong></p>
<p><strong></strong><code>C:\Inetpub\AdminScripts&gt;cscript adsutil.vbs get w3svc/anonymoususerpass</code></p>
<p><strong>return:</strong></p>
<p><strong></strong><code>anonymoususerpass : (STRING) "password"</code></p>
<p><strong>Get the IWAM password:</strong></p>
<p><strong></strong><code>C:\Inetpub\AdminScripts&gt;cscript adsutil.vbs get w3svc/wamuserpass</code></p>
<p><strong>return:</strong></p>
<p><strong></strong><code>wamuserpass : (STRING) "password"</code></p></blockquote>
<blockquote>
<ul>
<li>you also can set the passwords for those accounts in the metabase</li>
</ul>
<p><strong>Set the IUSR password:</strong></p>
<p><strong></strong><code>C:\Inetpub\AdminScripts&gt;cscript adsutil.vbs set w3svc/anonymoususerpass "password"</code></p>
<p><strong>Set the IWAM password:</strong></p>
<p><strong></strong><code>C:\Inetpub\AdminScripts&gt;cscript adsutil.vbs set w3svc/wamuserpass "password"</code></p></blockquote>
<blockquote style="text-align: left;">
<ul>
<li style="text-align: left;">after you change the passwords, you should sync the password from IIS with Microsoft Transaction Server (MTS) and component services with the following command</li>
</ul>
<p><strong>sync MTS:</strong></p>
<p><strong></strong><code>C:\Inetpub\AdminScripts&gt;cscript.exe synciwam.vbs -v</code></p></blockquote>
<p>Thanks to <a href="http://windowsitpro.com/authors/authorid/198/198.html" target="_blank">John Savill</a></p>
<!-- Social Buttons Generated by Digg Digg plugin v4.5.3.4, 
    Author : Yong Mook Kim
    Website : http://www.diggdigg2u.com --><div class="shr-publisher-366"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.thomasmaurer.ch/2009/11/how-can-i-check-the-password-of-the-iusr-and-iwam-local-accounts-on-a-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

