<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type='text/xsl' href='http://dmoisan.spaces.live.com/mmm2008-07-24_12.50/rsspretty.aspx?rssquery=en-US;http%3a%2f%2fdmoisan.spaces.live.com%2fcategory%2fSBS%2ffeed.rss' version='1.0'?><rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:msn="http://schemas.microsoft.com/msn/spaces/2005/rss" xmlns:live="http://schemas.microsoft.com/live/spaces/2006/rss" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>David Moisan's Blog: SBS</title><description /><link>http://dmoisan.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=catSBS</link><language>en-US</language><pubDate>Tue, 19 Aug 2008 23:40:44 GMT</pubDate><lastBuildDate>Tue, 19 Aug 2008 23:40:44 GMT</lastBuildDate><generator>Microsoft Spaces v1.1</generator><docs>http://www.rssboard.org/rss-specification</docs><ttl>60</ttl><cf:parentRSS>http://dmoisan.spaces.live.com/blog/feed.rss</cf:parentRSS><live:type>blogcategory</live:type><live:identity><live:id>-7653021637502406614</live:id><live:alias>dmoisan</live:alias></live:identity><cf:listinfo><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="typelabel" label="Type" /><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="tag" label="Tag" /><cf:group element="category" label="Category" /><cf:sort element="pubDate" label="Date" data-type="date" default="true" /><cf:sort element="title" label="Title" data-type="string" /><cf:sort ns="http://purl.org/rss/1.0/modules/slash/" element="comments" label="Comments" data-type="number" /></cf:listinfo><item><title>Spreading a Meme: Scripting/Sysadmin</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!409.entry</link><description>&lt;p&gt;&lt;a href="http://j3x7ag.blu.livefilestore.com/y1pNGkFf656nArHnybhpm2-Nzzdn82kUw0P9bTWVY4nFxsyWkF1HAdIPFu7PQZB3Fk740-3mAZhDN9oM3wY_3VwRg?PARTNER=WRITER"&gt;&lt;img title=powershellscreenshot style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px" height=288 alt=powershellscreenshot src="http://blufiles.storage.msn.com/y1pXY1icgnGbI1pTGzjjN9TFSZN-EkY3E1X5N5CWXY-XETJa3Kt9TkTkSH-7-AoM7TxsDi4L7078Y50Vj96vOMNeuTEhaw_AHys?PARTNER=WRITER" width=380 border=0&gt;&lt;/a&gt;   &lt;p&gt;&lt;a href="http://www.mindofroot.com/2008/06/10/scriptingsysadmin-meme/"&gt;Mind Of Root&lt;/a&gt; is spreading a meme!  What was one’s first job as a sysadmin and when did they learn scripting? &lt;h5&gt;&lt;strong&gt;How old were you when you started using computers?&lt;/strong&gt;&lt;/h5&gt; &lt;p&gt;I was, um, 16, and a freshman at Salem High.  We had a PDP-11/60 and a computer lab.  I loved it. &lt;h5&gt;What was my first machine?&lt;/h5&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt;My brother bought a TRS-80 Color Computer in my junior year of HS, and I used it through college, eventually buying enough parts for it that I had half ownership.  The first computer I owned personally was a 286 PC clone in 1991. &lt;h5&gt;What was the first real script you wrote?&lt;/h5&gt; &lt;p&gt;In high-school, I and my brother and several of our friends took turns being sysadmin for the PDP-11.  It ran RSTS, which was a BASIC-based timeshare system for educational use.  Its scripting language was BASIC!  I wrote a script to backup files from our system disk (a large removable disk pack) to our secondary disk (another pack).  The backup system on RSTS, like most all minicomputers at the time, was made to use tape as the backup media, like the (now old-style) NTBackup, and we didn’t have any tape drives. &lt;h5&gt;&lt;strong&gt;What scripting languages have you used?&lt;/strong&gt;&lt;/h5&gt; &lt;p&gt;BASIC (!!), VBScript, CMD, Perl and now PowerShell. &lt;h5&gt;&lt;strong&gt;What was your first professional sysadmin gig?&lt;/strong&gt;&lt;/h5&gt; &lt;p&gt;That would be the job I hold now at Salem Access Television, the first job I’ve had in a while where I get to be sysadmin, though of course I have much deeper responsibilities there. &lt;h5&gt;If you knew then what you know now, would have started in IT?&lt;/h5&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt;When I got out of college, I felt a little disillusioned and considered technical writing.  I never seriously considered a non-technical career (like management), but I wasn’t going to be a coder as I had originally trained for.  After going through the “Parachute” job book too many times.  I now believe IT was the right thing for me after all.  It’s a craft of sorts. &lt;h5&gt;&lt;strong&gt;If there is one thing you learned along the way that you would tell new sysadmins, what would it be?&lt;/strong&gt;&lt;/h5&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt;Get involved with community;  it’s much easier to stay connected than it was when I was an intimidated freshman in college.  I was alone for too much of my college life.  Don’t be afraid to look at the big picture;  as you get more experience, you won’t see your world only through a shell prompt.  Also don’t forget the larger community—at SATV I am making a difference for us in how we serve our community.  Keeping things smooth can be its own reward.   &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;h5&gt;What’s the most fun you’ve ever had scripting?&lt;/h5&gt; &lt;p&gt;I have fun just learning scripting, though I admit I haven’t had the time or energy to get into the real esoteric stuff that’s in PowerShell CTP 2, though I do run it and do tinker from time to time. &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;h5&gt;&lt;strong&gt;Who am I calling out?&lt;/strong&gt;&lt;/h5&gt; &lt;p&gt;SBS 2008 has PowerShell built in.  It will be the first exposure to PowerShell for many SBS admins, so I want to call out people in the SBS community: &lt;ul&gt; &lt;li&gt;&lt;a title="THE OFFICIAL BLOG OF THE SBS &amp;amp;quot;DIVA&amp;amp;quot;" href="http://msmvps.com/blogs/bradley/default.aspx"&gt;SBS Diva&lt;/a&gt; &lt;li&gt;&lt;a title="David Overton's Blog and Discussion Site" href="http://davidoverton.com/blogs/"&gt;David Overton&lt;/a&gt; &lt;li&gt;&lt;a title="Reload Nuggets" href="http://reloadnuggets.com/"&gt;Reload Nuggets&lt;/a&gt; &lt;li&gt;&lt;a title="Knight-time Ramblings" href="http://blog.chrisara.com.au/"&gt;Knight-time Ramblings&lt;/a&gt; &lt;li&gt;&lt;a title="Bill's Bit Bucket" href="http://bleeman.spaces.live.com/"&gt;Bill's Bit Bucket&lt;/a&gt;&lt;/ul&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Spreading+a+Meme%3a+Scripting%2fSysadmin&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!409.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!409.entry</guid><pubDate>Tue, 17 Jun 2008 13:58:14 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!409/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!409.entry#comment</wfw:comment><dcterms:modified>2008-06-17T13:58:14Z</dcterms:modified></item><item><title>Working with SBS 2008, Part 3: Migration Migraines</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!400.entry</link><description>&lt;p&gt;&lt;a href="http://j3x7ag.blu.livefilestore.com/y1pNGkFf656nAp_-sOOO7KO6e3916XglWzQb-4E8fhYEWmvAAJOjQJKJkN-wkUVQ1rMmA6dQ6DVPcsb7sIzWk-Ihw?PARTNER=WRITER"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px" height=399 alt="SBS 2008 Setup (6)" src="http://blu1.storage.msn.com/y1pXY1icgnGbI1s2-fXx3lqtjEfM6HOQxYgy9BVMK-WeIgduJ3gEPaBQS484qO43M0V248_Y8W4CxVFASHW1Xw57ADEK8emCA8J?PARTNER=WRITER" width=531 border=0&gt;&lt;/a&gt;  &lt;p&gt;If you saw the original drafts of my last two posts that I stupidly put online, &lt;a title="Working with SBS 2008, Part 1- Single-Server Migration" href="http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!373.entry"&gt;Working with SBS 2008, Part 1- Single-Server Migration&lt;/a&gt; and &lt;a title="Working With SBS 2008, Part 2- Answer files and the installation" href="http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!376.entry"&gt;Working With SBS 2008, Part 2- Answer files and the installation&lt;/a&gt;, you know I tried doing a &lt;a href="http://www.sbsmigration.com/"&gt;Swing&lt;/a&gt; migration on my &amp;quot;old&amp;quot; SBS 2008 beta box.  Didn't work.  But I still got my server migrated, though the swing was a complete bust. &lt;p&gt;There were three things I needed migrated:  My user profile on my workstation, my email and my Sharepoint site (which only had a few items in it as a test).  There were some other files on the server I wanted saved but those were trivial to deal with. &lt;p&gt;The profile was the easiest.  I used the &lt;a title="Download details Windows User State Migration Tool (USMT) Version 3.0.1" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=799ab28c-691b-4b36-b7ad-6c604be4c595&amp;amp;displaylang=en"&gt;Windows User State Migration Tool (USMT) Version 3.0.1&lt;/a&gt;.  It's the command-line scriptable counterpart to the Windows migration wizard included in Vista and XP.  It was easier yet to save the profile when I stopped trying to websurf on the machine while USMT was running! &lt;p&gt;Sharepoint 3.0 is backed up via the Sharepoint Site Administration page.  Wish I could say how the restore went but I accidentally deleted the backup files. &lt;p&gt;An obstacle I ran into was the backup volume on the old server.  SBS 2008 uses disk-based backup and configures a volume with a VHD file, the same format as Virtual Server and Virtual PC(though the VHD has no boot sector and cannot be used for virtual-to-physical migrations.)   &lt;p&gt;You can open the disk, extract the VHD and use &lt;a href="http://www.petri.co.il/mounting-vhd-files-with-vhdmount.htm"&gt;vhdmount&lt;/a&gt; from Virtual Server to access the files I wanted to restore, but I really wanted my new copy of SBS to recognize the restore volume and use it to restore applications under Windows, much as the System Restore feature of the Server 2008/Vista install disk lets you mount your backup disk and restore from it.   &lt;p&gt;Apparently, Windows Server Backup doesn't do that, so it's vhdmount for me.  I used that on the new SBS machine to extract the Exchange databases from the old backup, which are in the directory c:\program files\microsoft exchange\mailbox\first storage group\mailbox database.edb. &lt;p&gt;This is where I ran into a wall:  I copied the mailbox directory to a temp directory and ran the Exchange Troubleshooting Assistant to create a Recovery Storage Group to hold the restored database and merge the mailboxes (only mine!) into the new database. &lt;p&gt;This is what happened instead: &lt;p&gt;&lt;font face="Courier New" size=2&gt;Log Name:      Application&lt;br&gt;Source:        MSExchangeIS&lt;br&gt;Date:          6/3/2008 8:47:28 AM&lt;br&gt;Event ID:      1088&lt;br&gt;Task Category: General&lt;br&gt;Level:         Error&lt;br&gt;Keywords:      Classic&lt;br&gt;User:          N/A&lt;br&gt;Computer:      SLAPPY.dmproductions.local&lt;br&gt;Description:&lt;br&gt;The information store could not be loaded because the distinguished name (DN) /O=[&lt;em&gt;a different site name for the SBS beta&lt;/em&gt;]/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN= of message database &amp;quot;Recovery Storage Group\Mailbox Database&amp;quot; does not match the DN of directory /O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=. &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New" size=2&gt; The database may have been restored to a computer that is in an organization or site different than the original database. &lt;/font&gt; &lt;p&gt;By design, I cannot mount the old database.  I made the conclusion only after many contortions where I ran &lt;a href="http://technet.microsoft.com/en-us/library/aa998249.aspx"&gt;eseutil&lt;/a&gt; with many different options, thinking the database was corrupted.  It likely was not;  I just couldn't do anything with it. &lt;p&gt;Nice thinking by the SBS team, and that is not sarcasm.  MS product managers are adamant that one cannot use beta code for production nor can one expect to migrate between betas or between betas and release candidates.  This is the first time I've ever seen it enforced in a database! &lt;p&gt;I did have a PST file for backup, but because I forgot a checkbox when saving my mail, I only had an older copy from two months ago.   Annoying--I did do my business with the Salem Commission on Disabilities via email, but not a big disaster for me.  &lt;p&gt;This migration was a migraine, and I'm bitterly disappointed I could not do a Swing.  But, SBS 2008 runs fine and when RC1 comes, I will have forgotten this. &lt;p&gt;I'm moving on.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Working+with+SBS+2008%2c+Part+3%3a+Migration+Migraines&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!400.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!400.entry</guid><pubDate>Fri, 06 Jun 2008 23:56:56 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!400/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!400.entry#comment</wfw:comment><dcterms:modified>2008-06-06T23:56:56Z</dcterms:modified></item><item><title>Working With SBS 2008, Part 2: Answer files and the installation</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!376.entry</link><description>&lt;p&gt;Continued from my &lt;a href="http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!373.entry"&gt;last post.&lt;/a&gt;  &lt;p&gt;To move on with our migration, &lt;a href="http://technet.microsoft.com/en-us/library/cc527566.aspx"&gt;we need to go through the steps to create an answer file&lt;/a&gt; to define our new network, not only defining the name and IP address of our new server, &lt;strike&gt;but also the name and IP of our &amp;quot;swing&amp;quot; server that we'll be running in Virtual PC on my workstation.&lt;/strike&gt;  &lt;p&gt;A few housekeeping details were mentioned in the &lt;a title="Reload Nuggets" href="http://reloadnuggets.com/?p=118"&gt;Reload Nuggets&lt;/a&gt; post that I'll repeat here:  Unlike SBS 2000 and SBS 2003, SBS 2008 Premium &lt;u&gt;does not include ISA Server!&lt;/u&gt;  You'll need an external router or firewall device on the edge of your network.  It's beyond the scope of this blog post to suggest a firewall, since it depends much on what, if any, services you need exposed on the Net and the resources you have available.   Suffice it to say there are numerous options, from a simple cheap broadband router, to a Linux-based junk-computer firewall, all the way to a member server running Windows 2008 and ISA 2006 (which you can do with the 2nd copy of Windows Server that comes with SBS 2008 Premium.)   &lt;p&gt;Next step is to run the SBS Answer File Generator, which is in the /tools folder of  SBS 2008 Disc 1.  Make life easier on yourself and just copy that whole directory to your XP or Vista workstation.  Run SBSAfg.exe.   These are the settings we'll use: &lt;p&gt;Installation Type:  New Installation &lt;ul&gt; &lt;li&gt;Get Installation Updates: True  &lt;li&gt;Run Unattended: False  &lt;li&gt;Clock and Time Zone settings:  [set these as desired]  &lt;li&gt;Company information:  [fill this out as appropriate]  &lt;li&gt;Server Name:  SLAPPY [I name my machines after &lt;a href="http://en.wikipedia.org/wiki/Animaniacs"&gt;Animaniacs&lt;/a&gt; characters &amp;lt;g&amp;gt;.  Slappy's &lt;a href="http://en.wikipedia.org/wiki/Slappy_Squirrel"&gt;a cranky mean squirrel&lt;/a&gt;]  &lt;li&gt;Domain Name:  [your existing domain name, which will be &amp;quot;something.local&amp;quot; if you kept up with SBS best practices]  &lt;li&gt;Password:  [you should know this one]  &lt;li&gt;Domain Administrator Account Name: [you should know this too...]  &lt;li&gt;DHCP is running on the source server:  False  &lt;li&gt;Default Gateway:  x.x.x.1  [your router's or edge firewall's address]  &lt;li&gt;Server IP address:  x.x.x.x  &lt;/ul&gt; &lt;p&gt;Save the answer file (sbsanswerfile.xml) and copy it to a USB stick.  You do want to print the answer file from the program as well.  Make a hard copy and save it to XPS or PDF for reference.  This is something you'll want to keep in your file or customer's file when you do a &amp;quot;real&amp;quot; installation. &lt;p&gt;Boot the machine you will use for your SBS machine and insert Disc 1.  Plug in your USB key with the answer file and any disk drivers you might need.  Go through the dialogs and start the installation.  This part takes about 45 minutes. &lt;p&gt;After several reboots, you'll see the wizard &amp;quot;Install Windows Small Business Server 2008&amp;quot; which will take you through the information you supplied in your answer file.   &lt;p&gt;There's more waiting, more rebooting and finally: &lt;p&gt;&lt;a href="http://j3x7ag.blu.livefilestore.com/y1pNGkFf656nAri4dKxIUaSBBe_KmgVXryKaJpn8nE75cd4kSh0KW4YCXtMRUgm0pDEVmyPN-a26ztqqn37FIWq3w?PARTNER=WRITER"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px" height=377 alt="SBS 2008 Setup (6)" src="http://blu1.storage.msn.com/y1pXY1icgnGbI3ie7oqN1qwokHrLYmV3131wvqfzz9xQ8nRs6BHew-mKX3JBXlxY9DX65bNNbs7l9suA93XQNpbrab9zP3xXadW?PARTNER=WRITER" width=501 border=0&gt;&lt;/a&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Working+With+SBS+2008%2c+Part+2%3a+Answer+files+and+the+installation&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!376.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!376.entry</guid><pubDate>Sat, 31 May 2008 20:54:51 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!376/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!376.entry#comment</wfw:comment><dcterms:modified>2008-06-06T01:35:34Z</dcterms:modified></item><item><title>Working with SBS 2008, Part 1: Single-Server Migration</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!373.entry</link><description>&lt;p&gt;The &lt;a href="http://technet.microsoft.com/en-us/evalcenter/cc184870.aspx"&gt;SBS 2008 Technical Preview&lt;/a&gt; is now out. &lt;a href="http://reloadnuggets.com/?p=118"&gt;Reload Nuggets&lt;/a&gt; has an excellent walkthrough if you are installing SBS 2008 clean.   If this applies to you, go there immediately and stop reading.  Otherwise: &lt;p&gt;I mentioned in my earlier post that I have a weird SBS site at home (in the corner of my bedroom where the network cables are coiled up, under my workbench.)  Microsoft officially supports two scenarios for SBS:  A new clean installation--which is virtually automatic, and a two-server migration where the old server is connected to the new one and files, AD, Sharepoint and Exchange are copied from old to new. &lt;p&gt;To be fair to Microsoft, there are very few SBS customers that are in a position to do a same-server migration.  SBS 2008 is 64-bit only;  SATV, like most other SBS shops, has a 32-bit machine and it cannot be migrated to the new SBS (though it can and probably will be migrated with the MS two-server scenario).  &lt;p&gt;That was exactly my position when I first participated in the private SBS 2008 beta:  I have a 64-bit Tyan Tomcat 1000S (Opteron 1215) and 4 gigs of memory.  I did get SBS 2008 onto the machine and my personal shop migrated, albeit with enough rough edges to cut my fingers off.  &lt;p&gt;&lt;strike&gt;We're doing a Swing Migration.&lt;/strike&gt;  Actually, we aren't.  After much testing, I've found it is simply not feasible to perform a migration the way I had first thought. &lt;p&gt;This is the result of my trying to do a &lt;a href="http://www.sbsmigration.com/"&gt;Swing migration&lt;/a&gt;: &lt;p&gt;&lt;a href="http://j3x7ag.blu.livefilestore.com/y1pNGkFf656nAonVJaX1JdAZnaFIupUb5rXAZ2tpJDkk3HEn1oqd0fDLOCbpKT-pKqV6VMHA30ZPsdyuWG_D3zE-A?PARTNER=WRITER"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px" height=448 alt="Small Business Server 2008" src="http://blu1.storage.msn.com/y1pXY1icgnGbI335OAc9Ws_z8R0pgFdQ2v80Nv5YNsaJpOPT4ytj8kCWFXqDQh12uW5AbvdpYBOxiINvaLUO1_2a-jat5bXNPam?PARTNER=WRITER" width=597 border=0&gt;&lt;/a&gt;  &lt;p&gt;Ha ha, &amp;quot;non-critical&amp;quot;.  Sure.  Exchange and Sharepoint were missing and for some reason the install files were not on the machine and I could not find them on the DVD, likely buried in the disk image.  I really admire Jeff Middleton and wanted to perform his migration method, but it didn't work out.  Stupid of me to blog about it before I even knew if it would work!  My fault, not Jeff's. &lt;p&gt;But, I move on.  I used an answer file to get the machine named the way I like it and fit into the domain I already have, so that's my next post.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Working+with+SBS+2008%2c+Part+1%3a+Single-Server+Migration&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!373.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!373.entry</guid><pubDate>Sat, 31 May 2008 17:46:50 GMT</pubDate><slash:comments>5</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!373/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!373.entry#comment</wfw:comment><dcterms:modified>2008-06-06T00:55:46Z</dcterms:modified></item><item><title>SBS 2008: I can finally say what I've been doing for the past six months</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!367.entry</link><description>&lt;p&gt;My colleague &lt;a href="http://blog.mpecsinc.ca/2008/05/small-business-server-2008-rc0-public.html"&gt;Phillip E.&lt;/a&gt; writes about Small Business Server 2008: &lt;blockquote&gt; &lt;p&gt;For those of us on the private SBS 2008 &amp;quot;Cougar&amp;quot; beta program, we have been privileged to have access to the new RC0 build of SBS 2008 since late last Thursday.&lt;/blockquote&gt; &lt;p&gt;I think I can talk about what I've been doing for the past several months:  I was on the private beta for SBS 2008.  Microsoft still has the beta testers under an NDA for the beta bits that we tested, but I have my hands on the RC0 build and will give my impressions of it when I cut over to it on my personal box sometime next week. &lt;p&gt;Without going into too many details, I have a quirky home office with some weird requirements.  Combine that with a case of abandoned hardware (on a motherboard, no less!) and it was a very interesting beta! &lt;p&gt;As Phil puts it, SBS 2008 will be a steep(-ish) learning curve going from SBS 2003.  There's a lot that's different and I have had to resolve problems and make some decisions I've not made before in my testing.  &lt;p&gt;Vista, as you may know, makes some breaking security changes to try to enforce best practices amongst developers and users.  Windows Server 2008 similarly makes some changes, including Vista's changes, but most notably how Windows Backup works.  There are also changes in SBS itself to be well aware of, especially if you are an SBS Premium shop (as is Salem Access Television.) &lt;p&gt;On the other hand, It's been working out so far, since the post you're reading is passing through my SBS box.  I've always been a big fan of Microsoft's server products, and SBS 2008 is no exception. &lt;p&gt;I'll be liveblogging my latest installation.  Stay tuned for that one. &lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+SBS+2008%3a+I+can+finally+say+what+I've+been+doing+for+the+past+six+months&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!367.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!367.entry</guid><pubDate>Sun, 25 May 2008 01:48:31 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!367/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!367.entry#comment</wfw:comment><dcterms:modified>2008-05-25T01:48:31Z</dcterms:modified></item><item><title>Windows 2008 Conundrum:  Changing a motherboard or storage controller out from under Vista and Windows Server 2008</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!296.entry</link><description>&lt;p&gt;I've owned a personal SBS box for about five years.  I started in 2002 with an eval copy of SBS 2000 on an &lt;u&gt;old, old&lt;/u&gt; Pentium II 300 MHz, Intel 440BX.  I got an old copy of SBS 4.5 (!!!), which we once used at SATV until 2001.  That was very brief;  I moved to SBS 2003 shortly thereafter in 2004 or so.   &lt;p&gt;During that time I've had to change hardware out from under SBS many, many times.  My box is a quasi-test machine so I have looser standards for software trials than in a real production systems, essentially &amp;quot;run a backup and then run SETUP.EXE and see what happens.&amp;quot;  Mostly nothing happens.  Other times... &lt;p&gt;The big issue for Windows in general and servers in particular:  Storage controller drivers.  Nothing brings you to tears faster than to see &lt;a href="http://support.microsoft.com/kb/324103/en-us"&gt;&amp;quot;0x0000007B INACCESSIBLE_BOOT_DEVICE&amp;quot;&lt;/a&gt; on your very-necessary SBS box after moving it to a new controller. &lt;p&gt;The usual resolution involves a repair install where you can insert the Windows media, hit F6 and provide the storage drivers you need.  This is usually the only driver you really need to provide;  after that point, it's a matter of installing drivers in Windows as usual.  Vista and Windows Server 2008 let you provide drivers via a USB stick or other removable media.  This is excellent. &lt;p&gt;Unfortunately, the boot technology is changed from XP/2003.  There is no longer a repair install option.  The bootloader can scan the disk and detect Windows partitions, fixing the MBR if it's inconsistent, but it does not give an option to load a new driver. &lt;p&gt;I realize that Windows has never, ever had this option in a normal boot, but then again in &amp;quot;old&amp;quot; Windows (pre-NT), one could always open the hard disk with a boot floppy.  There was only one kind of IDE driver!  (But, sadly, a million kinds of CDROM drivers...) &lt;p&gt;NT and NTFS happened (a good thing, mind!) and you couldn't use your boot floppy for much of anything besides installing drivers though the option exists in Vista to this day. &lt;p&gt;Tim Anderson has a few ideas in his blog, &amp;quot;&lt;a href="http://www.itwriting.com/blog/?p=479#comment-61304"&gt;Changing the motherboard or storage controller underneath Windows XP and Vista&lt;/a&gt;&amp;quot;, that involve booting into a recovery CD like BartPE or WinPE and manually loading the correct driver, and the correct registry entries.    &lt;p&gt;This is a little scary to do by hand, but it's necessary.  Many times, one needs to recover a system that hasn't been backed up, but which is completely intact except that its storage drivers don't match the ones on the motherboard.   This is the situation I have most often faced as an SBS administrator. &lt;p&gt;I would boot the Windows install media, insert a floppy with the drivers and then do a repair install from the Windows media, and then run Windows Update to roll the updates forward to bring the machine back to normal and be done.   Works fine even on a server and even on the uber-complex SBS. &lt;p&gt;Now, with Vista and 2008, what do I do? &lt;p&gt;I've been fortunate not to have disk controller problems in Vista, but SBS 2008 is not far away and I still have no procedure for recovering from a changed disk controller. &lt;p&gt;What do I do? &lt;p&gt;I'm thinking this will involve WinPE.  More later.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Windows+2008+Conundrum%3a++Changing+a+motherboard+or+storage+controller+out+from+under+Vista+and+Windows+Server+2008&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!296.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!296.entry</guid><pubDate>Thu, 24 Jan 2008 02:06:57 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!296/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!296.entry#comment</wfw:comment><dcterms:modified>2008-01-24T02:06:57Z</dcterms:modified></item><item><title>Vantec NexStar 3 enclosures don't like some Intel boards</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!295.entry</link><description>&lt;p&gt;I'm all-AMD at my personal office, but we are a Dell shop at SATV, so this item from Philip got my attention. &lt;p&gt;I was in the market for enclosures recently and I settled on the Vantec NexStar 3.  It is a dual-interface 3.5&amp;quot;-disk enclosure with USB and eSATA.  Both my machines have eSATA ports so this was a good choice. &lt;p&gt;Philip had the worst thing happen (other than smoke) when connecting a new device to his server--lockup!  He has a ticket open with Vantec.  A point he made is that the newest revision of the Vantec is the one with problems.   &lt;p&gt;I've had no trouble with my Vantec, but unfortunately, it's also the new revision.  I'd love to test it at SATV but my external drives are all tied up with backups. &lt;p&gt;Source:  &lt;a href="http://blog.mpecsinc.ca/2008/01/new-vantec-nexstar-3-version-does-not.html"&gt;MPECS Inc. Blog: New Vantec NexStar 3 version does not like S3000AH Intel Boards&lt;/a&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Vantec+NexStar+3+enclosures+don't+like+some+Intel+boards&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!295.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!295.entry</guid><pubDate>Wed, 23 Jan 2008 01:40:12 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!295/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!295.entry#comment</wfw:comment><dcterms:modified>2008-01-23T01:40:12Z</dcterms:modified></item><item><title>Vista tip:  Using the DiskPart Command to Create a Bootable USB Flash Drive</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!281.entry</link><description>&lt;p&gt;Hat tip to &lt;a href="http://www.mpecsinc.ca/"&gt;Philip E.&lt;/a&gt; for this one! &lt;p&gt;One often needs to flash a BIOS with a boot disk.  Back in the day, this was done with floppy disks, but there are more and more problems in doing this. &lt;p&gt;For one, many BIOS images will not fit on a 1.44M floppy;  at best, you need two floppies, one to boot and one to hold the image.  (Similar to the old Linux boot/root floppy pair.)  Secondly and most importantly, the floppies are slow and none too reliable.  I have never bricked a computer from a bad BIOS flash and I would not miss it if I were to never experience this! &lt;p&gt;HP had a utility that would let you make a USB disk bootable if you provided a boot floppy (such as one made in XP), but it seems to have disappeared from their site.  The utility can be found here:  &lt;a title="http://www.bay-wolf.com/usbmemstick.htm" href="http://www.bay-wolf.com/usbmemstick.htm"&gt;http://www.bay-wolf.com/usbmemstick.htm&lt;/a&gt;. &lt;p&gt;But Vista has an easier way.  The diskpart utility now supports flash drives!  From a command prompt do: &lt;ul&gt; &lt;ul&gt; &lt;li&gt;On a Vista system plug in the USB flash drive to an available USB port (&lt;em&gt;ReadyBoost compatible is best&lt;/em&gt;)  &lt;li&gt;Start--&amp;gt;diskpart [Enter] (&lt;em&gt;UAC Prompt&lt;/em&gt;)  &lt;li&gt;list disk (&lt;em&gt;USB flash drive will show in the list - Disk 1 for this example&lt;/em&gt;)  &lt;li&gt;sel disk 1  &lt;li&gt;clean  &lt;li&gt;create par primary  &lt;li&gt;sel par 1  &lt;li&gt;act  &lt;li&gt;format fs=fat32 (&lt;em&gt;note that USB HDD's will need to be NTFS&lt;/em&gt;)  &lt;li&gt;exit&lt;/ul&gt;&lt;/ul&gt; &lt;p&gt;You'll then have to copy system files from the floppy (MSDOS.SYS and COMMAND.COM), plus any files you need to flash.  I have one USB stick that I keep a boot sector on to use for flashing machines.  (I don't routinely reformat any of my USB sticks.) &lt;p&gt;Original:  &lt;a href="http://blog.mpecsinc.ca/2007/11/windows-vista-using-diskpart-command-to.html"&gt;MPECS Inc. Blog: Windows Vista - Using the DiskPart Command to Create a Bootable USB Flash Drive&lt;/a&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Vista+tip%3a++Using+the+DiskPart+Command+to+Create+a+Bootable+USB+Flash+Drive&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!281.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!281.entry</guid><pubDate>Sun, 09 Dec 2007 19:22:15 GMT</pubDate><slash:comments>9</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!281/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!281.entry#comment</wfw:comment><dcterms:modified>2007-12-09T19:22:15Z</dcterms:modified></item><item><title>Cougar is Coming</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!273.entry</link><description>&lt;p&gt;I've applied to be a beta tester on the next version of SBS, codenamed &amp;quot;Cougar&amp;quot;.  There's been a buzz about Cougar, and Eric Ligman writes about &lt;a href="http://blogs.msdn.com/mssmallbiz/archive/2007/10/29/5770933.aspx"&gt;What is going to be in &amp;quot;Cougar?&amp;quot;&lt;/a&gt;  &lt;p&gt;Read the whole post, but two things to know about Cougar: &lt;ul&gt; &lt;li&gt;Cougar will be 64-bit.  This is required by Exchange 2007 which is 64-bit only &lt;li&gt;ISA Server will not be included in SBS.  Eric doesn't mention this, but this has made the rounds in the SBS blogosphere for the past year.&lt;/ul&gt; &lt;p&gt;64-bit machines aren't going to be a problem.  I am already running 64-bit on both my home machines.  By the time we plan a new server at SATV in a year, we will be buying 64-bit, and most likely a quad-core machine at that, assuming there are no eight-core CPU's in the meantime! &lt;p&gt;What is going to hurt some is losing ISA.  ISA Server is the best security software I've ever used.  I can understand what MS is doing though--they need to balance capabilities versus ease of integration.  ISA is a very hard piece of software to  coexist with (and on) the SBS domain controller. &lt;p&gt;The logging features of ISA are beyond compare and I will miss them.  But I've only once ever been asked to mine the logs for questionable web access, and I've almost never had to do log analysis.  I, and a lot of other small business IT professionals, just don't have the time to see who is banging on port 11345 for two hours on a Sunday morning.  (I used to have ISA page me for port scans.  That didn't last long.)  ISA has wonderful reports, but I never read them! &lt;p&gt;I expect to be able to live without ISA one way or another, by using the firewall features of our broadband router, or by using m0n0wall, or something of that sort.  But it is something SBS shops need to be aware of as you look towards Cougar.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Cougar+is+Coming&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!273.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!273.entry</guid><pubDate>Thu, 01 Nov 2007 03:39:00 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!273/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!273.entry#comment</wfw:comment><dcterms:modified>2007-11-01T03:45:14Z</dcterms:modified></item><item><title>Well, this bites!</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!270.entry</link><description>&lt;p&gt;My SBS box is down!  In the immortal words of Duke Nukem, &amp;quot;Well, &lt;strong&gt;this&lt;/strong&gt; s---ks!&amp;quot; &lt;p&gt;All due to a $3 piece of plastic! &lt;p&gt;&lt;a href="http://tkfiles.storage.msn.com/y1pm2-ywO4vGbzZPDh5CxF7t5yUPrNOihcpaotjNT7dCncoU4JxthafejQK46VytOb6ijb6NReXthk?PARTNER=WRITER"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px" height=309 alt="Tyan motherboard broken CPU bracket 006 annotated" src="http://tkfiles.storage.msn.com/y1pm2-ywO4vGbwY-S5wRFZsm3xyScoD83FLKCLOQlmZp8QseVWfEgR97EAjKthE06NYUMEXiln6poM?PARTNER=WRITER" width=411 border=0&gt;&lt;/a&gt;  &lt;p&gt;The clip on the CPU heatsink retainer broke violently on Sunday sometime between the 4th quarter of the Patriots game and the 1st inning of the Red Sox game.  (Hey, I'm a Boston sports fan through and through!)  I heard the snap but didn't realize what had happened until the system overheated and shut down.  Even then, I didn't know what happened until after I rebooted the system, noted the high temperatures, shut it down and found the heatsink was loose.   &lt;p&gt;Though this heatsink retainer is standard and works with the stock AMD CPU coolers I use, it is a surprisingly hard item to find.  Tyan would not send me a new one, so I ended up getting one from an eBay merchant and am waiting by the mailbox for it. &lt;p&gt;Unfortunately, I use the server to stream police scanner audio, and tonight is Halloween so I have to scramble for a replacement.  I miss my server!  At least Vista works great offline without a domain.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Well%2c+this+bites!&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!270.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!270.entry</guid><pubDate>Wed, 31 Oct 2007 18:03:11 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!270/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!270.entry#comment</wfw:comment><dcterms:modified>2007-10-31T18:03:11Z</dcterms:modified></item><item><title>Important change for SBS &amp; Vista shops: GPMC not part of Vista SP1</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!239.entry</link><description>&lt;p&gt;When Service Pack 1 for Vista is released, there'll be an important change to be aware of if you are running Vista in your SBS environment:  The Group Policy Management Console (GPMC) snap-in, normally built into Vista, will be removed in SP1. &lt;p&gt;If you have used the new group policy settings in Vista, you know that these settings are not accessible from GPMC in Windows 2003 itself;  to access Vista GP settings you must use the editor, and GPMC, from a Vista client. &lt;p&gt;The next version of SBS (2008, &amp;quot;Cougar&amp;quot;) is at least a year away, so SBS shops running Vista clients between now and SP1 will need to make their Vista GP settings from a Vista client.   &lt;p&gt;I don't mind if MS makes the change but there had better be a separate version of GPMC when SP1 is released.   &lt;p&gt;HT: &lt;a href="http://sdmsoftware.com/blog/2007/08/gpmc_not_part_of_vista_sp1.html"&gt;Darren Mar-Elia's Group Policy Blog: GPMC not part of Vista, SP1&lt;/a&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Important+change+for+SBS+%26+Vista+shops%3a+GPMC+not+part+of+Vista+SP1&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!239.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!239.entry</guid><pubDate>Tue, 11 Sep 2007 17:20:31 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!239/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!239.entry#comment</wfw:comment><dcterms:modified>2007-09-11T17:20:31Z</dcterms:modified></item><item><title>SBS 2003:  Error on logon after restore: applnch.exe - Unable To Locate Component</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!223.entry</link><description>&lt;p&gt;  &lt;p&gt;You might see this error when you logon to the console after restoring your SBS 2003 system:&lt;pre&gt;Event Type:    Information
Event Source:    Application Popup
Event Category:    None
Event ID:    26
Date:        7/29/2007
Time:        6:03:02 PM
[...]&lt;/pre&gt;&lt;pre&gt;Description:
Application popup: applnch.exe - Unable To Locate Component : This application has failed to start because MAPI32.dll was not found. Re-installing the application may fix &lt;span&gt;this&lt;/span&gt; problem. 

