<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Grant Szabo</title>
    <link>http://www.quagmire.com/blog/</link>
    <description>See http://www.quagmire.com for more info...</description>
    <language>en-us</language>
    <copyright>Grant Szabo</copyright>
    <lastBuildDate>Wed, 17 Jan 2007 15:18:55 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.8.5223.2</generator>
    <managingEditor>grant@quagmire.com</managingEditor>
    <webMaster>grant@quagmire.com</webMaster>
    <item>
      <trackback:ping>http://www.quagmire.com/blog/Trackback.aspx?guid=53baf18e-aa6f-401d-8ef0-0835b199d82f</trackback:ping>
      <pingback:server>http://www.quagmire.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.quagmire.com/blog/PermaLink,guid,53baf18e-aa6f-401d-8ef0-0835b199d82f.aspx</pingback:target>
      <dc:creator>grant@quagmire.com (Grant)</dc:creator>
      <wfw:comment>http://www.quagmire.com/blog/CommentView,guid,53baf18e-aa6f-401d-8ef0-0835b199d82f.aspx</wfw:comment>
      <wfw:commentRss>http://www.quagmire.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=53baf18e-aa6f-401d-8ef0-0835b199d82f</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      When copying MDF/LDF files from a SQL 2000 installation to a SQL 2005 installation,
      diagrams will not open and the solution to getting them to open properly is non-intuitive.
   </p>
        <p>
      Here is T-SQL Code to fix the problem.  This is run on the SQL 2005 Server after
      the MDF has been attached in SQL Management Studio.  Substitute your database
      name where is says "Nexus":
   </p>
        <font color="#0000ff" size="2">
          <p>
      EXEC
   </p>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#800000" size="2">sp_dbcmptlevel</font>
        <font color="#000000" size="2">
        </font>
        <font color="#ff0000" size="2">'Nexus'</font>
        <font color="#808080" size="2">,</font>
        <font color="#000000" size="2">
        </font>
        <font color="#ff0000" size="2">'90'</font>
        <font color="#808080" size="2">;
   </font>
        <font size="2">
          <p>
      go
   </p>
        </font>
        <font color="#0000ff" size="2">
          <p>
      ALTER
   </p>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">AUTHORIZATION</font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">ON</font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">DATABASE</font>
        <font color="#808080" size="2">::</font>
        <font color="#000000" size="2">Nexus </font>
        <font color="#0000ff" size="2">TO</font>
        <font size="2">
          <font color="#000000"> "sa"</font>
          <p>
      go
   </p>
        </font>
        <font color="#0000ff" size="2">
          <p>
      use
   </p>
        </font>
        <font size="2">
          <font color="#000000"> Nexus</font>
          <p>
      go
   </p>
        </font>
        <font color="#0000ff" size="2">
          <p>
      EXECUTE
   </p>
        </font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">AS</font>
        <font color="#000000" size="2">
        </font>
        <font color="#ff00ff" size="2">USER</font>
        <font color="#000000" size="2">
        </font>
        <font color="#808080" size="2">=</font>
        <font color="#000000" size="2"> N</font>
        <font color="#ff0000" size="2">'dbo'</font>
        <font color="#000000" size="2">
        </font>
        <font color="#0000ff" size="2">REVERT
   </font>
        <font size="2">
          <p>
      go
   </p>
        </font>
        <p>
       
   </p>
        <img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=53baf18e-aa6f-401d-8ef0-0835b199d82f" />
      </body>
      <title>Migrating SQL 2000 Diagrams to SQL 2005</title>
      <guid>http://www.quagmire.com/blog/PermaLink,guid,53baf18e-aa6f-401d-8ef0-0835b199d82f.aspx</guid>
      <link>http://www.quagmire.com/blog/PermaLink,guid,53baf18e-aa6f-401d-8ef0-0835b199d82f.aspx</link>
      <pubDate>Wed, 17 Jan 2007 15:18:55 GMT</pubDate>
      <description>&lt;p&gt;
   When copying MDF/LDF files from a SQL 2000 installation to a SQL 2005 installation,
   diagrams will not open and the solution to getting them to open properly is non-intuitive.
&lt;/p&gt;
&lt;p&gt;
   Here is T-SQL Code to fix the problem.&amp;nbsp; This is run on the SQL 2005 Server after
   the MDF has been attached in SQL Management Studio.&amp;nbsp; Substitute your database
   name where is says "Nexus":
&lt;/p&gt;
&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
   EXEC
&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#800000 size=2&gt;sp_dbcmptlevel&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff0000 size=2&gt;'Nexus'&lt;/font&gt;&lt;font color=#808080 size=2&gt;,&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff0000 size=2&gt;'90'&lt;/font&gt;&lt;font color=#808080 size=2&gt;;&gt;
&lt;/font&gt;&lt;font size=2&gt; 
&lt;p&gt;
   go
&lt;/p&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
   ALTER
&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;AUTHORIZATION&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;ON&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;DATABASE&lt;/font&gt;&lt;font color=#808080 size=2&gt;::&lt;/font&gt;&lt;font color=#000000 size=2&gt;Nexus &lt;/font&gt;&lt;font color=#0000ff size=2&gt;TO&lt;/font&gt;&lt;font size=2&gt;&lt;font color=#000000&gt; "sa"&lt;/font&gt;&gt;
&lt;p&gt;
   go
&lt;/p&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
   use
