<?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>Sysadmin Lab</title>
	<atom:link href="http://www.sysadminlab.net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sysadminlab.net</link>
	<description>My lab environment and my findings</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:56:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Which Global Catalog (GC) is my Exchange 2010 using?</title>
		<link>http://www.sysadminlab.net/exchange/which-global-catalog-gc-is-my-exchange-2010-using</link>
		<comments>http://www.sysadminlab.net/exchange/which-global-catalog-gc-is-my-exchange-2010-using#comments</comments>
		<pubDate>Thu, 02 Feb 2012 10:56:26 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Global Catalog]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1622</guid>
		<description><![CDATA[Sometimes it&#8217;s necessary to figure out which Global Catalog (GC) your Exchange 2010 is using. Open EMC Go to Server Configuration, right-click each server and choose Properties and go to System Settings tab. You can also look for Event ID Event ID 2080 in the Application logfile and KB316300 gives you an idea what this means. To force it to use a specific GC: Open EMC Right-click Organization Configuration and choose Modify Configuration Domain Controller: Choose the default (Exchange will [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it&#8217;s necessary to figure out which Global Catalog (GC) your Exchange 2010 is using.</p>
<ul>
<li>Open EMC</li>
<li>Go to <strong>Server Configuration</strong>, right-click each server and choose <strong>Properties</strong> and go to <strong>System Settings</strong> tab.<br />
<a href="http://www.sysadminlab.net/exchange/which-global-catalog-gc-is-my-exchange-2010-using/attachment/which_global_catalog_is_exchange_2010_using3" rel="attachment wp-att-1631"><img class="alignnone size-full wp-image-1631" title="Which_Global_Catalog_is_Exchange_2010_using3" src="http://www.sysadminlab.net/wp-content/uploads/Which_Global_Catalog_is_Exchange_2010_using3.png" alt="" width="444" height="246" /></a></li>
</ul>
<p>You can also look for Event ID Event ID 2080 in the Application logfile and <a href="http://support.microsoft.com/kb/316300">KB316300</a> gives you an idea what this means.</p>
<p>To force it to use a specific GC:</p>
<ul>
<li>Open EMC</li>
<li>Right-click <strong>Organization Configuration</strong> and choose<strong> Modify Configuration Domain Controller:</strong><br />
<a href="http://www.sysadminlab.net/exchange/which-global-catalog-gc-is-my-exchange-2010-using/attachment/which_global_catalog_is_exchange_2010_using1" rel="attachment wp-att-1628"><img title="Which_Global_Catalog_is_Exchange_2010_using1" src="http://www.sysadminlab.net/wp-content/uploads/Which_Global_Catalog_is_Exchange_2010_using1.png" alt="" width="365" height="68" /></a></li>
<li>Choose the default (Exchange will select for you) or select a domain and GC manually:<br />
<a href="http://www.sysadminlab.net/exchange/which-global-catalog-gc-is-my-exchange-2010-using/attachment/which_global_catalog_is_exchange_2010_using2" rel="attachment wp-att-1627"><img class="alignnone size-full wp-image-1627" title="Which_Global_Catalog_is_Exchange_2010_using2" src="http://www.sysadminlab.net/wp-content/uploads/Which_Global_Catalog_is_Exchange_2010_using2.png" alt="" width="424" height="236" /></a></li>
</ul>
<p>Now hoes does Exchange select which server to use? Quote from <a href="http://blogs.msdn.com/b/microsoft_press/archive/2010/07/13/new-book-microsoft-exchange-server-2010-best-practices.aspx">Microsoft Exchange 2010 Best Practices book</a>:</p>
<blockquote><p><em>All Exchange 2010 servers use DNS to locate a valid domain controller or global catalog. By default, each time a domain controller starts the Netlogon service, it updates DNS with service (SRV) records that describe it as a domain controller and global catalog server, if applicable.</em></p>
<p><em>SRV resource records are DNS records. These records identify servers that provide specific services on the network. For example, an SRV resource record can contain information to help clients locate a domain controller in a specific domain or site. For that reason, the SRV records for domain controllers and global catalog servers are registered with several different variations to allow Exchange servers locating a suitable domain controller or global catalog during the Active Directory discovery process.</em></p>
<p><em>One option is to register DNS records by site name, which enables computers running Exchange Server to find domain controllers and global catalog servers in the local Active Directory site. Exchange Server always favors the selection of a domain controller and/or global catalog from the same site that Exchange is installed into.</em></p>
<p><em>Here is an example of an SRV record:</em></p>
<p><em>_ldap._tcp.litware.com. IN SRV 0 100 389 berlin-DC01.litware.com.</em></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/exchange/which-global-catalog-gc-is-my-exchange-2010-using/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evoko Room Manager review</title>
		<link>http://www.sysadminlab.net/exchange/evoko-room-manager-review</link>
		<comments>http://www.sysadminlab.net/exchange/evoko-room-manager-review#comments</comments>
		<pubDate>Sat, 28 Jan 2012 19:18:23 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Evoko]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1568</guid>
		<description><![CDATA[This has to be one of the coolest thing I&#8217;ve tested in my lab, the Evoko Room Manager. It&#8217;s a flat screen that you put on the wall next to your conference rooms and it will show you the room&#8217;s schedule and also enable users to change/add/end meetings &#8211; in a very nice design. The frame is either green if the room is green and red if it&#8217;s occupied. There are plenty of user guides available, other reviews available and [...]]]></description>
			<content:encoded><![CDATA[<p>This has to be one of the coolest thing I&#8217;ve tested in my lab, the <a href="http://www.evoko.se/evoko-room-manager.aspx"><strong>Evoko Room Manager</strong></a>. It&#8217;s a flat screen that you put on the wall next to your conference rooms and it will show you the room&#8217;s schedule and also enable users to change/add/end meetings &#8211; in a very nice design. The frame is either green if the room is green and red if it&#8217;s occupied.</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_room_manager1" rel="attachment wp-att-1569"><img class="alignnone size-full wp-image-1569" title="Evoko_Room_Manager1" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Room_Manager1.jpg" alt="" width="430" height="285" /></a></p>
<p>There are plenty of <a href="http://www.evoko.se/support.aspx">user guides</a> available, <a href="http://www.evoko.se/press.aspx">other reviews</a> available and a YouTube demo where I book an instant meeting and end it:</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/a1Q8bp8rulc?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>Since this is a Sysadmin blog I will focus on the <strong>technical stuff</strong> and <strong>how to manage it</strong> rather then the nice design.</p>
<p>The good thing about this device is that it behaves as a client device, so you don&#8217;t have to setup a server. The Evoko connects directly to your Exchange 2003, 2007 or 2010 server. It also supports Microsoft Online (Office 365) but not Google Apps nor Lotus Notes at the moment. It&#8217;s connected to your network via wired Ethernet and for power you can either use PoE or the supplied power adapter.</p>
<p>On your computer, download the Evoko Configurator. In this example I will configure it to show a room that I have on my Microsoft Online account. First you select which Exchange version you&#8217;re using:</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_configurator01" rel="attachment wp-att-1604"><img class="alignnone  wp-image-1604" title="Evoko_Configurator01" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Configurator01.png" alt="" width="661" height="443" /></a></p>
<p>Then you select the server and account and while you do that you can press &#8220;Test&#8221; to make sure it&#8217;s correct.</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_configurator02" rel="attachment wp-att-1603"><img class="alignnone  wp-image-1603" title="Evoko_Configurator02" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Configurator02.png" alt="" width="661" height="443" /></a></p>
<p>You configure some details and PIN for admin menus:</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_configurator03" rel="attachment wp-att-1602"><img class="alignnone  wp-image-1602" title="Evoko_Configurator03" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Configurator03.png" alt="" width="661" height="443" /></a></p>
<p>Then you add all your rooms with username/password. There are some details in the admin guide how you should create and configure these users. You also configure details such as number of seats and what kind of equipment each room has, if it should show the subject of the meeting and who the organizer is. In Exchange 2010 there are ways to add room capacity but the Evoko can&#8217;t read that.</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_configurator04" rel="attachment wp-att-1601"><img class="alignnone  wp-image-1601" title="Evoko_Configurator04" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Configurator04.png" alt="" width="661" height="443" /></a></p>
<p>Then you Finish and export this config to a USB stick:</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_configurator_usb" rel="attachment wp-att-1585"><img class="alignnone size-full wp-image-1585" title="Evoko_Configurator_USB" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Configurator_USB.png" alt="" width="315" height="271" /></a></p>
<p>Then you boot up the Evoko, insert the USB and press Upgrade:</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_room_manager_boot" rel="attachment wp-att-1609"><img class="alignnone size-medium wp-image-1609" title="Evoko_Room_Manager_boot" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Room_Manager_boot-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>And then choose the room you configured:</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_room_manager_boot_configure" rel="attachment wp-att-1610"><img class="alignnone size-medium wp-image-1610" title="Evoko_Room_Manager_boot_configure" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Room_Manager_boot_configure-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>It should boot up and show if it&#8217;s busy&#8230;</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_room_manager_busy" rel="attachment wp-att-1611"><img class="alignnone size-medium wp-image-1611" title="Evoko_Room_Manager_busy" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Room_Manager_busy-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>&#8230;or free:</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_room_manager_free" rel="attachment wp-att-1612"><img class="alignnone size-medium wp-image-1612" title="Evoko_Room_Manager_free" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Room_Manager_free-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>And of course, this meeting is also added in the actual Calendar of the mailbox:</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_meeting_in_owa" rel="attachment wp-att-1584"><img class="alignnone size-full wp-image-1584" title="Evoko_Meeting_in_OWA" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Meeting_in_OWA.png" alt="" width="309" height="69" /></a></p>
<p>There&#8217;s also a zip you can download and extract to a USB stick and reboot the device and you will be able to update OS, factory reset and collect logs. BTW, this little device actually seem to be running Windows CE:</p>
<p><a href="http://www.sysadminlab.net/exchange/evoko-room-manager-review/attachment/evoko_room_manager_windows_ce" rel="attachment wp-att-1607"><img class="alignnone size-medium wp-image-1607" title="Evoko_Room_Manager_Windows_CE" src="http://www.sysadminlab.net/wp-content/uploads/Evoko_Room_Manager_Windows_CE-e1327778080840-225x300.jpg" alt="" width="225" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/exchange/evoko-room-manager-review/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving mailboxes cross-forest without ADMT and without SIDHistory</title>
		<link>http://www.sysadminlab.net/exchange/moving-mailboxes-cross-forest-without-admt-and-without-sidhistory</link>
		<comments>http://www.sysadminlab.net/exchange/moving-mailboxes-cross-forest-without-admt-and-without-sidhistory#comments</comments>
		<pubDate>Wed, 25 Jan 2012 17:58:11 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[migraiton]]></category>
		<category><![CDATA[SIDHistory]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1525</guid>
		<description><![CDATA[I&#8217;ve come across quite a few Exchange migrations lately during mergers and acquisitions where the source domain had a bunch of users and instead of using ADMT (Active Directory Migration Tool) to migrate the user with SIDHistory they simply just manually created all the users in the destination domain (without mailboxes) and started using them. Then a few months down the road they start to think of how to migrate Exchange and the mailboxes. Well, since SIDHistory was not migrated [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve come across quite a few Exchange migrations lately during mergers and acquisitions where the source domain had a bunch of users and instead of using ADMT (Active Directory Migration Tool) to migrate the user with SIDHistory they simply just <strong>manually</strong> created all the users in the destination domain (without mailboxes) and started using them. Then a few months down the road they start to think of how to migrate Exchange and the mailboxes. Well, since SIDHistory was not migrated using ADMT, neither Exchange 2007 <a href="http://technet.microsoft.com/en-us/library/aa997599%28EXCHG.80%29.aspx">Move-Mailbox</a> nor Exchange 2010 <a href="http://technet.microsoft.com/en-us/library/dd351123.aspx">New-MoveRequest</a> can match the source mailbox with any target domain account. So are you out of luck?</p>
<p>Luckily &#8211; <strong>no</strong>.</p>
<p>There are more attributes it will match on and that is:</p>
<ol>
<li><strong>source</strong> legacyExchangeDN will match an <strong>destination</strong> x500: value in proxyAddresses</li>
<li><strong>source</strong> SMTP: or smtp: in proxyAddresses will match <strong>destination</strong> smtp: or SMTP: in proxyAddresses</li>
<li>&#8230;and of course <strong>source</strong> objectSID will match <strong>destination</strong> SIDHistory.</li>
</ol>
<p>To make it more clear, check out this example. In the <strong>source </strong>(this case Windows 2003 AD/Exchange 2003), the account looked like this when using adsiedit.msc:</p>
<p><a href="http://www.sysadminlab.net/exchange/moving-mailboxes-cross-forest-without-admt-and-without-sidhistory/attachment/cross-forest-move-mailbox-match-without-sidhistory_01" rel="attachment wp-att-1526"><img class="alignnone size-full wp-image-1526" title="cross-forest-move-mailbox-match-without-SIDHistory_01" src="http://www.sysadminlab.net/wp-content/uploads/cross-forest-move-mailbox-match-without-SIDHistory_01.png" alt="" width="418" height="446" /></a></p>
<p><a href="http://www.sysadminlab.net/exchange/moving-mailboxes-cross-forest-without-admt-and-without-sidhistory/attachment/cross-forest-move-mailbox-match-without-sidhistory_02" rel="attachment wp-att-1527"><img class="alignnone size-full wp-image-1527" title="cross-forest-move-mailbox-match-without-SIDHistory_02" src="http://www.sysadminlab.net/wp-content/uploads/cross-forest-move-mailbox-match-without-SIDHistory_02.png" alt="" width="365" height="188" /></a></p>
<p>For example 1 above, you simply take the <strong>legacyExchangeDN</strong> from the user in the source domain:</p>
<blockquote><p>/o=Org/ou=First Administrative Group/cn=Recipients/cn=miguser6</p></blockquote>
<p>Go to the user in the destination domain and use for example ADUC (with View -&gt; Advanced Features) and Attribute Editor tab. Go to <strong>proxyAddresses</strong> and add a value starting with x500:&lt;legacyExchangeDN&gt;:</p>
<p><a href="http://www.sysadminlab.net/exchange/moving-mailboxes-cross-forest-without-admt-and-without-sidhistory/attachment/cross-forest-move-mailbox-match-without-sidhistory_03" rel="attachment wp-att-1530"><img class="alignnone size-full wp-image-1530" title="cross-forest-move-mailbox-match-without-SIDHistory_03" src="http://www.sysadminlab.net/wp-content/uploads/cross-forest-move-mailbox-match-without-SIDHistory_03.png" alt="" width="365" height="164" /></a></p>
<p>For example 2, just add the smtp: or SMTP: to the proxyAddress.</p>
<p>For E2007, <a href="http://blogs.technet.com/b/exchange/archive/2006/11/02/3396084.aspx">this cross org mailbox migration</a> article gave me some hints and if you&#8217;re doing E2010 cross forest mailbox moves, check <a href="http://blogs.technet.com/b/exchange/archive/2010/08/10/3410619.aspx">this article</a> out.</p>
<p>Tip: If you&#8217;re just testing away, add the -ValidateOnly (-WhatIf for E2010) parameter to check if it can match. Example results when running E2007:</p>
<blockquote><p>StatusMessage: This mailbox can be moved to the target database.</p></blockquote>
<p>If it can&#8217;t find a match:</p>
<blockquote><p>Error occurred in the step: Approving object. No matched target NT account is found. To create an NT account in target forest, parameter NTAccountOU is required.</p></blockquote>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/exchange/moving-mailboxes-cross-forest-without-admt-and-without-sidhistory/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to automatically check MX record of many Accepted Domains in Exchange 2010</title>
		<link>http://www.sysadminlab.net/exchange/script-to-automatically-check-mx-record-of-many-accepted-domains-in-exchange-2010</link>
		<comments>http://www.sysadminlab.net/exchange/script-to-automatically-check-mx-record-of-many-accepted-domains-in-exchange-2010#comments</comments>
		<pubDate>Thu, 19 Jan 2012 13:57:05 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[MX]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1515</guid>
		<description><![CDATA[I was working with a large Exchange 2010 migration and had 50+ Accepted Domains in Exchange 2010 to take care of, many of them very old so nobody could tell me if they were in use. This company also had gone through many changes so we had to verify that each accepted domain had the correct MX record specified on the DNS. The external domains were hosted on external DNS:es and the mailgateways were 3rd party. So instead of manually [...]]]></description>
			<content:encoded><![CDATA[<p>I was working with a large Exchange 2010 migration and had 50+ <strong>Accepted Domains</strong> in Exchange 2010 to take care of, many of them very old so nobody could tell me if they were in use. This company also had gone through many changes so we had to verify that each accepted domain had the correct MX record specified on the DNS. The external domains were hosted on external DNS:es and the mailgateways were 3rd party.</p>
<p>So instead of manually running nslookup.exe for each domain, I created this script to automate it for me. The plan is to automate it even further so it runs once a day and e-mails me any misconfigured domain. In that way, I&#8217;m sure that all domains in Accepted Domains always are correctly configured.</p>
<p>In the following script I simply check that all domains in &#8220;Accepted Domains&#8221; are configured on the Internet (I use Google DNS 8.8.8.8 for the query) with the following MX-records:</p>
<blockquote><p>MX preference = 10, mail exchanger = mailgw01.domain.com<br />
MX preference = 20, mail exchanger = mailgw02.domain.com</p></blockquote>
<p>If they&#8217;re not, you will get an INCORRECT and the current setting output to the screen.</p>
<p>Any suggested changes are welcome so please comment.</p>
<p>The whole script:</p>
<blockquote><p>if ( (Get-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue) -eq $null )<br />
{<br />
&nbsp;&nbsp;&nbsp;Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010<br />
}</p>
<p>$MATCH1=&#8221;MX preference = 10, mail exchanger = mailgw01.domain.com&#8221;<br />
$MATCH2=&#8221;MX preference = 20, mail exchanger = mailgw02.domain.com&#8221;</p>
<p>$DNS = &#8220;8.8.8.8&#8243;<br />
$domains = Get-AcceptedDomain<br />
foreach ($mxdomain in $domains) {<br />
&nbsp;&nbsp;&nbsp;$NSLOOKUP = C:\Windows\system32\nslookup.exe -q=mx $mxdomain.DomainName $DNS 2&gt;$NULL<br />
&nbsp;&nbsp;&nbsp;if ($NSLOOKUP -match $MATCH1 -and $NSLOOKUP -match $MATCH2)<br />
&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;Write-Host Correct: $mxdomain.DomainName<br />
&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write-Host =========================================<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write-Host INCORRECT: $mxdomain.DomainName -foregroundcolor &#8220;yellow&#8221;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write-Host Output from nslookup:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write-Host $NSLOOKUP<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write-Host =========================================<br />
&nbsp;&nbsp;&nbsp;}<br />
}</p></blockquote>
<p>Hope you find this script useful.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/exchange/script-to-automatically-check-mx-record-of-many-accepted-domains-in-exchange-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add Exchange 2010/2007 PSSnapIn in Powershell ISE</title>
		<link>http://www.sysadminlab.net/exchange/how-to-add-exchange-2010-pssnapin-in-powershell-ise</link>
		<comments>http://www.sysadminlab.net/exchange/how-to-add-exchange-2010-pssnapin-in-powershell-ise#comments</comments>
		<pubDate>Tue, 17 Jan 2012 15:43:16 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[ISE]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[PSSnapIn]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1494</guid>
		<description><![CDATA[If you&#8217;re in the normal non-Exchange PowerShell or PowerShell ISE and try to run Exchange cmdlet you get the following error: + Get-Mailbox &#60;&#60;&#60;&#60;     + CategoryInfo          : ObjectNotFound: (Get-Mailbox:String) [], Command    NotFoundException     + FullyQualifiedErrorId : CommandNotFoundException Simple solution: For Exchange 2010, run: Add-PSSnapIn Microsoft.Exchange.Management.PowerShell.E2010 For Exchange 2007, run: Add-PSSnapIn Microsoft.Exchange.Management.PowerShell.Admin More info: You could also enter the following to get a list of Powershell Snap-Ins that are registered on the system and that you could use: Get-PSSnapIn -Registered [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re in the normal non-Exchange PowerShell or PowerShell ISE and try to run Exchange cmdlet you get the following error:</p>
<blockquote><p><span style="color: #ff0000;">+ Get-Mailbox &lt;&lt;&lt;&lt; </span><br />
<span style="color: #ff0000;">    + CategoryInfo          : ObjectNotFound: (Get-Mailbox:String) [], Command </span><br />
<span style="color: #ff0000;">   NotFoundException</span><br />
<span style="color: #ff0000;">    + FullyQualifiedErrorId : CommandNotFoundException</span></p></blockquote>
<p><a href="http://www.sysadminlab.net/exchange/how-to-add-exchange-2010-pssnapin-in-powershell-ise/attachment/powershell_ise_exchange_pssnapin_commandnotfoundexception" rel="attachment wp-att-1495"><img class="alignnone size-full wp-image-1495" title="Powershell_ISE_Exchange_PSSnapIn_CommandNotFoundException" src="http://www.sysadminlab.net/wp-content/uploads/Powershell_ISE_Exchange_PSSnapIn_CommandNotFoundException.png" alt="" width="622" height="503" /></a></p>
<h3>Simple solution:</h3>
<p>For Exchange 2010, run:</p>
<blockquote><p>Add-PSSnapIn Microsoft.Exchange.Management.PowerShell.E2010</p></blockquote>
<p>For Exchange 2007, run:</p>
<blockquote><p>Add-PSSnapIn Microsoft.Exchange.Management.PowerShell.Admin</p></blockquote>
<h3>More info:</h3>
<p>You could also enter the following to get a list of Powershell Snap-Ins that are registered on the system and that you could use:</p>
<blockquote><p>Get-PSSnapIn -Registered</p></blockquote>
<p><a href="http://www.sysadminlab.net/exchange/how-to-add-exchange-2010-pssnapin-in-powershell-ise/attachment/get-pssnapin-registered" rel="attachment wp-att-1500"><img class="alignnone size-full wp-image-1500" title="get-pssnapin-registered" src="http://www.sysadminlab.net/wp-content/uploads/get-pssnapin-registered.png" alt="" width="622" height="169" /></a></p>
<p>Also, when the Exchange Management Shell is started from the startmenu, it actually runs a PowerShell script which does a lot more than the above:</p>
<blockquote><p>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command &#8220;. &#8216;C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1&#8242;; Connect-ExchangeServer -auto&#8221;</p></blockquote>
<p>So if you&#8217;re missing something when running the simple solution above, try running this ps1 script.</p>
<p>Oh and maybe you&#8217;re doing a PowerShell script and need to add the PSSnapIn? Well, if you try to add it several times, you get an annoying errormessage. You could then check if it already has been added or not:</p>
<blockquote><p>if ( (Get-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.E2010 -ErrorAction SilentlyContinue) -eq $null )<br />
{<br />
Add-PsSnapin Microsoft.Exchange.Management.PowerShell.E2010<br />
}</p></blockquote>
<p>If you get tired of adding this SnapIn every time you start Powershell, I suggest you read <a href="http://technet.microsoft.com/en-us/library/dd315342.aspx">about_Profiles</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/exchange/how-to-add-exchange-2010-pssnapin-in-powershell-ise/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Part 2: How to turn lights on/off using an iPhone/Android, OpenRemote, iTach WF2IR and Nexa</title>
		<link>http://www.sysadminlab.net/other/part-2-how-to-turn-lights-onoff-using-an-iphoneandroid-openremote-itach-wf2ir-and-nexa</link>
		<comments>http://www.sysadminlab.net/other/part-2-how-to-turn-lights-onoff-using-an-iphoneandroid-openremote-itach-wf2ir-and-nexa#comments</comments>
		<pubDate>Fri, 06 Jan 2012 12:15:10 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Home Entertainment]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iTach]]></category>
		<category><![CDATA[openremote]]></category>
		<category><![CDATA[WF2IR]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1324</guid>
		<description><![CDATA[Maybe you&#8217;ve read the description of my home entertainment network. Some of you wanted to know how I configured the remote control thing. In part 1 I showed you how to remote control IR devices using iPhone running OpenRemote and Global Cache  iTach WF2IR. After this guide you will be able to switch on/off a lamp using your iPhone/Android. For this to work, I bought myself the Nexa PB-3 package (~$30)which enables you to switch on/off using the remote control [...]]]></description>
			<content:encoded><![CDATA[<p>Maybe you&#8217;ve read the description of my <a href="http://www.sysadminlab.net/other/my-home-entertainment-network">home entertainment network</a>. Some of you wanted to know how I configured the remote control thing. In <a href="http://www.sysadminlab.net/other/part-1-how-to-remote-control-ir-devices-with-itach-wf2ir-iphoneandroid-openremote">part 1</a> I showed you how to remote control IR devices using iPhone running <a href="http://www.openremote.org/">OpenRemote</a> and <a href="http://www.globalcache.com/products/itach/wf2irspecs/">Global Cache  iTach WF2IR</a>. After this guide you will be able to switch on/off a lamp using your iPhone/Android.</p>
<p>For this to work, I bought myself the <a href="http://www.nexa.se/PB3Ny3packsjalvlarande.htm">Nexa PB-3</a> package (~$30)which enables you to switch on/off using the remote control they supply in the package:</p>
<p><a href="http://www.sysadminlab.net/wp-content/uploads/Nexa_PB-3.png"><img class="alignnone size-full wp-image-1475" title="Nexa_PB-3" src="http://www.sysadminlab.net/wp-content/uploads/Nexa_PB-3.png" alt="" width="230" height="164" /></a></p>
<p>Nexa uses RF signals rather than IR so it works through walls. Global Cache iTach WF2IR has 3 output ports to where you connect IR-blasters to send IR-signal, but they don&#8217;t have any device that can send RF signals but Sydia has the <a href="http://www.websitefolder.net/sydia/art-1.asp?id=49&amp;iPageID=2">TX-433</a> which can. So you basically connect the TX-433 to one of the output ports on the WF2IR and supply the TX-433 with power. You can still connect another IR-blaster to the TX-433 so you will have both an IR and RF sender on this port.</p>
<p>In <a href="http://www.sysadminlab.net/other/part-1-how-to-remote-control-ir-devices-with-itach-wf2ir-iphoneandroid-openremote">part 1</a> I showed you have to create a button which sends a &#8220;command&#8221; to the iTach. But that article showed you have to use iLearn.exe to learn an signal but with the above remote since it&#8217;s RF and the iTach only has an IR-learner, there is no way you can send an IR-signal so how do you know which command to send?</p>
<p>The Nexa <strong>Self Learning / Learning Code </strong>PB-3 works in that way that it select random codes each time they are configured so it automatically select one of of those some 16 million different codes. So it&#8217;s not like any other IR-device where the same button sends same command every time.</p>
<p>Luckily, the good guys over at Sydia has solved that for you. You just e-mail their support and they will send you as many RF codes you need. More info <a href="http://www.sydia.se/pdf/Bruksanvisning%20Nexa%20koder.pdf">here</a>.</p>
<p>So, when I received the codes I created one ON and one OFF button in <strong>Building Modeler</strong> for each configured the following way:</p>
<p><a href="http://www.sysadminlab.net/wp-content/uploads/OpenRemote_EditCommand_Nexa.png"><img class="alignnone size-full wp-image-1477" title="OpenRemote_EditCommand_Nexa" src="http://www.sysadminlab.net/wp-content/uploads/OpenRemote_EditCommand_Nexa.png" alt="" width="575" height="296" /></a></p>
<p>Then in <strong>UI Designer</strong>, I created buttons for each and assigned the command to the ON/OFF buttons:</p>
<p><a href="http://www.sysadminlab.net/wp-content/uploads/OpenRemote_UI_Designer_Lamp_Nexa.png"><img class="alignnone size-full wp-image-1478" title="OpenRemote_UI_Designer_Lamp_Nexa" src="http://www.sysadminlab.net/wp-content/uploads/OpenRemote_UI_Designer_Lamp_Nexa.png" alt="" width="600" height="782" /></a></p>
<p>Then I just saved, made sure the OpenRemote Controller on the server was synchronized with the updated version and then downloaded to the iPhone. Excellent &#8211; it works:</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/MWEdPsrrZ4A?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>Let me know if you have any questions in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/other/part-2-how-to-turn-lights-onoff-using-an-iphoneandroid-openremote-itach-wf2ir-and-nexa/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RBAC and Exchange 2010 Permission model explained for new Sysadmins</title>
		<link>http://www.sysadminlab.net/exchange/rbac-and-exchange-2010-permission-model-explained-for-new-sysadmins</link>
		<comments>http://www.sysadminlab.net/exchange/rbac-and-exchange-2010-permission-model-explained-for-new-sysadmins#comments</comments>
		<pubDate>Tue, 03 Jan 2012 13:57:14 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[RBAC]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1371</guid>
		<description><![CDATA[Many admins I talk to want to use the Exchange 2010 RBAC permission model to delegate some administrative tasks to their admins, but they also tell me it&#8217;s quite complicated to understand. Sure, it can be very complicated but for most &#8220;smaller&#8221; implementations (less than 20 admins?), it&#8217;s quite easy to understand. Hopefully this article will clear things up&#8230; RBAC, Role-based access control simply allows you to delegate object creation and modification. Important to understand is that you no longer [...]]]></description>
			<content:encoded><![CDATA[<p>Many admins I talk to want to use the Exchange 2010 RBAC permission model to delegate some administrative tasks to their admins, but they also tell me it&#8217;s quite complicated to understand. Sure, it can be very complicated but for most &#8220;smaller&#8221; implementations (less than 20 admins?), it&#8217;s quite easy to understand. Hopefully this article will clear things up&#8230;</p>
<p>RBAC, Role-based access control simply allows you to delegate object creation and modification. Important to understand is that you no longer need the ACL permissions in AD and it doesn&#8217;t matter what AD permissions you need. Everything is authorized through the RBAC and they apply to all Exchange management tools (EMC, EMS, ECP).</p>
<p>There are <a href="http://technet.microsoft.com/en-us/library/dd638105.aspx#Builtin">11 built-in</a> <strong>management role groups</strong> available in your root domain&#8217;s OU <em>Microsoft Exchange Security Groups</em>. If they are good enough &#8211; use them. Otherwise, you will need to create a custom role group. There are many different ways you might want to delegate and I suggest you don&#8217;t over-complicate things. I tend to stay with KISS &#8211; &#8220;Keep it simple stupid&#8221;&#8230;</p>
<p>Nothing gives you a better understanding than an example&#8230; This example shows how to delegate so that an admin has full rights to the objects in the OU they manage, a quite common example.</p>
<p>First, if you start EMC/EMS without any roles assigned you will get an error: <span style="color: #ff0000;"><em>Processing data from remote server failed with the following error message: The user isn&#8217;t assigned to any management roles.</em></span> Then we&#8217;re all good to start.</p>
<h3>Step 1. Decide what roles are required by the admin.</h3>
<p>You can either use one or more of the default built-in management roles, there are 70 of them and you list them with:</p>
<blockquote><p>Get-ManagementRole</p></blockquote>
<p>You might want to know which entries a specific role contains? Example</p>
<blockquote><p>Get-ManagementRole &#8220;User Options&#8221; | fl RoleEntries</p></blockquote>
<p>Hey, not very pretty. Another, maybe better way, would be to get the entries this way instead:</p>
<blockquote><p>Get-ManagementRoleEntry &#8220;User Options\*&#8221; | ft –AutoSize -Wrap</p></blockquote>
<p>Still, a lot of information. Maybe you want to know what the admin can do when it comes to ActiveSync and just filter that out?</p>
<blockquote><p>Get-ManagementRoleEntry &#8220;User Options\<span style="color: #ff0000;">*ActiveSync*</span>&#8221; | ft –AutoSize -Wrap</p></blockquote>
<p>By now you probably have identified a built-in role that you can use. In my case, I decided to use roles &#8220;Mail Recipients&#8221;, &#8220;Mail Recipient Creation&#8221; and “Distribution Groups” instead of creating custom ones.</p>
<h3>Step 2. Decide the management scope</h3>
<p>You can define a scope based on a serverlist, by domain, by database. What you decide is up to your environment. I decided to base it on OU.</p>
<blockquote><p>New-ManagementScope -Name &#8220;CUST-Scope&#8221; -RecipientRestrictionFilter { RecipientType -like &#8220;*&#8221; } -RecipientRoot &#8220;domain.local/Infrastructure/Users&#8221;</p></blockquote>
<p>You could change the following parameter if you only want them to be able to manage mailboxes:</p>
<blockquote><p>-RecipientRestrictionFilter { RecipientType -eq &#8220;UserMailbox&#8221; }</p></blockquote>
<p><a href="http://technet.microsoft.com/en-us/library/dd351083.aspx">Examples</a> and <a href="http://technet.microsoft.com/en-us/library/dd335137.aspx">documentation</a>.</p>
<h3>Step 3. Create the new management role group</h3>
<p>This will actually create a Universal Group in the root domain&#8217;s OU <em>Microsoft Exchange Security Groups. </em>Sure, you could specify -SecurityGroup parameter to create it somewhere else.:</p>
<blockquote><p>New-RoleGroup -Name &#8220;CUST-ROLE-Admins&#8221; -Roles &#8220;Mail Recipients&#8221;,&#8221;Mail Recipient Creation&#8221;,“Distribution Groups” -CustomRecipientWriteScope &#8220;CUST-Scope&#8221;</p></blockquote>
<p><a href="http://technet.microsoft.com/en-us/library/dd638209.aspx">Examples</a> and <a href="http://technet.microsoft.com/en-us/library/dd638181.aspx">documentation</a>.</p>
<h3>Step 4. Add members to the group</h3>
<p>Do it manually via ADUC or use PowerShell:</p>
<blockquote><p>Add-RoleGroupMember &#8220;CUST-ROLE-Admins&#8221; -Member &lt;user&gt;</p></blockquote>
<p><a href="http://technet.microsoft.com/en-us/library/dd638143.aspx">Examples</a> and <a href="http://technet.microsoft.com/en-us/library/dd638207.aspx">documentation</a>.</p>
<p>Done! Now the user should be able to start EMC/EMS without errormessage and perform the tasks you assigned to the user.</p>
<p>Tip: I tend to name all custom settings with a prefix, such as CUST-. In this way, I know what I&#8217;ve created and what is default and also makes it easier when listing since I can choose to show only the items starting with CUST-*. Examples:</p>
<blockquote><p>Get-ManagementScope | Where {$_.Name -like &#8220;CUST-*&#8221;}</p></blockquote>
<p>&nbsp;</p>
<h3>Troubleshooting</h3>
<p>Error when creating a new user with a mailbox: <em>The term &#8216;New-Mailbox&#8217; is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.</em><br />
<a href="http://www.sysadminlab.net/wp-content/uploads/RBAC_no_New_Mailbox_error.png"><img class="alignnone size-full wp-image-1429" title="RBAC_no_New_Mailbox_error" src="http://www.sysadminlab.net/wp-content/uploads/RBAC_no_New_Mailbox_error.png" alt="" width="436" height="87" /></a></p>
<p><strong>Solution</strong>: The role(s) you have assigned to the admin doesn&#8217;t have the permission to run New-Mailbox. Maybe you have just assigned role &#8220;Mail Recipients&#8221; and not &#8220;Mail Recipient Creation&#8221;?</p>
<p>Error when enabling a mailbox for an existing user: <em>&lt;user&gt; isn&#8217;t within you current write scope. Can&#8217;t perform save operation</em>.</p>
<p><a href="http://www.sysadminlab.net/wp-content/uploads/RBAC_no_Enable-Mailbox_error.png"><img class="alignnone size-full wp-image-1430" title="RBAC_no_Enable-Mailbox_error" src="http://www.sysadminlab.net/wp-content/uploads/RBAC_no_Enable-Mailbox_error.png" alt="" width="437" height="88" /></a></p>
<p><strong>Solution</strong>: Changed <em>{ RecipientType -eq &#8220;UserMailbox&#8221; }</em> to <em>{ RecipientType -like &#8220;*&#8221; }</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/exchange/rbac-and-exchange-2010-permission-model-explained-for-new-sysadmins/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What drivers are important to install on a Sony VAIO (VGN-Z51WG/B) and Windows 7 x64</title>
		<link>http://www.sysadminlab.net/other/what-drivers-are-important-to-install-on-a-sony-vaio-vgn-z51wgb-and-windows-7-x64</link>
		<comments>http://www.sysadminlab.net/other/what-drivers-are-important-to-install-on-a-sony-vaio-vgn-z51wgb-and-windows-7-x64#comments</comments>
		<pubDate>Mon, 02 Jan 2012 22:32:09 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[Sony VAIO]]></category>
		<category><![CDATA[VGN-Z51WG/B]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1381</guid>
		<description><![CDATA[If you&#8217;ve read my article on what drivers are needed for the HP EliteBook 8440p you understand that I like to keep my computer clean and keep the installed stuff at the minimum. Well, I got my hands on a Sony VAIO VGN-Z51WG/B or VGN-Z51WG_B if you used the command wmic csproduct get name. You might remember my post on the older VGN-Z21WN/B which was awful. The VGN-Z51WG/B model is a little bit better with a description on most downloads [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve <a href="http://www.sysadminlab.net/hardware/what-drivers-and-software-are-important-to-install-on-a-hp-8440p-elitebook">read my article on what drivers are needed for the HP EliteBook 8440p</a> you understand that I like to keep my computer <em>clean </em>and keep the installed stuff at the minimum.</p>
<p>Well, I got my hands on a Sony VAIO VGN-Z51WG/B or VGN-Z51WG_B if you used the command <strong>wmic csproduct get name</strong>.</p>
<p>You might remember <a href="http://www.sysadminlab.net/other/what-drivers-are-important-to-install-on-a-sony-vaio-vgn-z21wnb-and-windows-7-x64">my post</a> on the older VGN-Z21WN/B which was awful. The VGN-Z51WG/B model is a little bit better with a description on most downloads and everything is available for x64, but still, Sony hasn&#8217;t learned that they need to describe what they ask us to install. They will never reach the corporate market if they keep doing like this. They more or less tell you that you <strong>have</strong> to use their DVD to install Windows (which has everything Preinstalled) and then you need to install the Updates afterwards. In other words, impossible to create a deployment solution for it. But I don&#8217;t care, I will install it and figure out what is actually <strong>needed </strong>rather than just install everything.</p>
<p>Oh and have you wondered how to get into BIOS on a Sony VAIO? On this model it was <strong>F2</strong>. But some other states F1 or DEL which might apply to other VAIO models.</p>
<p>So what I did was to install from DVD (Windows 7 x64 with SP1) and took it from there to get everything working&#8230; From there I had the following in Device Manager not working:</p>
<ul>
<li>Standard VGA Graphics Adapter</li>
<li>Base System Device</li>
<li>Fingerprint Sensor</li>
<li>Unknown device</li>
<li>SDA Standard Compliant SD Host Controller</li>
</ul>
<p>Then I ran Windows Update (on 2nd Jan 2012, made it reboot 4-5 times) and from there only the following had warning signs:</p>
<p><a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_VGN-Z51WG_B_device_manager.png"><img class="alignnone size-full wp-image-1410" title="Sony_VAIO_VGN-Z51WG_B_device_manager" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_VGN-Z51WG_B_device_manager.png" alt="" width="478" height="486" /></a></p>
<p>Windows Update had some Optional Updates:</p>
<p><a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_VGN-Z51WG_B_optional_updates.png"><img class="alignnone size-full wp-image-1411" title="Sony_VAIO_VGN-Z51WG_B_optional_updates" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_VGN-Z51WG_B_optional_updates.png" alt="" width="611" height="65" /></a></p>
<p>I installed the Intel one but it didn&#8217;t make much difference in Device Manager nor Windows Experience Index which was at 3,4:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_VGN-Z51WG_B_rating.png"><img class="alignnone size-full wp-image-1412" title="Sony_VAIO_VGN-Z51WG_B_rating" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_VGN-Z51WG_B_rating.png" alt="" width="763" height="200" /></a></p>
<p>Then, I downloaded the following from <a href="www.sony.co.uk/support/en/product/VGN-Z51WG_B/updates">their website</a>.</p>
<ul>
<li><strong>Graphics Driver (Nvidia) 8.16.11.8735</strong>. This removed the Warning on &#8220;Standard VGA Graphics Adapter&#8221; and replaced it with a &#8220;NVIDIA GeForce 9300M GS&#8221; and Windows Experience Index went up to 4,3. But beware, when I installed it the screen went black so I had to force it off by holding the power button. Sony &#8211; Fail! But after reboot it seemed to work.</li>
<li><strong><strong>Memory Card Reader Writer Driver SD</strong>.</strong> You have to manually in the Device Manager update the drive. This changed the name in the Device Manager to &#8220;Ricoh SD Host Controller&#8221; and it worked. What the driver with the same name but CPRM suffix does? No idea and Sony fail to let us know.</li>
<li><strong>WWAN Driver.</strong> Doesn&#8217;t seem to solve anything but I suspect the 3G driver is needed</li>
<li><strong>WWAN Connection Manager</strong>. Sure it installed the OneClick Internet application but when started it said &#8220;No device found&#8221;. When started I ran Update which announced &#8220;Update Sony CM 3.0 to 3.2&#8243; which I installed but no difference.<br />
It&#8217;s quite common that the 3G modem is off by default and you need to install some application to enable it&#8230; so I tried:</li>
<li><strong>VAIO Smart Network</strong>. For some reason, it doesn&#8217;t autostart at reboot so you have to add a shortcut in the Startup folder. However, when it starts it seems to have the same problem as the VGN-Z21WN/B model and that is that is misses the icons:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_WWAN_Connection_Manager_problem.png"><img class="alignnone size-full wp-image-1414" title="Sony_VAIO_WWAN_Connection_Manager_problem" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_WWAN_Connection_Manager_problem.png" alt="" width="327" height="294" /></a></li>
<li><strong>Sony Shared Library</strong> was installed to get some more sense into the above application. After reboot, give it some time after login to stabilize and and you should see a lot of Qualcomm HS USB getting installed:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_WWAN_Connection_Manager_after_Sony_Shared_Library.png"><img class="alignnone size-full wp-image-1415" title="Sony_VAIO_WWAN_Connection_Manager_after_Sony_Shared_Library" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_WWAN_Connection_Manager_after_Sony_Shared_Library.png" alt="" width="539" height="261" /></a><br />
And then a new device in Device Manager:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_WWAN_Connection_Manager_after_Sony_Shared_Library2.png"><img class="alignnone size-full wp-image-1416" title="Sony_VAIO_WWAN_Connection_Manager_after_Sony_Shared_Library2" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_WWAN_Connection_Manager_after_Sony_Shared_Library2.png" alt="" width="301" height="113" /></a><br />
And OneClick Internet can find the device. You should be able to connect but you might need to edit APN Settings before it works:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_One_Click_Internet_Working.png"><img class="alignnone size-full wp-image-1417" title="Sony_VAIO_One_Click_Internet_Working" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_One_Click_Internet_Working.png" alt="" width="412" height="236" /></a><br />
But still, only a grey screen on above but after another reboot it worked (notice it will minimize to the taskbar after starting by default):<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_WWAN_Connection_Manager_after_reboot.png"><img class="alignnone size-full wp-image-1418" title="Sony_VAIO_WWAN_Connection_Manager_after_reboot" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_WWAN_Connection_Manager_after_reboot.png" alt="" width="329" height="372" /></a><br />
You might not recognize this design of the VAIO Smart Network (this is 3.0.0.09080), but this is because it&#8217;s a newer version than the old:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_Smart_Network_working.png"><img class="alignnone size-full wp-image-918" title="Sony_VAIO_Smart_Network_working" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_Smart_Network_working.png" alt="" width="197" height="62" /></a></li>
<li><strong>VAIO Event Service</strong> enables the Fn + Function keys for shortcuts. By default, the volume and mute works out-of-the-box on Windows 7 but not the others. It will also show you the volume/brightness etc which is not default in Windows:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_Event_Service.png"><img class="alignnone size-full wp-image-1419" title="Sony_VAIO_Event_Service" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_Event_Service.png" alt="" width="289" height="104" /></a><br />
Notice that you first need to install the Preinstalled version and then the Updates version (5.0.3.05060).</li>
<li><strong>Memory Card Reader Writer Driver MS</strong> is the update to get rid of the last Warning on &#8220;Base System Device&#8221; and update it to a &#8220;Ricoh Memory Stick Host controller&#8221;.<br />
<strong></strong></li>
<li><strong>VAIO Peripherals Metadata</strong> apparently makes sure that the Devices and Printers folder gives a quick and correct view of devices connected to your computer so installed that also.</li>
<li>When <strong>VAIO Update</strong> was installed, it recommended to update the following updates so I suggest to install them aswell:</li>
<ul>
<li><strong>Bluetooth Enumeration patch &#8211; 2009101501</strong>.</li>
<li><strong>Wireless LAN Driver (Intel) &#8211; 13.0.0.107</strong>.</li>
</ul>
</ul>
<p>Then, not yet confirmed (the user is still testing), it seems like the following is needed:</p>
<ul>
<li><strong>Pointing Device Touchpad</strong>. Driver for the mousepad is said to be needed because it tends to, after a while of usage, completely error out so you better install that driver to.</li>
<li>Local Administrative Rights might be needed for the 3G card to work.</li>
<li>The &#8220;SDA Standard Compliant SD Host Controller&#8221; not longer showed a yellow warning sign but it still didn&#8217;t work. I&#8217;ve seen Sony VAIO laptops when this problem comes and go so make sure to install the driver.</li>
</ul>
<p>Some other random notes:</p>
<ul>
<li><strong>Setting Utility Series</strong> is needed for the S1, S2 buttons to work but since I don&#8217;t use them, I didn&#8217;t install them.<br />
<strong></strong></li>
<li><strong>SPIC Driver</strong> (Sony Programmable I/O Controller device driver) but have not yet investigated what it&#8217;s for.</li>
<li><strong>SFEP Driver</strong> (Sony Firmware Extension Parser driver) but have not yet investigated what it&#8217;s for.</li>
<li><strong>VAIO Control Center</strong> seems to make it possible to configure many different settings, but do far I don&#8217;t miss anything out-of-the-box on Windows 7.</li>
<li><strong>VAIO Gate</strong> is the &#8220;MAC-lookalike&#8221; launcher bar at the top of the screen:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_Gate_Service.png"><img class="alignnone size-full wp-image-1421" title="Sony_VAIO_Gate_Service" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_Gate_Service.png" alt="" width="459" height="151" /></a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/other/what-drivers-are-important-to-install-on-a-sony-vaio-vgn-z51wgb-and-windows-7-x64/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What drivers are important to install on a Sony VAIO (VGN-Z21WN/B) and Windows 7 x64</title>
		<link>http://www.sysadminlab.net/other/what-drivers-are-important-to-install-on-a-sony-vaio-vgn-z21wnb-and-windows-7-x64</link>
		<comments>http://www.sysadminlab.net/other/what-drivers-are-important-to-install-on-a-sony-vaio-vgn-z21wnb-and-windows-7-x64#comments</comments>
		<pubDate>Mon, 02 Jan 2012 18:45:44 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[Sony VAIO]]></category>
		<category><![CDATA[VGN-Z21WN]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=914</guid>
		<description><![CDATA[If you&#8217;ve read my article on what drivers are needed for the HP EliteBook 8440p you understand that I like to keep my computer clean and keep the installed stuff at the minimum. Well, I got my hands on a Sony VAIO VGN-Z21WN/B or VGN-Z21WN_B if you used the command wmic csproduct get name. This Sony VAIO model has to be the worst when it comes to supporting us techies when it comes to drivers. Just look at their download [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve <a href="http://www.sysadminlab.net/hardware/what-drivers-and-software-are-important-to-install-on-a-hp-8440p-elitebook">read my article on what drivers are needed for the HP EliteBook 8440p</a> you understand that I like to keep my computer <em>clean </em>and keep the installed stuff at the minimum.</p>
<p>Well, I got my hands on a Sony VAIO VGN-Z21WN/B or VGN-Z21WN_B if you used the command <strong>wmic csproduct get name</strong>.</p>
<p>This Sony VAIO model has to be the <strong>worst </strong>when it comes to supporting us techies when it comes to drivers. Just look at their download page and they have some 30+ stuff to install but many of them are not explained at all. Once downloaded you might have a Version.txt in the archive but all it says is the version, not explanation at all. One reason why it was hard to get everything to work is because many drivers are for x86 only and I wanted to install x64. I didn&#8217;t get everything to work but the most essential worked perfectly. I hope this will be valuable for some&#8230;</p>
<p>Oh and have you wondered how to get into BIOS on a Sony Vaio? On this model it was <strong>F2</strong>. But some other states F1 or DEL which might apply to other Vaio models.</p>
<p>So what I did was to install Windows 7 x64 with SP1 and ran Windows Update and took it from there &#8230; From start I had three things in the Device Manager not working:</p>
<ul>
<li>Standard VGA Graphics Adapter</li>
<li>Base System Device</li>
<li>SDA Standard Compliant SD Host Controller</li>
</ul>
<p>Then I downloaded some drivers from <a href="http://www.sony.co.uk/support/en/product/VGN-Z21WN_B/updates">their website</a>.</p>
<ul>
<li><strong>VAIO Update</strong>. According to the startup it says &#8220;<em>VAIO Update helps to keep your VAIO tuned fro optimum performance. It allows you to check for important notices about your VAIO and run the latest updates for your computer.</em>&#8221; Sounds good, so I started with this and hoping it would install everything I needed but nope&#8230; But I still kept it. When you continue the initial setup wizard it will ask you to enable:<br />
- Communicate with the update server at regular intervals and notify of updates<br />
- Enable VAIO Auto Update (VAIO Auto Update is a function to automatically install important VAIO updates)<br />
- Enable VAIO Software Self Update (VAIO Software Self Update is a function to check for update information and perform updates when running Sony Software)<br />
At the time of this article VAIO Update was at version 5.1.1.04090 for this model.</li>
<li><strong>Shared Library</strong> seems to be [<a href="http://forum.notebookreview.com/sony/408987-sony-shared-library-problem.html">link</a>]: <em>Video codec Library in order to help the media applications like &#8220;VAIO Media&#8221;,&#8221;VAIO ZONE&#8221;,&#8221;VAIO Video &amp; Photo Suite&#8221;,&#8221;SonicStage&#8221; and &#8220;SonicStage Mastering Studio&#8221; to decode special media files from sony itself, like OMA music format, the newest version which added support of AVCHD format.</em></li>
<li><strong>Smart Network</strong> is the little grey bar where you can enable and disable the different network modules (WWAN, WLAN, Bluetooth etc). WWAN is off by default so this thing is mandatory if you ever want to run the WWAN (3g) module which seems to be a GlobeTrotter model BTW. But when I installed it (you have to reboot to get it automatically to start) I got the buttons &#8220;grey&#8221; and non-functional like this:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Smart_Network_greyed_out_and_not_working.png"><img class="alignnone size-full wp-image-917" title="Smart_Network_greyed_out_and_not_working" src="http://www.sysadminlab.net/wp-content/uploads/Smart_Network_greyed_out_and_not_working.png" alt="" width="361" height="81" /></a><br />
But once I installed either (sorry, can&#8217;t remember which one) VAIO Update or Shared Library I got it working:<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_Smart_Network_working.png"><img class="alignnone size-full wp-image-918" title="Sony_VAIO_Smart_Network_working" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_Smart_Network_working.png" alt="" width="197" height="62" /></a></li>
<li>When I switched on the WWAN (3G, the one to the left) I saw <strong>GlobeTrodder HDSPA Modem</strong> gettings added to Device Manager (as an Unknown Device). But on Sony&#8217;s website, there&#8217;s only a 32-bit version available.</li>
<li><strong>Wireless Connection Manage</strong>r (at this time, 2.3.0.797) but when starting it, it said <strong>Device not found</strong>:<br />
Then I tried to install the <strong>WWAN Driver</strong> even though it was 32 bit &#8211; no luck.</li>
<li>&#8230; so I gave up and went to the <a href="http://www.option.com/en/support/software-download/">Option website</a>, entering my IMEI and got a downloaded the files. There it told me it was model GTM378 E. After installing (only the GlobeTrotter Connect) and a reboot &#8211; it worked, but the &#8220;Smart Card&#8221; still was left uninstalled.<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_GlobeTrotter_and_driver.png"><img class="alignnone size-full wp-image-920" title="Sony_VAIO_GlobeTrotter_and_driver" src="http://www.sysadminlab.net/wp-content/uploads/Sony_VAIO_GlobeTrotter_and_driver.png" alt="" width="503" height="172" /></a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/other/what-drivers-are-important-to-install-on-a-sony-vaio-vgn-z21wnb-and-windows-7-x64/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Part 1: How to Remote Control IR-devices with iTach WF2IR, iPhone/Android, OpenRemote</title>
		<link>http://www.sysadminlab.net/other/part-1-how-to-remote-control-ir-devices-with-itach-wf2ir-iphoneandroid-openremote</link>
		<comments>http://www.sysadminlab.net/other/part-1-how-to-remote-control-ir-devices-with-itach-wf2ir-iphoneandroid-openremote#comments</comments>
		<pubDate>Tue, 20 Dec 2011 09:42:59 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Home Entertainment]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iTach]]></category>
		<category><![CDATA[openremote]]></category>
		<category><![CDATA[WF2IR]]></category>

		<guid isPermaLink="false">http://www.sysadminlab.net/?p=1329</guid>
		<description><![CDATA[Some people e-mailed me and wanted to know more about how I control my home entertainment network with my iPhone (see my overview article with screenshots). So still, quite off topic for this blog, but here we go&#8230; I got OpenRemote, the open source remote control software, running on my iPhone (also works on iPad, Android) with my Global Cache WF2IR iTach and wanted to program it to remote control my Mac Mini (this scenario will create a button pressing [...]]]></description>
			<content:encoded><![CDATA[<p>Some people e-mailed me and wanted to know more about how I control my home entertainment network with my iPhone (see my <a href="http://www.sysadminlab.net/other/my-home-entertainment-network">overview article</a> with screenshots). So still, quite off topic for this blog, but here we go&#8230;</p>
<p>I got <a href="http://www.openremote.org">OpenRemote</a>, the open source remote control software, running on my iPhone (also works on iPad, Android) with my Global Cache <a href="http://www.globalcache.com/products/itach/wf2irspecs/">WF2IR iTach</a> and wanted to program it to remote control my Mac Mini (this scenario will create a button pressing DOWN on my Apple Remote to control <a href="http://www.plexapp.com/">Plex</a>). One, maybe easier, alternative is to use <a href="http://www.iruleathome.com">iRule At Home</a> which is a commercial product but since I like Open Source and like playing around myself, I decided to give it a try.</p>
<p>I started out checking the <a href="http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+Navigation+Elements">Navigation Tutorial</a> video to figure out the basics to create some buttons. Then I went into <a href="http://designer.openremote.org/">Online Designer</a> and Building Modeler and choose <strong>New -&gt; New Device</strong> and name it whatever you like. Then select it and choose <strong>New -&gt; New Command</strong>. Choose TCP/IP protocol and set the name to the command, I called it &#8220;MAC Mini Down&#8221;. IP-address is the IP of your WF2IR and the Port is 4998.</p>
<p>Then the complicated part, <strong>Command</strong>, which is not very obvious. For some more technical details, check <a href="http://www.openremote.org/display/forums/global+cache+gc-100+setup">this thread</a>. But for me it turned out to be:</p>
<blockquote><p>sendir,<span style="color: #ff0000;">1</span>:<span style="color: #00ff00;">1</span>,1,37425,<span style="color: #ffff00;">1</span>,1,342,171,22,22,22,64,22,64,22,64,22,22,22,64,22,64,22,<br />
64,22,64,22,64,22,64,22,22,22,22,22,22,22,22,22,64,22,22,22,22,22,64,22,64,<br />
22,22,22,22,22,22,22,22,22,64,22,22,22,64,22,22,22,64,22,22,22,22,22,22,22,<br />
1498,342,85,22,3742</p></blockquote>
<p>Red: Is &lt;mod-addr&gt;, and for me that&#8217;s always 1.<br />
Green: Is &lt;conn-addr&gt;, the port on the WF2IR which is 1, 2 or 3 (counting from left). I have the IR-blaster for the Receiver connected to 1, the TV to 2 (and this is a combined RF sender aswell which allow me to switch the lights on/off with Nexa &#8211; more on that in another post) and MAC to 3.<br />
Yellow: Is &lt;repeatcount&gt;, the number of repeats it should perform.</p>
<p>Now how did I figure out the rest? Well, I used ILearn.exe, choosed iTach Learner in the dropbox, put the IP of the iTach and choosed Connect. Then I pointed my Apple Remote towards the iTach and pressed DOWN. I put &#8220;DOWN&#8221; in the Button Name and pressed Save Data. Keep on doing that for all your commands. The iTach is pretty picky so make sure to place the remote on a flat surface and keep it still while pressing the button.<br />
<a href="http://www.sysadminlab.net/wp-content/uploads/iTach_WF2IR_iLearn_OpenRemote.png"><img class="alignnone size-full wp-image-1330" title="iTach_WF2IR_iLearn_OpenRemote" src="http://www.sysadminlab.net/wp-content/uploads/iTach_WF2IR_iLearn_OpenRemote.png" alt="" width="737" height="606" /></a></p>
<p>Don&#8217;t forget to save in Designer, Sync with modeler from your controller and kill the OpenRemote on your iPhone and restart it and it will reload the config.</p>
<p>Then you have to setup OpenRemote in your server and on your iPhone but their website has <a href="http://openremote.org/display/docs/OpenRemote+Documentation">pretty good documentation</a> for that. Also, check out the <a href="http://openremote.org/display/docs/OpenRemote+2.0+How+To+-+Integrating+GlobalCache">OpenRemote Tutorial for iTach</a>.</p>
<p>Also see, <a href="http://www.sysadminlab.net/other/part-2-how-to-turn-lights-onoff-using-an-iphoneandroid-openremote-itach-wf2ir-and-nexa">Part 2: How to turn lights on/off using an iPhone/Android, OpenRemote, iTach WF2IR and Nexa</a>.</p>
<p><strong><a class="row-title" title="Edit “Part 2: How to turn lights on/off using an iPhone/Android, OpenRemote, iTach WF2IR and Nexa”" href="post.php?post=1324&amp;action=edit">Part 2: How to turn lights on/off using an iPhone/Android, OpenRemote, iTach WF2IR and Nexa</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadminlab.net/other/part-1-how-to-remote-control-ir-devices-with-itach-wf2ir-iphoneandroid-openremote/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