This is Exchange-related.  In Microsoft's questionable wisdom, there are two DLLs named MAPI32.DLL.  One is for client machines such as would run Outlook and it is about 120K.  The other MAPI32.DLL is 600K and it lives inside Exchange (in %programfiles%\exchsrvr\bin).  &lt;strong&gt;They are not the same!&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;If Exchange System Manager is run on a server that has the client MAPI32.DLL in %Windir%\system32, as might happen with a restored SBS box, it will complain.  The usual workaround is to rename &lt;strong&gt;that&lt;/strong&gt; DLL to &amp;quot;MAPI32.DLL.OLD&amp;quot;.  (That would keep you from running Outlook, but you know you're not supposed to be doing that on a server, right?)
&lt;p&gt;However, whenever you log on, you get the aforementioned error from applnch.exe.
&lt;p&gt;Workaround:
&lt;p&gt;Copy the MAPI32.DLL in the Exchange directory (in \program files\exchsrvr\bin, should be the 600K one.) to \windows\system32\.
&lt;p&gt;For some reason, applnch is happy with that situation and won't throw you any more errors.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+SBS+2003%3a++Error+on+logon+after+restore%3a+applnch.exe+-+Unable+To+Locate+Component&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!223.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!223.entry</guid><pubDate>Mon, 30 Jul 2007 02:46:36 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!223/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!223.entry#comment</wfw:comment><dcterms:modified>2007-07-30T02:46:36Z</dcterms:modified></item><item><title>Fixing WMI problems with File System Resource Manager (FSRM)</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!222.entry</link><description>&lt;p&gt;If you have SBS 2003 R2 and you've installed the File System Resource Manager and  you've just restored your system from backup, you may see this error in the Application log:&lt;pre&gt;Event Type:    Error
Event Source:    SRMSVC
Event Category:    None
Event ID:    8197
Date:        7/28/2007
Time:        4:07:56 PM
User:        N/A
Computer:    DOT
Description:
File Server Resource Manager Service error: Unexpected error. 