&lt;/font&gt;&lt;font size=2&gt;&lt;font color=#000000&gt; Nexus&lt;/font&gt;&gt;
&lt;p&gt;
   go
&lt;/p&gt;
&lt;/font&gt;&lt;font color=#0000ff size=2&gt; 
&lt;p&gt;
   EXECUTE
&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;AS&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#ff00ff size=2&gt;USER&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#808080 size=2&gt;=&lt;/font&gt;&lt;font color=#000000 size=2&gt; N&lt;/font&gt;&lt;font color=#ff0000 size=2&gt;'dbo'&lt;/font&gt;&lt;font color=#000000 size=2&gt; &lt;/font&gt;&lt;font color=#0000ff size=2&gt;REVERT&gt;
&lt;/font&gt;&lt;font size=2&gt; 
&lt;p&gt;
   go
&lt;/p&gt;
&lt;/font&gt; 
&lt;p&gt;
   &amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=53baf18e-aa6f-401d-8ef0-0835b199d82f" /&gt;</description>
      <comments>http://www.quagmire.com/blog/CommentView,guid,53baf18e-aa6f-401d-8ef0-0835b199d82f.aspx</comments>
    </item>
    <item>
      <trackback:ping>http://www.quagmire.com/blog/Trackback.aspx?guid=5dd7974f-59a6-4266-94b7-b2a7947b5656</trackback:ping>
      <pingback:server>http://www.quagmire.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.quagmire.com/blog/PermaLink,guid,5dd7974f-59a6-4266-94b7-b2a7947b5656.aspx</pingback:target>
      <dc:creator>grant@quagmire.com (Grant)</dc:creator>
      <wfw:comment>http://www.quagmire.com/blog/CommentView,guid,5dd7974f-59a6-4266-94b7-b2a7947b5656.aspx</wfw:comment>
      <wfw:commentRss>http://www.quagmire.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=5dd7974f-59a6-4266-94b7-b2a7947b5656</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I installed WSUS at work and have been learning how to administrate/manage the service. 
      Here's a few tips:
   </p>
        <p>
      * You've got to configure Group Policy after installation in order to get clients
      of the domain to start using WSUS instead of Microsoft Update.  There's ample
      info on the 'net about how to configure GP.
   </p>
        <p>
      * Once you've got Group Policy updated and replicated, you can force a client to update
      by typing GPUPDATE at the command line.
   </p>
        <p>
      * To force a client computer to contact WSUS to update itself, type:
   </p>
        <p>
          <strong>      wuauclt.exe /detectnow</strong>
        </p>
        <p>
      * To keep WSUS fit and trim so that it runs well, copy/paste the following to a batch
      file on the WSUS Server and set it up as a Scheduled Task.  This is a script
      that someone else wrote that I found doing some Internet searches in trying to improve
      WSUS performance.  If you don't run this batch file on your WSUS instance, Approving
      Updates through the WSUSAdmin interface can become painfully slow.
   </p>
        <p>
      Please note, you will need to download WSUSDEBUGTOOL.EXE -- which is called "Server
      Diagnostic Tool" and available here: <a href="http://www.microsoft.com/windowsserversystem/updateservices/downloads/default.mspx">http://www.microsoft.com/windowsserversystem/updateservices/downloads/default.mspx</a>. 
      After download, run and extract the wsusdebugtool.exe file to the X:\Program Files\Update
      Services\Tools directory on the WSUS Server.  Make sure to configure the first
      TWO lines of the batch file so that the paths are correct.
   </p>
        <font size="1">
          <p>
      SET ScriptPath=F:\WSUS-Scripts
   </p>
          <p>
      SET BackupPath=F:\WSUS-BAK
   </p>
          <p>
      SET WSUS_DB=%ComputerName%\WSUS
   </p>
          <p>
      SET ProgPath=%ProgramFiles%\Update Services\Tools
   </p>
          <p>
      if not exist "%ScriptPath%\wsus_clean.log" echo Log Created &gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :---------------Begin WSUS Cleanup-------------------: &gt;&gt; %ScriptPath%\wsus_clean.log
   </p>
          <p>
      if not exist "%ProgPath%\wsusdebugtool.exe" echo Please Download the Debug tool from
      http://download.microsoft.com/download/7/7...ebug%20Tool.EXE
   </p>
          <p>
      if not exist "%ProgPath%\wsusdebugtool.exe" echo ERROR Please Download the Debug tool
      from http://download.microsoft.com/download/7/7...ebug%20Tool.EXE &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      if exist "%ProgPath%\wsusdebugtool.exe" echo %ProgPath%\wsusdebugtool.exe Found. &gt;&gt;
      "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Starting WSUS Cleanup.... &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      date /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Stopping Web Service &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      NET STOP w3svc &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Begin Deletion of Unneededrevisions &gt;&gt; %ScriptPath%\wsus_clean.log
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      "%ProgPath%\wsusutil.exe" deleteunneededrevisions &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Begin Purge of Unneeded Files &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      "%ProgPath%\wsusdebugtool.exe" /tool:purgeunneededfiles &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Begin OSQL Commands to backup the DB &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      del "%BackupPath%\backup_wsus.bak.old"
   </p>
          <p>
      ren "%BackupPath%\backup_wsus.bak" backup_wsus.bak.old
   </p>
          <p>
      Osql -S %WSUS_DB% -E /Q "Backup Database SUSDB to disk = '%BackupPath%\backup_wsus.bak'"
      &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      Osql -S %WSUS_DB% -E /Q "backup log SUSDB with TRUNCATE_ONLY" &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Begin OSQL Commands to Add Indexes if missing &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      Osql -S %WSUS_DB% -E /Q "USE SUSDB BEGIN TRAN IF NOT EXISTS (SELECT * FROM sysindexes
      where name='nc7DeploymentRevision') BEGIN CREATE NONCLUSTERED INDEX nc7DeploymentRevision
      ON dbo.tbDeployment(RevisionID, TargetGroupID, ActionID) END COMMIT TRAN" &gt;&gt;
      "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Begin OSQL Commands to Truncate tbEventInstance &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      Osql -S %WSUS_DB% -E /Q "USE SUSDB declare @RS as int select @RS=(select count(*)
      from tbEventInstance) select @RS as tbEventInstanceRowCount if @RS &gt; '3000' truncate
      table tbEventInstance" &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Begin OSQL Commands to compress the DB &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      Osql -S %WSUS_DB% -E /Q "use SUSDB dbcc shrinkdatabase ('SUSDB')" &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo Starting Web Services &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      net start w3svc &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      date /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      time /t &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      echo :---------------Cleanup Finished -------------------: &gt;&gt; "%ScriptPath%\wsus_clean.log"
   </p>
          <p>
      SET ScriptPath=
   </p>
          <p>
      SET BackupPath=
   </p>
          <p>
      SET WSUS_DB=
   </p>
          <p>
      :END
   </p>
        </font>
        <p>
       
   </p>
        <p>
       
   </p>
        <img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=5dd7974f-59a6-4266-94b7-b2a7947b5656" />
      </body>
      <title>Windows Software Update Services (WSUS)</title>
      <guid>http://www.quagmire.com/blog/PermaLink,guid,5dd7974f-59a6-4266-94b7-b2a7947b5656.aspx</guid>
      <link>http://www.quagmire.com/blog/PermaLink,guid,5dd7974f-59a6-4266-94b7-b2a7947b5656.aspx</link>
      <pubDate>Fri, 14 Jul 2006 18:33:31 GMT</pubDate>
      <description>&lt;p&gt;
   I installed WSUS at work and have been learning how to administrate/manage the service.&amp;nbsp;
   Here's a few tips:
&lt;/p&gt;
&lt;p&gt;
   * You've got to configure Group Policy after installation in order to get clients
   of the domain to start using WSUS instead of Microsoft Update.&amp;nbsp; There's ample
   info on the 'net about how to configure GP.
&lt;/p&gt;
&lt;p&gt;
   * Once you've got Group Policy updated and replicated, you can force a client to update
   by typing GPUPDATE at the command line.
&lt;/p&gt;
&lt;p&gt;
   * To force a client computer to contact WSUS to update itself, type:
&lt;/p&gt;
&lt;p&gt;
   &lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;wuauclt.exe /detectnow&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
   * To keep WSUS fit and trim so that it runs well, copy/paste the following to a batch
   file on the WSUS Server and set it up as a Scheduled Task.&amp;nbsp; This is a script
   that someone else wrote that I found doing some Internet searches in trying to improve
   WSUS performance.&amp;nbsp; If you don't run this batch file on your WSUS instance, Approving
   Updates through the WSUSAdmin interface can become painfully slow.
&lt;/p&gt;
&lt;p&gt;
   Please note, you will need to download WSUSDEBUGTOOL.EXE -- which is called "Server
   Diagnostic Tool" and available here: &lt;a href="http://www.microsoft.com/windowsserversystem/updateservices/downloads/default.mspx"&gt;http://www.microsoft.com/windowsserversystem/updateservices/downloads/default.mspx&lt;/a&gt;.&amp;nbsp;
   After download, run and extract the wsusdebugtool.exe file to the X:\Program Files\Update
   Services\Tools directory on the WSUS Server.&amp;nbsp; Make sure to configure the first
   TWO lines of the batch file so that the paths are correct.
&lt;/p&gt;
&lt;font size=1&gt; 
&lt;p&gt;
   SET ScriptPath=F:\WSUS-Scripts
&lt;/p&gt;
&lt;p&gt;
   SET BackupPath=F:\WSUS-BAK
&lt;/p&gt;
&lt;p&gt;
   SET WSUS_DB=%ComputerName%\WSUS
&lt;/p&gt;
&lt;p&gt;
   SET ProgPath=%ProgramFiles%\Update Services\Tools
&lt;/p&gt;
&lt;p&gt;
   if not exist "%ScriptPath%\wsus_clean.log" echo Log Created &amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :---------------Begin WSUS Cleanup-------------------: &amp;gt;&amp;gt; %ScriptPath%\wsus_clean.log
&lt;/p&gt;
&lt;p&gt;
   if not exist "%ProgPath%\wsusdebugtool.exe" echo Please Download the Debug tool from
   http://download.microsoft.com/download/7/7...ebug%20Tool.EXE