Operation:
   Starting File Server Resource Manager Service.

Error-specific details:
   Error: IWbemDecoupledRegistrar::Register, 0x80041011&lt;/pre&gt;
&lt;p&gt;Do this from a command prompt:&lt;pre&gt;cd %windir%\system32\wbem&lt;/pre&gt;&lt;pre&gt;mofcomp srm.mof&lt;/pre&gt;&lt;pre&gt;net stop srmsvc&lt;/pre&gt;&lt;pre&gt;net start srmsvc&lt;/pre&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Fixing+WMI+problems+with+File+System+Resource+Manager+(FSRM)&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!222.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!222.entry</guid><pubDate>Mon, 30 Jul 2007 02:33:03 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!222/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!222.entry#comment</wfw:comment><dcterms:modified>2007-09-11T04:42:18Z</dcterms:modified></item><item><title>Fixing Exchange WMI errors after a restore</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!221.entry</link><description>&lt;p&gt;I use my personal SBS box for testing and I am aggressive about trying new patches, software and configurations, things that I could not try at SATV, things that most SBS consultants would not do to their clients. &lt;p&gt;So, I do lots of bare metal restores.   There are always errors in the logs afterwards.  Always.  I'm sick of putting error codes in a search engine, so I'm blogging the ones I've resolved so I don't have to use the search box so often! &lt;p&gt;It's common for WMI (Windows Management Instrumentation) to be corrupted or miss entries in its database after a restore.  This affects Exchange in the following ways:   &lt;ul&gt; &lt;li&gt;The Exchange System Manager may fail with error 0x80041010 .  &lt;li&gt;You may receive event 9098 from MSExchangeSA, &amp;quot;The MAD Monitoring thread was unable to read its configuration from the DS, error '0x80041010'.&amp;quot;  This may be logged every five minutes.&lt;/ul&gt; &lt;p&gt;Do this from a command prompt:&lt;pre&gt;MOFCOMP.EXE -N:root\cimv2\applications\exchange wbemcons.mof
MOFCOMP.EXE -N:root\cimv2\applications\exchange exwmi.mof
MOFCOMP.EXE -N:root\cimv2\applications\exchange exmgmt.mof
MOFCOMP.EXE -N:root\cimv2\applications\exchange msgtrk.mof&lt;/pre&gt;&lt;pre&gt;MOFCOMP.EXE -N:root\cimv2\applications\exchange smtpcons.mof&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;
&lt;p&gt;Wait 5 minutes and verify that the 9098 events don't reappear.&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Fixing+Exchange+WMI+errors+after+a+restore&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!221.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!221.entry</guid><pubDate>Mon, 30 Jul 2007 00:19:50 GMT</pubDate><slash:comments>14</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!221/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!221.entry#comment</wfw:comment><dcterms:modified>2007-09-13T10:34:43Z</dcterms:modified></item><item><title>Fixing 1202 "Security policies were propagated with warning" errors after a restore</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!220.entry</link><description>&lt;p&gt;  &lt;p&gt;I recently had to restore my brand new Tyan machine from backup, when I inadvertently broke the RAID 1 array on it.  (Of all the RAID systems I've used, Ciprico's, which the Tyan has on-board, is the most opaque to me, or so it seems.) &lt;p&gt;Every time I do a restore, I always seem to break more and more things, despite doing what I thought were best practices (install Windows, install drivers, update to Service Pack 2 and then restore with NTBackup.) &lt;p&gt;This time I'm getting errors from SceCli: 1202, &amp;quot;Security policies were propagated with warning&amp;quot;. &lt;p&gt;This blog, &lt;a href="http://blog.mpecsinc.ca/2007/06/sbs-2k3-group-policy-computer-settings.html"&gt;MPECS Inc. Blog: SBS 2K3 - Group Policy computer settings not applied&lt;/a&gt;, had the solution: &lt;p&gt;From a command prompt do:&lt;pre&gt;esentutl /p %windir%\security\database\secedit.sdb&lt;/pre&gt;
&lt;p&gt;If you're using Powershell, this is:&lt;pre&gt;esentutl /p $env:windir\security\database\secedit.sdb&lt;/pre&gt;
&lt;p&gt;It'll ask you to confirm that you want to run it.  Click OK.
&lt;p&gt;If you have ever used edbutil in Exchange to fix databases, you should find this familiar.  As soon as it tells you the database is repaired do:&lt;pre&gt;gpupdate /force&lt;/pre&gt;
&lt;p&gt;Answer N when it asks you &amp;quot;OK to Logoff&amp;quot;.  Open Event Viewer and confirm that you get an informational message from SceCli, &amp;quot;Security Policies are applied successfully&amp;quot;.
&lt;p&gt;Hat tip to Philip E.!&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Fixing+1202+%22Security+policies+were+propagated+with+warning%22+errors+after+a+restore&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!220.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!220.entry</guid><pubDate>Sun, 29 Jul 2007 22:57:46 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!220/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!220.entry#comment</wfw:comment><dcterms:modified>2007-07-29T22:57:46Z</dcterms:modified></item><item><title>RAID drivers for the Tyan S3950 Motherboard</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!216.entry</link><description>&lt;p&gt;I recently got a &lt;a href="http://www.tyan.com/product_board_detail.aspx?pid=217"&gt;Tyan Tomcat 1000S (S3950)&lt;/a&gt; motherboard and went in circles trying to get the proper drivers for SBS to see the RAID controller.  After consulting with Tyan and doing some searching, I found the drivers.  The Tyan uses the &lt;a href="http://www.broadcom.com/"&gt;Broadcom&lt;/a&gt; ServerWorks HT1000 disk controller, and Broadcom has spun off its storage division (including that chipset) to &lt;a href="http://www.ciprico.com/"&gt;Ciprico&lt;/a&gt;.  (I'd never heard of them;  at first thought, weren't they selling anti-anthrax drugs? Oh, that's &lt;u&gt;&lt;a href="http://en.wikipedia.org/wiki/Cipro"&gt;Cipro&lt;/a&gt;!)&lt;/u&gt; &lt;p&gt;Here's the link to the drivers:  &lt;a href="http://www.ciprico.com/Downloads/RAIDCore.cfm"&gt;Ciprico RaidCore downloads page&lt;/a&gt;. &lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+RAID+drivers+for+the+Tyan+S3950+Motherboard&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!216.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!216.entry</guid><pubDate>Sun, 08 Jul 2007 16:28:57 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!216/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!216.entry#comment</wfw:comment><dcterms:modified>2007-07-08T16:28:57Z</dcterms:modified></item><item><title>Windows Media Services and 0x80041010 or 0x80041011 Errors</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!215.entry</link><description>&lt;p&gt;If you are experiencing an error popup in Windows Server 2003 when using the Windows Media Services snapin with error 0x80041010 or 0x80041011, this is caused by associated WMI information that becomes unregistered and inaccessible to the application.  I saw this on my personal SBS box after I migrated it to a new motherboard with a bare metal restore.  How to fix it: &lt;p&gt;Search your computer for a file named lnwmsevents.mof.  Copy or extract this file (it might be in a .cab file) to the desktop.  If you can't find this file, it should be included in Service Pack 2. &lt;p&gt;From a command prompt do:&lt;pre&gt;mofcomp lnwmsevents.mof
Microsoft (R) 32-bit MOF Compiler Version 5.2.3790.3959
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: lnwmsevents.mof
MOF file has been successfully parsed
Storing data &lt;span&gt;in&lt;/span&gt; the repository...
Done!&lt;/pre&gt;
&lt;p&gt;Open the Windows Media Services console, click on Properties/Event Notification, and make sure the WMS WMI Event Handler is enabled.  If it is, WMI is now registered properly and your WMI errors should disappear.
&lt;p&gt;Take care,
&lt;p&gt;Dave&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Windows+Media+Services+and+0x80041010+or+0x80041011+Errors&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!215.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!215.entry</guid><pubDate>Fri, 29 Jun 2007 23:56:26 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!215/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!215.entry#comment</wfw:comment><dcterms:modified>2007-06-29T23:56:26Z</dcterms:modified></item><item><title>Powershell: Quick script to email DST status</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!202.entry</link><description>&lt;p&gt;Described by some as &amp;quot;another Y2K&amp;quot;, DST in North America started 3 weeks earlier.  Unfortunately, I never got to post this in timefor the changeover, but DST will end 1 week later, so we're not done testing. &lt;p&gt;Here's a Powershell script that gets DST status and mails it to the address specified in the command line.  It's great boilerplate code if you need to send a quick status email and much much better than the old way with NT CMD, &lt;a href="http://www.blat.net/"&gt;Blat&lt;/a&gt; and VBScript. &lt;p&gt;  &lt;p&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;p&gt;&lt;pre&gt;# Send-DSTStatus
#
# Get current time and DST status of specified computer and email to specified user
# For use &lt;span&gt;in&lt;/span&gt; supporting North American DST changes
#
# D. Moisan 2/23/2007
#
param([&lt;span&gt;string&lt;/span&gt;]$computer, [&lt;span&gt;string&lt;/span&gt;]$email)
#
# Parameters (Required):
#
# -computer &amp;lt;computer to scan &lt;span&gt;for&lt;/span&gt; status&amp;gt;
# -email &amp;lt;email address&amp;gt;