&lt;/p&gt;
&lt;p&gt;
   if not exist "%ProgPath%\wsusdebugtool.exe" echo ERROR Please Download the Debug tool
   from http://download.microsoft.com/download/7/7...ebug%20Tool.EXE &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   if exist "%ProgPath%\wsusdebugtool.exe" echo %ProgPath%\wsusdebugtool.exe Found. &amp;gt;&amp;gt;
   "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Starting WSUS Cleanup.... &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   date /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Stopping Web Service &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   NET STOP w3svc &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Begin Deletion of Unneededrevisions &amp;gt;&amp;gt; %ScriptPath%\wsus_clean.log
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   "%ProgPath%\wsusutil.exe" deleteunneededrevisions &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Begin Purge of Unneeded Files &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   "%ProgPath%\wsusdebugtool.exe" /tool:purgeunneededfiles &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Begin OSQL Commands to backup the DB &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   del "%BackupPath%\backup_wsus.bak.old"
&lt;/p&gt;
&lt;p&gt;
   ren "%BackupPath%\backup_wsus.bak" backup_wsus.bak.old
&lt;/p&gt;
&lt;p&gt;
   Osql -S %WSUS_DB% -E /Q "Backup Database SUSDB to disk = '%BackupPath%\backup_wsus.bak'"
   &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   Osql -S %WSUS_DB% -E /Q "backup log SUSDB with TRUNCATE_ONLY" &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Begin OSQL Commands to Add Indexes if missing &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   Osql -S %WSUS_DB% -E /Q "USE SUSDB BEGIN TRAN IF NOT EXISTS (SELECT * FROM sysindexes
   where name='nc7DeploymentRevision') BEGIN CREATE NONCLUSTERED INDEX nc7DeploymentRevision
   ON dbo.tbDeployment(RevisionID, TargetGroupID, ActionID) END COMMIT TRAN" &amp;gt;&amp;gt;
   "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Begin OSQL Commands to Truncate tbEventInstance &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   Osql -S %WSUS_DB% -E /Q "USE SUSDB declare @RS as int select @RS=(select count(*)
   from tbEventInstance) select @RS as tbEventInstanceRowCount if @RS &amp;gt; '3000' truncate
   table tbEventInstance" &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Begin OSQL Commands to compress the DB &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   Osql -S %WSUS_DB% -E /Q "use SUSDB dbcc shrinkdatabase ('SUSDB')" &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo Starting Web Services &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   net start w3svc &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   date /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   time /t &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   echo :---------------Cleanup Finished -------------------: &amp;gt;&amp;gt; "%ScriptPath%\wsus_clean.log"
&lt;/p&gt;
&lt;p&gt;
   SET ScriptPath=
&lt;/p&gt;
&lt;p&gt;
   SET BackupPath=
&lt;/p&gt;
&lt;p&gt;
   SET WSUS_DB=
&lt;/p&gt;
&lt;p&gt;
   :END