&lt;span&gt;if&lt;/span&gt; ($email -eq &lt;span&gt;&amp;quot;&amp;quot;&lt;/span&gt;) {
   write-host &lt;span&gt;&amp;quot;Usage:&amp;quot;&lt;/span&gt;
   write-host
   write-host &lt;span&gt;&amp;quot;send-DSTStatus [-computer &amp;lt;computer&amp;gt;] -email &amp;lt;somebody@somewhere.com&amp;gt;&amp;quot;&lt;/span&gt;
   write-host
   write-host &lt;span&gt;&amp;quot;`t-computer defaults to local machine if not specified&amp;quot;&lt;/span&gt;
   write-host
   exit
   }

#
# Set up email sender address and server name
#
$sender = &lt;span&gt;&amp;quot;Administrator@satvonline.org&amp;quot;&lt;/span&gt;  # Change &lt;span&gt;as&lt;/span&gt; needed
$mailservername = &lt;span&gt;&amp;quot;salemtv.satv.loc&amp;quot;&lt;/span&gt;    # Change to your SMTP server&lt;span&gt;'s address

$mailserver = new-object system.net.mail.smtpClient
$mailserver.Host = $mailservername
$mailmessage = new-object system.net.mail.mailmessage($sender,$email)

# If -computer parameter not specified, use localhost

if ($computer -eq &amp;quot;&amp;quot;) {
   $computer = $Env:Computername
   }

# Get WMI Objects

$wmios = get-wmiobject &amp;quot;Win32_OperatingSystem&amp;quot; -computer $computer
$wmisys = get-wmiobject &amp;quot;Win32_ComputerSystem&amp;quot; -computer $computer

# Compose message

$maildate = get-date
$mailmessage.Subject = &amp;quot;DST Status Report for $computer on $maildate&amp;quot;
$mailmessage.Sender = $sender
$messagetext = $mailmessage.Subject + &amp;quot;`n`n&amp;quot;
$messagetext += &amp;quot;Local Time for $computer : &amp;quot; + $wmios.ConverttoDateTime($wmios.LocalDateTime) + &amp;quot;`n`n&amp;quot;
$DSTEnabled = $wmisys.EnableDaylightSavingsTime
$DSTInEffect = $wmisys.DaylightInEffect
$TZOffset = $wmisys.CurrentTimeZone
if ($DSTEnabled) {
   $messagetext += &amp;quot;DST is ENABLED`n&amp;quot; }