&lt;/p&gt;
&lt;/font&gt; 
&lt;p&gt;
   &amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
   &amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=5dd7974f-59a6-4266-94b7-b2a7947b5656" /&gt;</description>
      <comments>http://www.quagmire.com/blog/CommentView,guid,5dd7974f-59a6-4266-94b7-b2a7947b5656.aspx</comments>
    </item>
    <item>
      <trackback:ping>http://www.quagmire.com/blog/Trackback.aspx?guid=4c422772-9e0f-4ca1-a260-bfd0e2354c7c</trackback:ping>
      <pingback:server>http://www.quagmire.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.quagmire.com/blog/PermaLink,guid,4c422772-9e0f-4ca1-a260-bfd0e2354c7c.aspx</pingback:target>
      <dc:creator>grant@quagmire.com (Grant)</dc:creator>
      <wfw:comment>http://www.quagmire.com/blog/CommentView,guid,4c422772-9e0f-4ca1-a260-bfd0e2354c7c.aspx</wfw:comment>
      <wfw:commentRss>http://www.quagmire.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=4c422772-9e0f-4ca1-a260-bfd0e2354c7c</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I've had a serious love/hate relationship with MS Exchange since version 5.5. 
      On the one hand, Exchange provides a rich user experience.  On the other hand,
      it is a beast of a product to manage/administrate.  Perhaps one of the most harrowing
      aspects of Exchange is proper maintenence and disaster recovery when failure does
      occur.  And yes, failure WILL occur.  I guarantee it.
   </p>
        <p>
      With several of my jobs over the past 10 years, including my current one, I have had
      to act as the Exchange Administrator (lucky me).  Here are some of pearls of
      wisdom that I've collected throughout my career.  Most of this stuff I learned
      from a very talented Exchange Guru from a small outfit in Cincinnati called KeyEdge
      (<a href="http://www.keyedge.com">http://www.keyedge.com</a>).
   </p>
        <p>
      * It is essential to backup the Exchange Server using NT Backup on a regular basis
      - as in every day.  If you look into the C:\Program Files\ExchSvr\MDBDATA directory
      (substitute your drive letter and proper path as necessary), you will likely see many
      .log files that are about 5mb in size each.  These files contain critical information
      about your mail and if they are lost, you will lose mail.  Run NT Backup on the
      Exchange Server, expand the Exchange Server folder and click the Microsoft Information
      Store.  I find it makes the most sense to back this up to a file on the local
      server or over the network.  Ideally, you should then pick this file up in your
      nightly backup routine to move the file to tape or elsewhere.  Once the backup
      completes, all the .log files magically disappear, because they get committed to the
      Exchange .EDB file(s).
   </p>
        <p>
      * About every two months, it is important to defrag the Exchange Server databases
      (Priv1.EDB and Pub1.EDB (if you have public folders)).  These Exchange databases
      are similar to SQL Server in that they grows incrementally as storage requirements
      increase.  Even though you might instruct all your users to do a deep cleaning
      of their mail on the server, you will notice that the size of the .EDB files do not
      decrease.  This is because Exchange has already allocated that amount of disk
      space for its storage requirements.  To shrink the EDB files you must defrag. 
      After defrag you will notice that the EDB files have contracted to the actual current
      storage requirement.  Defragging requires taking the information stores offline
      and then running ESEUTIL from a command line.  See this article: <a href="http://support.microsoft.com/?kbid=192185">http://support.microsoft.com/?kbid=192185</a>.
   </p>
        <p>
      * Make sure you know your Legacy DN.  This will be important if you ever need
      to restore your Exchange Server.  See <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5EF7786B-A699-4AAD-B104-BF9DE3F473E5&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=5EF7786B-A699-4AAD-B104-BF9DE3F473E5&amp;displaylang=en</a> to
      get the utility.  Just run it and write down the LegacyDN information and keep
      it safe in the event of a disaster.
   </p>
        <p>
      * This site contains documentation on a SWING migration.  <a href="http://www.sbsmigration.com/migration-projects.php">http://www.sbsmigration.com/migration-projects.php</a>. 
      Although it says "migration" there is highly detailed information on restoring an
      Exchange Server in the event of a catastrophe.  Its unorthodox, but it works
      completely and absolutely.  Don't be fooled by the Small Business Server crap. 
      This stuff is the real deal.
   </p>
        <p>
      * In the event of Send/Receive errors reported from Outlook, a likely culprit is the
      Offline Address Book, which Outlook caches.  This can cause all kinds of strange
      things to occur, such as "Exchange Server Reported Error (0x8004010F).  The thing
      to do here is go into the System Manager for Exchange and Rebuild the Offline Address
      List (Recipients, Offline Address Lists, Default, Offline Address List - right click
      and choose Rebuild).
   </p>
        <p>
      * To setup the Exchange System Tools on a workstation so you don't always have to
      remote desktop to the Exchange Server to use the improved Active Directory for Users
      &amp; Computers tool and/or to manage the Exchange Server, you can install the System
      Tools on a Windows XP workstation.  Pop the CD in (or mount the ISO with Daemon
      Tools or similar) and start by acting like you are going to install Exchange on your
      XP box.  On the 2nd screen, choose Install System Tools only, then on next screen
      (or one after that I can't remember), choose CUSTOM install type and then set INSTALL
      next to System Tools.  That's it.  Make sure you have installed the pre-requisite
      items that the installer indicates are required prior to getting to this step. 
      For XP, I believe this is IIS and SP2.
   </p>
        <p>
      * Make sure to install the latest Exchange 2003 Service Pack on the Exchange Server. 
      Duh.  Check for security updates after that.  Duh.  (<a href="http://update.microsoft.com">http://update.microsoft.com</a>).
   </p>
        <p>
      * You can find most answers you need by using Google.
   </p>
        <p>
       
   </p>
        <img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=4c422772-9e0f-4ca1-a260-bfd0e2354c7c" />
      </body>
      <title>MS Exchange 2003 </title>
      <guid>http://www.quagmire.com/blog/PermaLink,guid,4c422772-9e0f-4ca1-a260-bfd0e2354c7c.aspx</guid>
      <link>http://www.quagmire.com/blog/PermaLink,guid,4c422772-9e0f-4ca1-a260-bfd0e2354c7c.aspx</link>
      <pubDate>Sun, 25 Jun 2006 05:12:13 GMT</pubDate>
      <description>&lt;p&gt;
   I've had a serious love/hate relationship with MS Exchange since version 5.5.&amp;nbsp;
   On the one hand, Exchange provides a rich user experience.&amp;nbsp; On the other hand,
   it is a beast of a product to manage/administrate.&amp;nbsp; Perhaps one of the most harrowing
   aspects of Exchange is proper maintenence and disaster recovery when failure does
   occur.&amp;nbsp; And yes, failure WILL occur.&amp;nbsp; I guarantee it.
&lt;/p&gt;
&lt;p&gt;
   With several of my jobs over the past 10 years, including my current one, I have had
   to act as the Exchange Administrator (lucky me).&amp;nbsp; Here are some of pearls of
   wisdom that I've collected throughout my career.&amp;nbsp; Most of this stuff I learned
   from a very talented Exchange Guru from a small outfit in Cincinnati called KeyEdge
   (&lt;a href="http://www.keyedge.com"&gt;http://www.keyedge.com&lt;/a&gt;).
&lt;/p&gt;
&lt;p&gt;
   * It is essential to backup the Exchange Server using NT Backup on a regular basis
   - as in every day.&amp;nbsp; If you look into the C:\Program Files\ExchSvr\MDBDATA directory
   (substitute your drive letter and proper path as necessary), you will likely see many
   .log files that are about 5mb in size each.&amp;nbsp; These files contain critical information
   about your mail and if they are lost, you will lose mail.&amp;nbsp; Run NT Backup on the
   Exchange Server, expand the Exchange Server folder and click the Microsoft Information
   Store.&amp;nbsp; I find it makes the most sense to back this up to a file on the local
   server or over the network.&amp;nbsp; Ideally, you should then pick this file up in your
   nightly backup routine to move the file to tape or elsewhere.&amp;nbsp; Once the backup
   completes, all the .log files magically disappear, because they get committed to the
   Exchange .EDB file(s).
&lt;/p&gt;
&lt;p&gt;
   * About every two months, it is important to defrag the Exchange Server databases
   (Priv1.EDB and Pub1.EDB (if you have public folders)).&amp;nbsp; These Exchange databases
   are&amp;nbsp;similar to SQL Server in that&amp;nbsp;they grows incrementally as storage requirements
   increase.&amp;nbsp; Even though you might instruct all your users to do a deep cleaning
   of their mail on the server, you will notice that the size of the .EDB files do not
   decrease.&amp;nbsp; This is because Exchange has already allocated that amount of disk
   space for its storage requirements.&amp;nbsp; To shrink the EDB files you must defrag.&amp;nbsp;
   After defrag you will notice that the EDB files have contracted to the actual current
   storage requirement.&amp;nbsp; Defragging requires taking the information stores offline
   and then running ESEUTIL from a command line.&amp;nbsp; See this article: &lt;a href="http://support.microsoft.com/?kbid=192185"&gt;http://support.microsoft.com/?kbid=192185&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
   * Make sure you know your Legacy DN.&amp;nbsp; This will be important if you ever need
   to restore your Exchange Server.&amp;nbsp; See &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=5EF7786B-A699-4AAD-B104-BF9DE3F473E5&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=5EF7786B-A699-4AAD-B104-BF9DE3F473E5&amp;amp;displaylang=en&lt;/a&gt;&amp;nbsp;to
   get the utility.&amp;nbsp; Just run it and write down the LegacyDN information and keep
   it safe in the event of a disaster.
&lt;/p&gt;
&lt;p&gt;
   * This site contains documentation on a SWING migration.&amp;nbsp; &lt;a href="http://www.sbsmigration.com/migration-projects.php"&gt;http://www.sbsmigration.com/migration-projects.php&lt;/a&gt;.&amp;nbsp;
   Although it says "migration" there is highly detailed information on restoring an
   Exchange Server in the event of a catastrophe.&amp;nbsp; Its unorthodox, but it works
   completely and absolutely.&amp;nbsp; Don't be fooled by the Small Business Server crap.&amp;nbsp;
   This stuff is the real deal.
&lt;/p&gt;
&lt;p&gt;
   * In the event of Send/Receive errors reported from Outlook, a likely culprit is the
   Offline Address Book, which Outlook caches.&amp;nbsp; This can cause all kinds of strange
   things to occur, such as "Exchange Server Reported Error (0x8004010F).&amp;nbsp; The thing
   to do here is go into the System Manager for Exchange and Rebuild the Offline Address
   List (Recipients, Offline Address Lists, Default, Offline Address List - right click
   and choose Rebuild).
&lt;/p&gt;
&lt;p&gt;
   * To setup the Exchange System Tools on a workstation so you don't always have to
   remote desktop to the Exchange Server to use the improved Active Directory for Users
   &amp;amp; Computers tool and/or to manage the Exchange Server, you can install the System
   Tools on a Windows XP workstation.&amp;nbsp; Pop the CD in (or mount the ISO with Daemon
   Tools or similar) and start by acting like you are going to install Exchange on your
   XP box.&amp;nbsp; On the 2nd screen, choose Install System Tools only, then on next screen
   (or one after that I can't remember), choose CUSTOM install type and then set INSTALL
   next to System Tools.&amp;nbsp; That's it.&amp;nbsp; Make sure you have installed the pre-requisite
   items that the installer indicates are required prior to getting to this step.&amp;nbsp;
   For XP, I believe this is IIS and SP2.
&lt;/p&gt;
&lt;p&gt;
   * Make sure to install the latest Exchange 2003 Service Pack on the Exchange Server.&amp;nbsp;
   Duh.&amp;nbsp; Check for security updates after that.&amp;nbsp; Duh.&amp;nbsp; (&lt;a href="http://update.microsoft.com"&gt;http://update.microsoft.com&lt;/a&gt;).
&lt;/p&gt;
&lt;p&gt;
   * You can find most answers you need by using Google.
&lt;/p&gt;
&lt;p&gt;
   &amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=4c422772-9e0f-4ca1-a260-bfd0e2354c7c" /&gt;</description>
      <comments>http://www.quagmire.com/blog/CommentView,guid,4c422772-9e0f-4ca1-a260-bfd0e2354c7c.aspx</comments>
    </item>
    <item>
      <trackback:ping>http://www.quagmire.com/blog/Trackback.aspx?guid=0fe29404-c089-4cfd-9e78-6025b4559c39</trackback:ping>
      <pingback:server>http://www.quagmire.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.quagmire.com/blog/PermaLink,guid,0fe29404-c089-4cfd-9e78-6025b4559c39.aspx</pingback:target>
      <dc:creator>grant@quagmire.com (Grant)</dc:creator>
      <wfw:comment>http://www.quagmire.com/blog/CommentView,guid,0fe29404-c089-4cfd-9e78-6025b4559c39.aspx</wfw:comment>
      <wfw:commentRss>http://www.quagmire.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=0fe29404-c089-4cfd-9e78-6025b4559c39</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>Using Ghost 2003 to Clone WinXP</title>
      <guid>http://www.quagmire.com/blog/PermaLink,guid,0fe29404-c089-4cfd-9e78-6025b4559c39.aspx</guid>
      <link>http://www.quagmire.com/blog/PermaLink,guid,0fe29404-c089-4cfd-9e78-6025b4559c39.aspx</link>
      <pubDate>Thu, 01 Jun 2006 20:28:59 GMT</pubDate>
      <description>&lt;p&gt;
   At work I've built&amp;nbsp;7 new workstations for some of the employees.&amp;nbsp; To install
   the OS,&amp;nbsp;I have been using Symantec Ghost 2003.&amp;nbsp; I've jotted down the process
   of how to clone systems in a one-off manner for my own reference, but thought it might
   benefit others if I posted the How-To here.
&lt;/p&gt;
&lt;h1 style="MARGIN: 12pt 0pt 3pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;
      &lt;font face="Times New Roman" color=#000000 size=3&gt;How to Clone a Computer Using Ghost
      2003:&lt;/font&gt;
   &lt;/o:p&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/h1&gt;
&lt;ol style="MARGIN-TOP: 0pt" type=1&gt;
   &lt;li class=MsoNormal style="MARGIN: 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;
      &lt;font face="Times New Roman" color=#000000 size=3&gt;Install Ghost 2003 on the master
      computer.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;This is the computer that you
      want to make a clone of.&lt;/font&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;
      &lt;font face="Times New Roman" color=#000000 size=3&gt;Create a Ghost Boot Disk if you
      don’t already have one.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;This disk is
      used to boot the slave PC.&lt;/font&gt; 
      &lt;ol style="MARGIN-TOP: 0pt" type=a&gt;
         &lt;li class=MsoNormal style="MARGIN: 0pt; mso-list: l0 level2 lfo1; tab-stops: list 72.0pt"&gt;
            &lt;font face="Times New Roman" color=#000000 size=3&gt;This is done by starting Ghost,
            going to Ghost Utilities, and selecting the Create Ghost Boot Disk item.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;When
            creating a boot disk, make sure to select the correct network driver.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;If
            you need to add a driver, select the NDIS2 option and then browse to the media that
            contains the NDIS driver.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;This will be
            the directory where the OEMSETUP file is located.&lt;/font&gt;
         &lt;/li&gt;
      &lt;/ol&gt;
   &lt;li class=MsoNormal style="MARGIN: 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;
      &lt;font face="Times New Roman" color=#000000 size=3&gt;Select the Peer-To-Peer option under
      Ghost Advanced.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;Make sure to choose correct
      options.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;The computer will restart in
      Ghost DOS mode.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;Set the system in Master
      mode.&lt;/font&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;
      &lt;font face="Times New Roman" color=#000000 size=3&gt;Take the boot disk and boot the
      slave PC to the Ghost Boot disk.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;Set
      the system in Slave mode.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;Once slave
      mode starts, it will display the IP address of the box.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;Note
      that IP, then go over to the Master PC and type in the Slave’s IP address there.&lt;/font&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0pt; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"&gt;
      &lt;font face="Times New Roman" color=#000000 size=3&gt;Now the two machines are connected,
      go to Disk and select the option to start the clone operation on the Master computer.&lt;/font&gt;
   &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
   I've noted some interesting behaviors with getting the new clone&amp;nbsp;to login to
   the active directory domain properly once the&amp;nbsp;above process is complete.&amp;nbsp;
   This has to do with the system time of the clone being different from the system time
   of the domain.&amp;nbsp; The way around this I have found is to:
&lt;/p&gt;
&lt;p&gt;
   1. Login to the cloned box using a local computer account.
&lt;/p&gt;
&lt;p&gt;
   2. Open a command window and type: net use &lt;a href="file://ADcontroller/ipc$"&gt;\\ADcontroller\ipc$&lt;/a&gt; /username:domain\administrator
   password
&lt;/p&gt;
&lt;p&gt;
   3. Then type: net time \\servername /set&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
   This gets the time of the clone in synch with the domain.
&lt;/p&gt;
&lt;p&gt;
   If the machine still won't login to the domain, the solution is to remove the workstation
   from the domain, setting it back to WORKGROUP mode.&amp;nbsp; Reboot.&amp;nbsp; After Reboot,
   join it to the domain.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=0fe29404-c089-4cfd-9e78-6025b4559c39" /&gt;</description>
      <comments>http://www.quagmire.com/blog/CommentView,guid,0fe29404-c089-4cfd-9e78-6025b4559c39.aspx</comments>
    </item>
    <item>
      <trackback:ping>http://www.quagmire.com/blog/Trackback.aspx?guid=72e3a513-62d1-48e1-9524-9a850b681f13</trackback:ping>
      <pingback:server>http://www.quagmire.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.quagmire.com/blog/PermaLink,guid,72e3a513-62d1-48e1-9524-9a850b681f13.aspx</pingback:target>
      <dc:creator>grant@quagmire.com (Grant)</dc:creator>
      <wfw:comment>http://www.quagmire.com/blog/CommentView,guid,72e3a513-62d1-48e1-9524-9a850b681f13.aspx</wfw:comment>
      <wfw:commentRss>http://www.quagmire.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=72e3a513-62d1-48e1-9524-9a850b681f13</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Over the past year+, I've noted an incredible increase in form spam through the various
      web sites that I've authored and continue to manage.  As a result, I've had to
      go back and add CAPTCHA controls to the forms in some cases.
   </p>
        <p>
      I'm working on a new .NET project called ArtOverture and needed to dig into a .NET
      based CAPTCHA control.  Looking around at the source code for dasBlog, I learned
      about Jeff Atkins CaptchaControl.  It's written in VB.NET for Visual Studio 2003
      and ASP.NET 1.1.  However, I found that you can include the compiled DLL just
      fine as a toolbox control in Visual Studio 2005.  The control works perfectly
      without any need for recompiling.
   </p>
        <p>
      Here's the link to Jeff's Code Project writeup on CaptchaControl.  Full source
      code is available.
   </p>
        <p>
       <a href="http://www.codeproject.com/aspnet/CaptchaControl.asp">http://www.codeproject.com/aspnet/CaptchaControl.asp</a></p>
        <img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=72e3a513-62d1-48e1-9524-9a850b681f13" />
      </body>
      <title>CAPTCHA for ASP.NET</title>
      <guid>http://www.quagmire.com/blog/PermaLink,guid,72e3a513-62d1-48e1-9524-9a850b681f13.aspx</guid>
      <link>http://www.quagmire.com/blog/PermaLink,guid,72e3a513-62d1-48e1-9524-9a850b681f13.aspx</link>
      <pubDate>Sun, 28 May 2006 17:25:58 GMT</pubDate>
      <description>&lt;p&gt;
   Over the past year+, I've noted an incredible increase in form spam through the various
   web sites that I've authored and continue to manage.&amp;nbsp; As a result, I've had to
   go back and add CAPTCHA controls to the forms in some cases.
&lt;/p&gt;
&lt;p&gt;
   I'm working on a new .NET project called ArtOverture and needed to dig into a .NET
   based CAPTCHA control.&amp;nbsp; Looking around at the source code for dasBlog, I learned
   about Jeff Atkins CaptchaControl.&amp;nbsp; It's written in VB.NET for Visual Studio 2003
   and ASP.NET 1.1.&amp;nbsp; However, I found that you can include the compiled DLL just
   fine as a toolbox control in Visual Studio 2005.&amp;nbsp; The control works perfectly
   without any need for recompiling.
&lt;/p&gt;
&lt;p&gt;
   Here's the link to Jeff's Code Project writeup on CaptchaControl.&amp;nbsp; Full source
   code is available.
&lt;/p&gt;
&lt;p&gt;
   &amp;nbsp;&lt;a href="http://www.codeproject.com/aspnet/CaptchaControl.asp"&gt;http://www.codeproject.com/aspnet/CaptchaControl.asp&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=72e3a513-62d1-48e1-9524-9a850b681f13" /&gt;</description>
      <comments>http://www.quagmire.com/blog/CommentView,guid,72e3a513-62d1-48e1-9524-9a850b681f13.aspx</comments>
    </item>
    <item>
      <trackback:ping>http://www.quagmire.com/blog/Trackback.aspx?guid=b42c4da6-fe34-4311-bc26-ce418d671a17</trackback:ping>
      <pingback:server>http://www.quagmire.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.quagmire.com/blog/PermaLink,guid,b42c4da6-fe34-4311-bc26-ce418d671a17.aspx</pingback:target>
      <dc:creator>grant@quagmire.com (Grant)</dc:creator>
      <wfw:comment>http://www.quagmire.com/blog/CommentView,guid,b42c4da6-fe34-4311-bc26-ce418d671a17.aspx</wfw:comment>
      <wfw:commentRss>http://www.quagmire.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=b42c4da6-fe34-4311-bc26-ce418d671a17</wfw:commentRss>
      <slash:comments>10</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
      I've been toying around with the idea of setting up my own blog for sometime.
   </p>
        <p>
      After doing a brief Google search on ASP.NET based blog tools, I found David Hayden's <a href="http://davidhayden.com/blog/dave/archive/2005/01/27/804.aspx">note</a> where
      he recommended <a href="http://www.dasblog.info/">DasBlog</a>.  Took me all of
      15 minutes to get up and running on my box.  So far so good.
   </p>
        <img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=b42c4da6-fe34-4311-bc26-ce418d671a17" />
      </body>
      <title>DasBlog Installed</title>
      <guid>http://www.quagmire.com/blog/PermaLink,guid,b42c4da6-fe34-4311-bc26-ce418d671a17.aspx</guid>
      <link>http://www.quagmire.com/blog/PermaLink,guid,b42c4da6-fe34-4311-bc26-ce418d671a17.aspx</link>
      <pubDate>Sat, 27 May 2006 03:33:07 GMT</pubDate>
      <description>&lt;p&gt;
   I've been toying around with the idea of setting up my own blog for sometime.
&lt;/p&gt;
&lt;p&gt;
   After doing a brief Google search on ASP.NET based blog tools, I found David Hayden's &lt;a href="http://davidhayden.com/blog/dave/archive/2005/01/27/804.aspx"&gt;note&lt;/a&gt; where
   he recommended &lt;a href="http://www.dasblog.info/"&gt;DasBlog&lt;/a&gt;.&amp;nbsp; Took me all of
   15 minutes to get up and running on my box.&amp;nbsp; So far so good.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.quagmire.com/blog/aggbug.ashx?id=b42c4da6-fe34-4311-bc26-ce418d671a17" /&gt;</description>
      <comments>http://www.quagmire.com/blog/CommentView,guid,b42c4da6-fe34-4311-bc26-ce418d671a17.aspx</comments>
    </item>
  </channel>
</rss>