else {

   # We can'&lt;/span&gt;t tell &lt;span&gt;if&lt;/span&gt; Windows 2000 clients have DST implemented since
   # the WMI property EnableDaylightSavingsTime &lt;span&gt;is&lt;/span&gt; not supported there
   # so &lt;span&gt;if&lt;/span&gt; the property &lt;span&gt;is&lt;/span&gt; &lt;span&gt;null&lt;/span&gt; (&lt;span&gt;as&lt;/span&gt; &lt;span&gt;is&lt;/span&gt; the &lt;span&gt;case&lt;/span&gt; &lt;span&gt;in&lt;/span&gt; 2000), we skip reporting
   # DST enabled.  IF it &lt;span&gt;is&lt;/span&gt; False (&lt;span&gt;as&lt;/span&gt; &lt;span&gt;in&lt;/span&gt; an XP/2003 client with DST turned off),
   # we report that.

   &lt;span&gt;if&lt;/span&gt; ($DSTEnabled -eq $False) {
      $messagetext += &lt;span&gt;&amp;quot;DST is NOT ENABLED`n&amp;quot;&lt;/span&gt;
      }
   }

&lt;span&gt;if&lt;/span&gt; ($DSTInEffect) {
   $messagetext += &lt;span&gt;&amp;quot;DST is IN EFFECT`n&amp;quot;&lt;/span&gt; }
&lt;span&gt;else&lt;/span&gt; {
   $messagetext += &lt;span&gt;&amp;quot;DST is NOT IN EFFECT`n&amp;quot;&lt;/span&gt; }

$messagetext += &lt;span&gt;&amp;quot;Current timezone offset: $TZOffset `n&amp;quot;&lt;/span&gt;
$messagetext += &lt;span&gt;&amp;quot;`n`n&amp;quot;&lt;/span&gt;

# Send mail and report it on the console

$mailmessage.Body = $messagetext
write-host &lt;span&gt;&amp;quot;From: $sender&amp;quot;&lt;/span&gt;
write-host
write-host &lt;span&gt;&amp;quot;To: $email&amp;quot;&lt;/span&gt;
write-host
write-host $messagetext
$mailserver.Send($mailmessage)&lt;/pre&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Powershell%3a+Quick+script+to+email+DST+status&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!202.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!202.entry</guid><pubDate>Mon, 19 Mar 2007 17:06:47 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!202/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!202.entry#comment</wfw:comment><dcterms:modified>2007-03-19T17:06:47Z</dcterms:modified></item><item><title>Wow, the regression testing for Windows Server 2003 SP2 is *really* thorough!</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!201.entry</link><description>&lt;blockquote&gt; &lt;p&gt; &lt;/blockquote&gt; &lt;p&gt;I saw this KB, &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;926031&amp;amp;sd=rss&amp;amp;spid=3198"&gt;Windows Server 2003 Service Pack 2 application compatibility&lt;/a&gt;, and noted &lt;strong&gt;this&lt;/strong&gt; program tested: &lt;blockquote&gt; &lt;p&gt;Vendor        Application name   Version &lt;p&gt;3D Realms   Duke Nukem 3D    1&lt;/blockquote&gt; &lt;p&gt;*snort!* &lt;p&gt;Gee, do you think &lt;a href="http://en.wikipedia.org/wiki/Duke_Nukem_Forever"&gt;Duke Nukem Forever&lt;/a&gt; will work on Longhorn Server?&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Wow%2c+the+regression+testing+for+Windows+Server+2003+SP2+is+*really*+thorough!&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!201.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!201.entry</guid><pubDate>Mon, 19 Mar 2007 17:01:43 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!201/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!201.entry#comment</wfw:comment><dcterms:modified>2007-09-11T04:44:56Z</dcterms:modified></item><item><title>Windows Server 2003 SP2 Quirk:  Exchange doesn't start</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!200.entry</link><description>&lt;div&gt;&lt;a href="http://www.microsoft.com/technet/windowsserver/sp2.mspx"&gt;Windows Server 2003 Service Pack 2&lt;/a&gt; is out.  As usual, my home SBS box took it without problems, but not our SBS server at the studio.  After a protracted install (over an hour!),  I rebooted and Exchange Information Store did not start.  I started it manually and it came up.   Further analysis got me these two event log entries:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;font face=Arial color="#000000" size=2&gt;Event Type: Error&lt;br&gt;Event Source: DCOM&lt;br&gt;Event ID: 10010&lt;br&gt;Date:  3/14/2007&lt;br&gt;Time:  9:48:51 PM&lt;br&gt;Computer: [...]&lt;br&gt;Description:&lt;br&gt;The server {9DA0E106-86CE-11D1-8699-00C04FB98036} did not register with DCOM within the required timeout.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Arial color="#000000" size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face=Arial color="#000000" size=2&gt;[And then this...]&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Arial color="#000000" size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face=Arial color="#000000" size=2&gt;Event Type: Error&lt;br&gt;Event Source: Service Control Manager&lt;br&gt;Event ID: 7024&lt;br&gt;Date:  3/14/2007&lt;br&gt;Time:  9:48:56 PM&lt;br&gt;&lt;br&gt;Computer: [...]&lt;br&gt;Description:&lt;br&gt;The Microsoft Exchange Information Store service terminated with service-specific error 2147500037 (0x80004005).&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face=Arial color="#000000" size=2&gt; &lt;/font&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The server cited in the DCOM message is the Microsoft Exchange Property Mapping Interface.  Exchange has new and interesting dependencies every day!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Exchange started on the next reboot when I reinstalled IE7, so this is probably transient.  Just so you know.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://http://msmvps.com/blogs/bradley/archive/2007/03/13/win-2003-sp2-on-microsoft-update-now.aspx"&gt;Susan Bradley&lt;/a&gt; has more to say on SP2.&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Windows+Server+2003+SP2+Quirk%3a++Exchange+doesn't+start&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!200.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!200.entry</guid><pubDate>Thu, 15 Mar 2007 15:02:45 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!200/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!200.entry#comment</wfw:comment><dcterms:modified>2007-03-15T15:02:45Z</dcterms:modified></item><item><title>Reboot Time:  New Update Rollup for ISA in SBS 2003 Premium</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!188.entry</link><description>&lt;p&gt;  &lt;p&gt;Another update rollup for ISA server.  This is a Windows Installer Patch (.MSU) file.  You &lt;strong&gt;will &lt;/strong&gt;need to reboot. &lt;p&gt;&lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;930414&amp;amp;sd=rss&amp;amp;spid=3208"&gt;An update rollup is available for computers that are running ISA Server 2004, Standard Edition and Windows Small Business Server 2003, Premium Edition&lt;/a&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Reboot+Time%3a++New+Update+Rollup+for+ISA+in+SBS+2003+Premium&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!188.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!188.entry</guid><pubDate>Thu, 01 Feb 2007 04:11:14 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!188/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!188.entry#comment</wfw:comment><dcterms:modified>2007-02-01T04:11:14Z</dcterms:modified></item><item><title>Learn PowerShell by Rewriting VBScript</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!173.entry</link><description>&lt;p&gt;If you're a busy admin and you are new to PowerShell, you might wonder just where to start.  Yes, you've downloaded PowerShell and perhaps played with it, trying a few lines of script. &lt;p&gt;But how can you learn all that from scratch? &lt;p&gt;If you know VBScript, why not convert a few short scripts to PowerShell?  Here's one example, stolen from &lt;a href="http://sapien.eponym.com/blog"&gt;SAPIEN Technology's blog:&lt;/a&gt;  &lt;a href="http://sapien.eponym.com/blog/_archives/2006/11/29/2519188.html"&gt;Play WAVs with SAPI&lt;/a&gt;. &lt;p&gt;This script uses the Microsoft Speech API in an inventive way to play WAV files in the Windows\Media directory.  It first speaks the name of the file, then plays it.   &lt;p&gt;Here's my version: &lt;p&gt; &lt;pre&gt;# speak-wav.ps1
function DemoWav {
param ($File)
trap {&lt;span&gt;return&lt;/span&gt;}
    $objFile.Open($file.FullName)
    $objSPVoice.Speak($file.Name)
    $objSPVoice.SpeakStream($objFile)
    $objFile.Close()
&lt;span&gt;return&lt;/span&gt;;
}

$objSPVoice = &lt;span&gt;new&lt;/span&gt;-&lt;span&gt;object&lt;/span&gt; -com &lt;span&gt;&amp;quot;SAPI.SpVoice&amp;quot;&lt;/span&gt;
$objFile = &lt;span&gt;new&lt;/span&gt;-&lt;span&gt;object&lt;/span&gt; -com &lt;span&gt;&amp;quot;SAPI.SpFileStream&amp;quot;&lt;/span&gt;

$strMediaDir = join-path $Env:Windir -childpath &lt;span&gt;&amp;quot;Media&amp;quot;&lt;/span&gt;
get-childitem $strMediaDir -filter &lt;span&gt;&amp;quot;*.wav&amp;quot;&lt;/span&gt; | &lt;span&gt;foreach&lt;/span&gt; {
    write-output $_.name
    demowav $_
    }&lt;/pre&gt;
&lt;p&gt;Let's deconstruct this:  PowerShell, unlike VBScript, requires you to declare your functions up-front before they're called by the main code.  Function Demowav flows and performs the same way as in the VBScript version, so we'll get back to that later.
&lt;p&gt;Continuing on to the start of the main code,  almost all VB scripts except the very simplest access COM objects like so:&lt;pre&gt;Set objSPVoice = CreateObject(&lt;span&gt;&amp;quot;SAPI.SPVoice&amp;quot;)&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;In PowerShell this is:&lt;/span&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt; &lt;pre&gt;$objSPVoice = &lt;span&gt;new&lt;/span&gt;-&lt;span&gt;object&lt;/span&gt; -com &lt;span&gt;&amp;quot;SAPI.SpVoice&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;This is one of the most common conversions you'll see.  Remember that references to objects within VBScript are almost always COM or ActiveX so you need to specify the -com option in new-object or else PoweShell will think it's a .Net object and error out.&lt;/span&gt;
&lt;p&gt;&lt;span&gt;Another place where the idioms of VBScript and PowerShell are very different is in file and directory processing.  VBScript uses a file system object at a very low level, so your script code has to do all the low-level work of traversing directories and resolving file paths, as in this code:&lt;/span&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt; &lt;pre&gt;strWinDir= objShell.ExpandEnvironmentStrings(&lt;span&gt;&amp;quot;%WinDir%&amp;quot;&lt;/span&gt;)
strMediaDir=strWinDir &amp;amp; &lt;span&gt;&amp;quot;\Media&amp;quot;&lt;/span&gt;

&lt;span&gt;Set&lt;/span&gt; objFSO=CreateObject(&lt;span&gt;&amp;quot;Scripting.FileSystemObject&amp;quot;&lt;/span&gt;)
&lt;span&gt;Set&lt;/span&gt; objFiles=objFSO.GetFolder(strMediaDir).Files

&lt;span&gt;For&lt;/span&gt; &lt;span&gt;Each&lt;/span&gt; file &lt;span&gt;In&lt;/span&gt; objFiles
&lt;span&gt;'only get .wav files&lt;/span&gt;
    &lt;span&gt;If&lt;/span&gt; Right(file.name,3)=&lt;span&gt;&amp;quot;wav&amp;quot;&lt;/span&gt; &lt;span&gt;Then&lt;/span&gt; 
    WScript.Echo file
    DemoWav file
    &lt;span&gt;End&lt;/span&gt; &lt;span&gt;If&lt;/span&gt;
&lt;span&gt;Next&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;I am sad to recall that in the early days of Windows NT scripting, I was having to do stuff like this in Perl. Parsing a string to get the extension?  Ewww?  Going to yet &lt;strong&gt;another&lt;/strong&gt; object to get the environmental variables?  &lt;/span&gt;
&lt;p&gt;&lt;span&gt;To get the %Windir% environment variable we simply do this in PS:&lt;/span&gt;&lt;pre&gt;$Env:Windir&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;Here's the main body of our code:&lt;/span&gt;&lt;pre&gt;$strMediaDir = join-path $Env:Windir -childpath &lt;span&gt;&amp;quot;Media&amp;quot;&lt;/span&gt;
get-childitem $strMediaDir -filter &lt;span&gt;&amp;quot;*.wav&amp;quot;&lt;/span&gt; | &lt;span&gt;foreach&lt;/span&gt; {
    write-output $_.name
    demowav $_
    }&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Join-path&lt;/strong&gt; simply takes two filenames and joins them in a path, so that $Env:Windir and &amp;quot;Media&amp;quot; become (when resolved) &amp;quot;C:\windows\media\&amp;quot;.
&lt;p&gt;&lt;strong&gt;get-childitem&lt;/strong&gt; is the most important command:  This cmdlet, when applied to a filesystem, will return a list of objects corresponding to files in that directory.  The -filter parameter tells the cmdlet to filter the output as specified, so in this case, we are only returning *.WAV files.
&lt;p&gt;Learn this cmdlet;  you'll use it everywhere.  
&lt;p&gt;The pipe &amp;quot;&lt;strong&gt;|&lt;/strong&gt;&amp;quot; character is where the fun starts.  I mentioned that get-childitem returns a list of objects.  These objects get piped to the next statement:&lt;pre&gt;| &lt;span&gt;foreach&lt;/span&gt; {
    write-output $_.name
    demowav $_
    }&lt;/pre&gt;
&lt;p&gt;That's our loop. It's very similar to the VBScript.  Note the &lt;strong&gt;$_&lt;/strong&gt; variable.  You'll see this everywhere.  That variable just means &amp;quot;current object in the pipeline&amp;quot;.  So for each WAV file, the script writes the name of the file to the console with&lt;strong&gt; write-host&lt;/strong&gt; and calls our function &lt;strong&gt;demowav.  &lt;/strong&gt;Note that there are &lt;u&gt;no parentheses&lt;/u&gt; in function calls in PowerShell, unlike VBScript and everywhere else.
&lt;p&gt;Now we're back to the function at the top of the file:
&lt;p&gt; &lt;pre&gt;function DemoWav {
param ($File)
trap {&lt;span&gt;return&lt;/span&gt;}
    $objFile.Open($file.FullName)
    $objSPVoice.Speak($file.Name)
    $objSPVoice.SpeakStream($objFile)
    $objFile.Close()
&lt;span&gt;return&lt;/span&gt;;&lt;/pre&gt;
&lt;p&gt;This is straightfoward and almost identical to the VBScript code.  &lt;strong&gt;param&lt;/strong&gt; just declares valid function and program parameters (remember, no parens for function declarations in PS!)  &lt;strong&gt;trap {return}&lt;/strong&gt; just tells this function to return from the function in case of errors.  The only point of difference is that $file is an object, rather than just a string representing a file name, so we need to specify &lt;strong&gt;$file.FullName&lt;/strong&gt;--which is the file's complete path--when we open the file.  (&lt;strong&gt;$File.Name&lt;/strong&gt; provides just the name without the full path.)
&lt;p&gt;This was a long post, but if you got through it, and have basic knowledge of PowerShell, you'll be able to convert short scripts nearly in your head.  It took me two hours to write this post but only 10 (!) minutes to co nvert the original script.  
&lt;p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/technet/scriptcenter/default.mspx"&gt;Microsoft's Script Center&lt;/a&gt; has a &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=264CE487-1D36-4466-BD8B-23A7F1FA967E&amp;amp;displaylang=en"&gt;guide on converting VBScript to PowerShell&lt;/a&gt; that you'll find useful.
&lt;p&gt;Have Fun!
&lt;p&gt;Dave
&lt;p&gt;
&lt;div&gt;del.icio.us tags: &lt;a href="http://del.icio.us/popular/PowerShell VBScript converting script tutorial " rel=tag&gt;PowerShell VBScript converting script tutorial &amp;quot;Speech API&amp;quot; Microsoft&lt;/a&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Learn+PowerShell+by+Rewriting+VBScript&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!173.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!173.entry</guid><pubDate>Thu, 30 Nov 2006 03:42:49 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!173/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!173.entry#comment</wfw:comment><dcterms:modified>2006-11-30T03:45:40Z</dcterms:modified></item><item><title>Killing Spam with Exchange IMF and PowerShell</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!165.entry</link><description>&lt;p&gt; &lt;p&gt; &lt;div&gt;del.icio.us tags: &lt;a href="http://del.icio.us/popular/PowerShell" rel=tag&gt;PowerShell&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/Exchange" rel=tag&gt;Exchange&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/IMF" rel=tag&gt;IMF&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/Spam" rel=tag&gt;Spam&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/Microsoft" rel=tag&gt;Microsoft&lt;/a&gt;, &lt;a href="http://del.icio.us/popular/Windows Server" rel=tag&gt;Windows Server&lt;/a&gt;&lt;/div&gt; &lt;p&gt;If you have an Exchange shop, you probably have Exchange &lt;a href="http://www.microsoft.com/technet/prodtechnol/exchange/downloads/2003/imf/default.mspx"&gt;Intelligent Message Filter.&lt;/a&gt;  The IMF filters out junk mail to a folder (usually Program files\exchsrvr\mailroot\vsi 1\ucearchive) which you must inspect for false positives and empty from time to time. &lt;p&gt;There are tools to manage the IMF archive;  I use Daryl Maunder's &lt;a href="http://hellomate.typepad.com/exchange/2004/06/imf_archive_man.html"&gt;Exchange IMF Archive Manager&lt;/a&gt; and there is also &lt;a href="http://stoekenbroek.com/imfcompanion/default.htm"&gt;IMFCompanion&lt;/a&gt;, but neither of these tools will empty the archive automatically.  Realistically, in a small shop like SATV's, it's a burden to manually inspect the archives;  as spam volume gets heavier, inspection is no longer viable. &lt;p&gt;I just use a simple PowerShell script that counts the items in the IMF archive, notes the count in the Application log and then deletes the items. &lt;p&gt;Here's the code.  Most of it is housekeeping to manage the event log:&lt;pre&gt;# Delete-IMFSpam  - Deletes spam mail from Exchange IMF Folder
#
# Deletes spam mail from Exchange IMF folder and enters an &lt;span&gt;event&lt;/span&gt; &lt;span&gt;in&lt;/span&gt; the 
# Application log reporting number of spam mails found and deleted
#
# David Moisan 9/22/2006
# 
# v1.0
#

$sSource = &lt;span&gt;&amp;quot;Delete-IMFSpam&amp;quot;&lt;/span&gt;
$sLog = &lt;span&gt;&amp;quot;Application&amp;quot;&lt;/span&gt;
$sMachine = [System.Environment]::MachineName

$sEventIDSpam = 1
$sEventIDNoSpam = 2

$sEventLogInformational = [System.Diagnostics.EventLogEntryType]::Information
$sEventLogWarning = [System.Diagnostics.EventLogEntryType]::Warning
$sEventLogError = [System.Diagnostics.EventLogEntryType]::Error

$sUCEArchive = &lt;span&gt;&amp;quot;$env:programfiles\exchsrvr\mailroot\vsi 1\UCEArchive&amp;quot;&lt;/span&gt;

# Create source &lt;span&gt;in&lt;/span&gt; eventlog &lt;span&gt;if&lt;/span&gt; it isn't already there

&lt;span&gt;if&lt;/span&gt; (-not [System.Diagnostics.Eventlog]::SourceExists($sSource,$sMachine)) {
   [System.Diagnostics.Eventlog]::CreateEventSource($sSource, $sLog, $sMachine)
   }

# Create &lt;span&gt;new&lt;/span&gt; eventlog &lt;span&gt;object&lt;/span&gt; to make entries

$eLog = &lt;span&gt;new&lt;/span&gt;-&lt;span&gt;object&lt;/span&gt; System.Diagnostics.EventLog($sLog,$sMachine,$sSource)

# Get count of spam items

$SpamCount = (get-childitem $sUCEArchive\*.eml | measure-&lt;span&gt;object&lt;/span&gt;).Count

# Display count to the log and the console
# Delete spam &lt;span&gt;if&lt;/span&gt; directory not empty

&lt;span&gt;if&lt;/span&gt; ($SpamCount -gt 0) {
   remove-item &lt;span&gt;&amp;quot;$sUCEArchive\*.eml&amp;quot;&lt;/span&gt;
   $eLog.WriteEntry(&lt;span&gt;&amp;quot;UCEArchive: $Spamcount item(s) found and deleted&amp;quot;&lt;/span&gt;, $sEventLogInformational, $sEventIDSpam)
   }

&lt;span&gt;else&lt;/span&gt;
    {
    $elog.WriteEntry(&lt;span&gt;&amp;quot;UCEArchive:  No spam items found&amp;quot;&lt;/span&gt;, $sEventLogInformational, $sEventIDNoSpam)
    }

# Done

$elog.Close()
exit
&lt;/pre&gt;
&lt;p&gt;Run the script:
&lt;p&gt;&lt;font face="Courier New"&gt;powershell delete-IMFSpam.ps1&lt;/font&gt;
&lt;p&gt;And here's the event log:&lt;pre&gt;

MachineName : [...]
EventID     : 1
TimeWritten : 9/30/2006 1:00:48 AM
EntryType   : Information
Source      : Delete-IMFSpam
Message     : UCEArchive: 674 item(s) found and deleted
&lt;/pre&gt;
&lt;p&gt;This was just in 3 (!!) days since the folder was last emptied.
&lt;p&gt;Take care,
&lt;p&gt;Dave&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Killing+Spam+with+Exchange+IMF+and+PowerShell&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!165.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!165.entry</guid><pubDate>Tue, 03 Oct 2006 18:34:48 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!165/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!165.entry#comment</wfw:comment><dcterms:modified>2006-10-03T18:34:48Z</dcterms:modified></item><item><title>Cannot Open Message Tracking Center with error 0x8004100E</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!159.entry</link><description>&lt;p&gt;I recently restored my SBS machine from tape (never mind why) and had this error.  A hit on Google Groups yields this solution: &lt;p&gt;From a command prompt do &lt;p&gt;mofcomp -n:root\cimv2\applications\exchange &lt;br&gt;c:\windows\system32\wbem\msgtrk.mof &lt;p&gt;T&lt;a href="http://groups.google.com/group/microsoft.public.windows.server.sbs/browse_thread/thread/d8dbfc31e70c97a4/4eb7e7729a26f600?lnk=st&amp;amp;q=0x8004100e+&amp;quot;Message+tracking+center&amp;quot;&amp;amp;rnum=1#4eb7e7729a26f600"&gt;his post on Google Groups&lt;/a&gt; has more information. &lt;p&gt;Take care, &lt;p&gt;Dave &lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Cannot+Open+Message+Tracking+Center+with+error+0x8004100E&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!159.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!159.entry</guid><pubDate>Fri, 01 Sep 2006 23:55:57 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!159/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!159.entry#comment</wfw:comment><dcterms:modified>2006-09-01T23:55:57Z</dcterms:modified></item><item><title>Problems with  MS06-034 (KB917537) IIS Patch</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!149.entry</link><description>&lt;div&gt;If you're running Windows Server with IIS, you may have encountered a problem with this month's security update, KB917537.    The update client fails to install the patch, then asks for a reboot and the cycle repeats.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Try this fix, via &lt;a href="http://groups.google.com/group/microsoft.public.windowsupdate/browse_thread/thread/e6aa4ad0a18f1d59/66248c5fbab42d1f?lnk=st&amp;amp;q=KB917537&amp;amp;rnum=1#66248c5fbab42d1f"&gt;microsoft.public.windowsupdate&lt;/a&gt;:  Before Microsoft Update starts installing updates, stop IIS from the command line (&lt;font face="Courier New, Courier, Monospace"&gt;net stop w3svc&lt;/font&gt; or for PowerShell, &lt;font face="Courier New, Courier, Monospace"&gt;stop-service w3svc&lt;/font&gt;) or via the management console.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Then run, or continue, Microsoft Update.  The patch should take.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Also remember that most patches log their installation in the Windows directory, in the form &amp;lt;patchname.log&amp;gt;, so KB917537 has the log &lt;font face="Courier New, Courier, Monospace"&gt;KB917537.log&lt;/font&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif"&gt;.  If you are looking through &lt;font face="Courier New, Courier, Monospace"&gt;windowsupdate.log&lt;/font&gt; and not finding any hints, you need to look at this log or the log associated with any failed update.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Take care,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Dave&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Problems+with++MS06-034+(KB917537)+IIS+Patch&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!149.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!149.entry</guid><pubDate>Fri, 14 Jul 2006 03:26:30 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!149/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!149.entry#comment</wfw:comment><dcterms:modified>2006-07-14T12:59:30Z</dcterms:modified></item><item><title>When a blue screen is really hardware</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!148.entry</link><description>&lt;div&gt;The SBS Diva has a &lt;a href="http://http//msmvps.com/blogs/bradley/archive/2006/06/22/102538.aspx"&gt;bluescreen problem&lt;/a&gt;.  Several commenters on her blog suggested that it might be hardware-related.  Let me join the chorus.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I've been fighting bluescreens on my 5-year old MSI Athlon XP-based motherboard for almost two months. The problem was hardware.  Here's how I found the problem.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;To reiterate the diagnostic criteria for hardware-related problems, they are:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;1) Symptoms are intermittent&lt;/div&gt;
&lt;div&gt;2) Symptoms happen after machine has been powered on for a while&lt;/div&gt;
&lt;div&gt;3) Bluescreen diagnostics point to many different causes.&lt;/div&gt;
&lt;div&gt;4) Memory tests may &lt;strong&gt;or may not&lt;/strong&gt; indicate a problem.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;In my case, the bluescreens were happening, seemingly at random.  I would do bluescreen analysis with the debugging tools, as I described in an &lt;a href="http://dmoisan.spaces.msn.com/blog/cns!95CB015E3E4A702A!126.entry?_c11_blogpart_blogpart=blogview&amp;amp;_c=blogpart#permalink"&gt;earlier post&lt;/a&gt;, each and every time it crashed.  I found a wide variety of errors, many of these happening in win32k.sys.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I removed as many third-party drivers as I could (I own a Kensington trackball), and reverted to the &amp;quot;safe&amp;quot; settings in the BIOS.  I checked the ventilation on my system, cleaned and replaced one of the fans and the power supply and even suspected the keyboard.  After all this work, it still bluescreened.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I put in a new stick of memory from Crucial and performed a memory test with Microsoft's tester, running through two passes.  No change.  Bluescreens still.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;One cause of defective hardware is not always recognized outside of service centers or the hobbyist PC community.  Look at these pictures of my motherboard.  The round objects are capacitors.  They help to regulate voltages in electronic equipment, including my motherboard.  They're often in a hot, dusty, environment, and they sometimes fail.  (This problem is too common.   Google &lt;a href="http://http//www.google.com/search?q=bad+caps&amp;amp;rls=com.microsoft:en-us&amp;amp;ie=UTF-8&amp;amp;oe=UTF-8&amp;amp;startIndex=&amp;amp;startPage=1"&gt;&amp;quot;bad caps&amp;quot;&lt;/a&gt; for a sampler.)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Normal capacitors have flat tops (the triangular score lines on the top are normal and do &lt;strong&gt;not&lt;/strong&gt; indicate any defect.)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Bad capacitors generate heat and pressure inside, which result in the cap bulging its top.  Eventually, the cap may &amp;quot;pop&amp;quot; (the reason for the score lines on the top) or simply short out.  In either case, the device it's wired into--hello, motherboard!--may fail.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;My 5-year old MSI board was all but certainly brought down by the two caps in the photo, which just happen to be near the memory sockets (obscured by wiring).  It's little wonder I was having problems;  &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If you have a flashlight and a magnifier, and a few minutes, you can check your motherboard for bad caps yourself.  Just turn off your computer and unplug it, remove the cover (following directions in your hardware manual) and have a look.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Caps can be anywhere on your motherboard, but they are most commonly located around the DIMM (memory) sockets and around the CPU, where you'll find a large cluster of them.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Normal caps will have flat tops--again, the triangular score lines at the top are normal.  Bad caps will have bulging tops, or they'll &amp;quot;leak&amp;quot;;  there may be junk leaking out of the cap and running over the motherboard.  &lt;a href="http://www.badcaps.net/"&gt;Badcaps.net&lt;/a&gt; has more photos.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;If you find a bad cap, there's not much you can do other than replacing the motherboard or calling for service.  But at least you won't be running in circles with crashdumps.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Take care,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Dave&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;P.S.  Happy ending for me:  One new motherboard and processor later (Athlon 64), I was back in business one day later.&lt;/div&gt;
&lt;div&gt;  &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;table cellspacing="0" border="0"&gt;&lt;tr height="8"&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;p&gt;&lt;a href="http://blufiles.storage.live.com&amp;#47;y1pg00XBDCUlGodVfNcSBPOOzQyiOKZRFd0ZUqjou9aFcNca0CFu6-D0vzLlgVFNJe8"&gt;&lt;img src="http://storage.live.com&amp;#47;items&amp;#47;95CB015E3E4A702A&amp;#33;146&amp;#58;thumbnail" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;p&gt;&lt;a href="http://blufiles.storage.live.com&amp;#47;y1piNJ4usw_gTxiUKH_hff7zTDLIgsB50YyRgUOU076Laks_zC9bgUrZ5g1xZlsdgw2"&gt;&lt;img src="http://storage.live.com&amp;#47;items&amp;#47;95CB015E3E4A702A&amp;#33;147&amp;#58;thumbnail" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td width="15"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+When+a+blue+screen+is+really+hardware&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!148.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!148.entry</guid><pubDate>Tue, 27 Jun 2006 02:02:44 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!148/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!148.entry#comment</wfw:comment><dcterms:modified>2006-06-27T02:02:44Z</dcterms:modified></item><item><title>The Heartbeat of Windows</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!130.entry</link><description>&lt;div&gt;Windows has a heartbeat!  Yes, it's true!  How can this be?  Windows is not exciting for most admins when things are running normally (and the excitement over a new BSOD is much much overrated.)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Windows servers (and desktops) have a registry key:&lt;/div&gt;
&lt;div&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reliability\TimeStampInterval.&lt;/div&gt;
&lt;div&gt;This is a DWORD and the default is 5 for servers and 0 for workstations (XP, Win2K Pro, etc.)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;When set, Windows writes a timestamp to the registry every 5 seconds (or, presumably, for whatever the DWORD is set to.)  A value of 0 disables it.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;With this entry set, if the computer bluescreens or you pull the plug, Windows uses the timestamp to determine that the last shutdown was unexpected, and its approximate time.  See the following registry entry from my very sick workstation after one of its many bluescreens:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;Event Type: Error&lt;br&gt;Event Source: EventLog&lt;br&gt;Event Category: None&lt;br&gt;Event ID: 6008&lt;br&gt;Date:  6/3/2006&lt;br&gt;Time:  1:06:47 PM&lt;br&gt;User:  N/A&lt;br&gt;Computer: WAKKO&lt;br&gt;Description:&lt;br&gt;The previous system shutdown at 1:02:58 PM on 6/3/2006 was unexpected.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The UPTIME.EXE utility I posted about previously will set the heartbeat.  Simply do &lt;font face="Courier New, Courier, Monospace"&gt;uptime /heartbeat &lt;/font&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif"&gt;and follow the prompts to turn it on or off.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Take care,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Dave&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+The+Heartbeat+of+Windows&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!130.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!130.entry</guid><pubDate>Sun, 04 Jun 2006 02:11:09 GMT</pubDate><slash:comments>9</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!130/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!130.entry#comment</wfw:comment><dcterms:modified>2006-06-04T02:11:09Z</dcterms:modified></item><item><title>Little-known Windows utility: UPTIME.EXE</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!129.entry</link><description>&lt;div&gt;When administering a server or a collection of servers, you need a way not only to see your systems in the present (is the server up or down or bluescreened; is the web service running or stopped or not even reachable), but also in the recent past (when did it last boot?  How long has it been up?)&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Since NT, there's been a utility to check system uptime, &lt;a href="http://dmoisan.spaces.msn.com/http//www.microsoft.com/ntserver/nts/downloads/management/uptime/default.asp"&gt;UPTIME.EXE&lt;/a&gt;.  It produces output like this:&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;uptime /s&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;Uptime Report for: &lt;/font&gt;&lt;a&gt;&lt;font face="Courier New, Courier, Monospace"&gt;\\DOT&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;Current OS: Microsoft Windows Server 2003, Service Pack 1, Uniprocessor Free.&lt;br&gt;Time Zone: Eastern Daylight Time&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;System Events as of 6/3/2006 9:44:34 PM:&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;Date:      Time:        Event:               Comment:&lt;br&gt;---------- -----------  -------------------  -----------------------------------&lt;br&gt;  5/5/2006  8:12:11 AM  Boot                 &lt;br&gt;  5/5/2006 12:33:56 PM  Shutdown             Prior uptime:0d 4h:21m:45s&lt;br&gt;  5/5/2006 12:35:13 PM  Boot                 Prior downtime:0d 0h:1m:17s&lt;br&gt;[...]&lt;br&gt;  6/2/2006  8:04:36 AM  Shutdown             Prior uptime:0d 0h:14m:32s&lt;br&gt;  6/2/2006  8:08:12 AM  Boot                 Prior downtime:0d 0h:3m:36s&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;Current System Uptime: 1 day(s), 13 hour(s), 36 minute(s), 55 second(s)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font face="Courier New, Courier, Monospace"&gt;--------------------------------------------------------------------------------&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;Since 5/5/2006:&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;           System Availability: 99.5831%&lt;br&gt;                  Total Uptime: 29d 10h:34m:54s&lt;br&gt;                Total Downtime: 0d 2h:57m:29s&lt;br&gt;                 Total Reboots: 20&lt;br&gt;     Mean Time Between Reboots: 1.48 days&lt;br&gt;             Total Bluescreens: 0&lt;/font&gt;&lt;/div&gt;
&lt;p&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;/font&gt; 
&lt;p&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif"&gt;The word wrap may make this hard to read, but essentially UPTIME.EXE lists all the boot and shutdown events and calculates uptime (and downtime) from them.&lt;/font&gt;
&lt;div&gt;&lt;/div&gt;&lt;/font&gt; 
&lt;div&gt;It uses the Event Log to determine uptime, as explained in this KB article &lt;a href="http://http//support.microsoft.com/kb/196452/EN-US/"&gt;&amp;quot;Why Windows NT reports 6005, 6006, 6008 and 6009 Event Log Entries&amp;quot;&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This practice has continued through Windows Server 2003, so UPTIME still works. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;UPTIME.EXE is available from &lt;a href="http://http//www.microsoft.com/ntserver/nts/downloads/management/uptime/default.asp"&gt;Microsoft&lt;/a&gt;.  &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Take care,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Dave&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Little-known+Windows+utility%3a+UPTIME.EXE&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!129.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!129.entry</guid><pubDate>Sun, 04 Jun 2006 01:54:37 GMT</pubDate><slash:comments>2</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!129/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!129.entry#comment</wfw:comment><dcterms:modified>2006-06-27T02:03:34Z</dcterms:modified></item><item><title>WSUS SP1 available</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!128.entry</link><description>&lt;div&gt;If you run Windows Server Update Services (WSUS), a new service pack (SP1) has been released. &lt;a href="http://http://support.microsoft.com/?kbid=919004"&gt; More information and download from Microsoft&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I had difficulty installing it on my home SBS box;  apparently the install would die after installing a new instance of WMSDE when the new instance wouldn't start after installation and the remainder of the process would fail.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Rebooted, retried installation, and it worked.  The odd part was that the WSUS install asked to reboot &lt;strong&gt;again&lt;/strong&gt;, which I did.  WSUS worked and is working fine still.  It was then installed on an SBS server at work with no incidents.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Lessons:  Be aware of what maintainance you performed on a system before you install an update;  I had stopped the WSUS administration site (mistakenly) in order to use wsusutil to clean up old, superseded uptates in the update database.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;That's probably what caused the install to fail the first time.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Lesson 2:  There are extensive debugging logs in Program Files\Update Services\LogFiles.  Read them and send them to Microsoft if necessary.  I found out much about how the update is installed and the steps it goes through, and importantly, where it fails.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Take care,&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Dave&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+WSUS+SP1+available&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!128.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!128.entry</guid><pubDate>Sun, 04 Jun 2006 00:14:03 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!128/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!128.entry#comment</wfw:comment><dcterms:modified>2006-06-04T00:14:03Z</dcterms:modified></item><item><title>Generating crash dump reports with PowerShell</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!126.entry</link><description>&lt;div&gt;I've been using the new Windows scripting language &lt;a href="http://http//www.microsoft.com/downloads/details.aspx?FamilyId=2B0BBFCD-0797-4083-A817-5E6A054A85C9&amp;amp;displaylang=en"&gt;PowerShell&lt;/a&gt;.  I've also been having a lot of problems with my workstation;  ever since I found my machine overheating--due to old, slow fans, it's never been the same since, averaging a crash a day.  Is it just the hardware?  Is it a bad driver?  Did I just not seat the cards correctly last time I opened it?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;I use Microsoft's &lt;a href="http://http//www.microsoft.com/whdc/devtools/debugging/default.mspx"&gt;Debugging Tools For Windows&lt;/a&gt; to diagnose crashes for SATV's servers and other machines and I was getting tired of going to WinDbg and putting in the same commands every time I needed to look at a crash dump.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Here's my first PowerShell script, a simple wrapper for KD, the command line debugger.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;# crashreport.ps1&lt;br&gt;# Create debug analysis logs using KD&lt;br&gt;# D. Moisan 5/24/2006&lt;br&gt;#&lt;br&gt;# Usage: crashreport &amp;lt;dumpfile&amp;gt;&lt;br&gt;#&lt;br&gt;# Input: &amp;lt;dumpfile&amp;gt; can be a full memory dump, kernel dump or minidump&lt;br&gt;#&lt;br&gt;# Output: Log file to standard output&lt;br&gt;#&lt;br&gt;# Note:  Debugging Tools for Windows must be installed &lt;br&gt;# in its default directory (Program Files\Debugging Tools For Windows)&lt;br&gt;#&lt;br&gt;if ($Args.Count -eq 0) {&lt;br&gt;   &amp;quot;Usage: crashreport &amp;lt;dumpfile&amp;gt;&amp;quot;&lt;br&gt;   exit }&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;set-alias kd $Env:ProgramFiles&amp;quot;\Debugging Tools For Windows\kd.exe&amp;quot;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;# Debug commands are specified here.  See the Debugging Tools For&lt;br&gt;# Windows for more details&lt;br&gt;#&lt;br&gt;# Commands are:  !analyze -v    Verbose analysis of the crash&lt;br&gt;#                kv             Stacktrace&lt;br&gt;#                !process       Current process and thread at crash&lt;br&gt;#                lmf            List loaded modules and file paths&lt;br&gt;#                q              quit KD (or else KD will keep running)&lt;br&gt;#&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;$debugcommands = &amp;quot;`&amp;quot;!analyze -v; kv; !process; lmf; q`&amp;quot;&amp;quot;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&amp;quot;Using debug commands: &amp;quot; + $debugcommands&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&amp;quot;Generating debug output&amp;quot;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;$crashdumpfile = $Args[0]&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&amp;quot;Using crash dump file: &amp;quot; + $crashdumpfile&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;# Execute kd with commands &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;kd -c $debugcommands -noshell -z $Args[0]&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&amp;quot;Debug Output to log file: &amp;quot; + $debugoutputfile&lt;br&gt;&amp;quot;Done!&amp;quot;&lt;br&gt;exit&lt;br&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;/font&gt;&lt;/div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;/font&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;font face=Tahoma&gt;&lt;/font&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;font face=Tahoma&gt;Take care,&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;font face=Tahoma&gt;&lt;/font&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;font face=Tahoma&gt;Dave&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt; &lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Generating+crash+dump+reports+with+PowerShell&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!126.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!126.entry</guid><pubDate>Thu, 25 May 2006 00:36:13 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!126/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!126.entry#comment</wfw:comment><dcterms:modified>2006-05-26T14:22:08Z</dcterms:modified></item><item><title>SBS 2003 SP1/ISA 2004: WMI scripts don't work (Part 2)</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!122.entry</link><description>&lt;div&gt;In my &lt;a href="http://http://spaces.msn.com/members/dmoisan/Blog/cns!1prHWLujp5fNIAaScwFLsA4g!121.entry"&gt;last post&lt;/a&gt;, I talked about how ISA 2004 could keep your WMI scripts from running properly on your SBS machine.  Here's how I diagnosed it on my server:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;ISA 2004 has an awesome monitoring capability.  It can monitor the firewall and display sessions and blocked ports in real time.  ISA has a query filter you can edit down to client IP's, destination IP's, ports and protocols.  Great for troubleshooting, especially in this case!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;It helps to know that WMI uses DCOM which uses RPC, in fact it's essential to know what protocols your script or program may use under the hood.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;First, pick your WMI script.  It should be one that you can run against a remote machine.  Most Scriptomatic-generated scripts can do this. &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Open ISA Management and select Monitoring and click the Logging tab.  Click Edit Filter.  Select Log Record Type Equals Firewall and Log Time set to Live.  If there are any other filters, remove them.  Select Filter By Destination IP and enter the IP address of the remote machine you are running the script against.  Click Start Query.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;In another window, such as a command window, run your script.  It should fail.  Rerun it again a few times.  In the ISA Management window, you should see some entries pop up in the Logging Tab.  Click on Stop Query.  Click on Copy All Results to Clipboard and paste it to a spreadsheet.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The formatting of this blog won't let me put the whole log in here legibly, but these are the fields that came up in my troubleshooting that I want to point out:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;Client IP:  192.168.12.x (&lt;em&gt;the SBS machine)&lt;/em&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/em&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;Destination IP: 192.168.12.10 (&lt;em&gt;the remote machine)&lt;/em&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/em&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;Protocol:  RPC (all interfaces)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;Action: Closed Connection&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;Rule: &lt;font face="Courier New, Courier, Monospace" size=2&gt;&lt;strong&gt;Allow RPC from ISA Server to trusted servers&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;Result Code: &lt;font face=Arial size=2&gt;&lt;strong&gt;&lt;font face="Courier New, Courier, Monospace"&gt;0x80074e24&lt;/font&gt; &lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace"&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif"&gt;Note that ISA will log the rule it uses to deny (or allow) access.  &amp;quot;Allow RPC from ISA server to trusted server&amp;quot; is an ISA system policy, according to the ISA help file.  The help file also explains that this system policy is grouped under Authentication Policy and that I can change it with the System Policy Editor. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;The result code, unfortunately, is not in ISA Help but it is on the &lt;a href="http://http://msdn.microsoft.com/library/en-us/isasdk/isa/error_codes.asp"&gt;ISA 2004 SDK page&lt;/a&gt;.   0x80074e24 is listed as FWX_E_CONNECTION_KILLED.  In other words, ISA dropped it, as it does most RPC connections (and WMI) when &amp;quot;Enforce strict RPC compliance&amp;quot; is checked.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;As I mentioned in my last post, I've been running in circles for over a month trying to fix this.  Once I got smart and had the idea of using ISA monitoring to troubleshoot this, it only took me about 30 minutes to fix.  ISA 2004 is an excellent product!&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+SBS+2003+SP1%2fISA+2004%3a+WMI+scripts+don't+work+(Part+2)&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!122.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!122.entry</guid><pubDate>Sat, 06 Aug 2005 02:05:00 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!122/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!122.entry#comment</wfw:comment><dcterms:modified>2005-08-06T02:08:51Z</dcterms:modified></item><item><title>SBS 2003 SP 1/ISA 2004: WMI scripts don't work (Part 1)</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!121.entry</link><description>&lt;div&gt;If you just upgraded to SBS 2003 SP1 with ISA 2004 and you use scripts on the SBS machine to monitor and control your client machines or member servers (such as the scripts you find at &lt;a href="http://search.msn.com/results.aspx?q=Technet Script Center"&gt;Technet Script Center&lt;/a&gt;), your scripts might not work any longer.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;This problem is acute when you use WMI scripts (such as those from the famous &lt;a href="http://http://www.microsoft.com/technet/scriptcenter/tools/scripto2.mspx"&gt;Scriptomatic&lt;/a&gt; tool) to run against a remote machine and get information from it.  The scripts may give no results, or fail with a 0x800706ba error.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Scripts that you run on a workstation against your SBS machine may fail as well.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;After running in circles for a month, I figured it out.  I'll explain how I finally diagnosed this in my next post, but if you have this problem and just want to stop banging your head, here's how to fix it:&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;On the SBS machine, open up ISA Server Management (if you don't remember where it is, click Start/All Programs/Microsoft ISA Server/ISA Server Managment)&lt;/div&gt;
&lt;div&gt;Find &amp;quot;Firewall Policy&amp;quot; on the left pane and right click it.  Select Edit System Policy.  The System Policy Editor should pop up.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Scroll down to Authentication Services and select it.  In the General tab, note the checkbox marked &amp;quot;Enforce strict RPC compliance&amp;quot;.  Note the information balloon that reads:  &amp;quot;When 'Enforce strict RPC compliance' is not selected, additional RPC type protocols, such as DCOM, will be enabled.&amp;quot;  &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Bingo.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;Uncheck&lt;/strong&gt; &amp;quot;Enforce strict RPC compliance&amp;quot;.  Click OK.  Note the bar on the top of the ISA console that prompts you to apply or discard your changes.  Click Apply.  Click OK.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Your WMI scripts should now work.&lt;/div&gt;
&lt;div&gt;  &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+SBS+2003+SP+1%2fISA+2004%3a+WMI+scripts+don't+work+(Part+1)&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!121.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!121.entry</guid><pubDate>Sat, 06 Aug 2005 00:39:47 GMT</pubDate><slash:comments>5</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!121/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!121.entry#comment</wfw:comment><dcterms:modified>2005-08-06T02:05:41Z</dcterms:modified></item><item><title>Dell Servers can now take Windows 2003 SP1</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!119.entry</link><description>&lt;p&gt;If you're running Windows Server 2003 on Dell machines, you may know (or should) that Service Pack 1 breaks Dell OpenManage 4.3.   This also applies to SBS 2003 SP1. &lt;p&gt;&lt;a href="http://support.dell.com/support/downloads/format.aspx?releaseid=R101039"&gt;Dell has (finally!) released OpenManage 4.4.&lt;/a&gt; &lt;p&gt;UPDATE:  You may have discovered this by now, but when you install OM, Dell will want you to update your RAID controller drivers &amp;lt;i&amp;gt;and&amp;lt;/i&amp;gt; the firmware too.  It's normal (and good!) practice for me to update all the drivers and firmware before a service pack, but I never got the notification from Dell about the drivers.  Oops. &lt;p&gt; &lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7653021637502406614&amp;page=RSS%3a+Dell+Servers+can+now+take+Windows+2003+SP1&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=dmoisan.spaces.live.com&amp;amp;GT1=dmoisan"&gt;</description><comments>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!119.entry#comment</comments><guid isPermaLink="true">http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!119.entry</guid><pubDate>Tue, 07 Jun 2005 11:39:34 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://dmoisan.spaces.live.com/blog/cns!95CB015E3E4A702A!119/comments/feed.rss</wfw:commentRss><wfw:comment>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!119.entry#comment</wfw:comment><dcterms:modified>2005-08-06T02:06:05Z</dcterms:modified></item><item><title>Windows Software Update Services finally released</title><link>http://dmoisan.spaces.live.com/Blog/cns!95CB015E3E4A702A!117.entry</link><description>&lt;p&gt;Windows Software Update Services, the successor to SUS 1.0, has &lt;em&gt;finally&lt;/em&gt; shipped!  I've been using the beta (and release 