<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>AutoIt Consulting</title> <atom:link href="http://www.autoitconsulting.com/site/feed/" rel="self" type="application/rss+xml" /><link>http://www.autoitconsulting.com/site</link> <description>Windows Deployment and Scripting Specialists</description> <lastBuildDate>Sat, 09 Feb 2013 13:15:41 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5.1</generator> <item><title>Configuring an AirPort Extreme for NAT Only Mode</title><link>http://www.autoitconsulting.com/site/networking/configuring-an-airport-extreme-for-nat-only-mode/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configuring-an-airport-extreme-for-nat-only-mode</link> <comments>http://www.autoitconsulting.com/site/networking/configuring-an-airport-extreme-for-nat-only-mode/#comments</comments> <pubDate>Fri, 08 Feb 2013 15:28:45 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Networking]]></category> <category><![CDATA[DHCP]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=1025</guid> <description><![CDATA[<p>This post will show how you can use an configure an AirPort Extreme for NAT only mode so that you can allow an additional DHCP server on your network to handle IP address allocation. The instructions are for the AirPort Extreme in the Time Capsule, but I believe this should be the same for a [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/networking/configuring-an-airport-extreme-for-nat-only-mode/">Configuring an AirPort Extreme for NAT Only Mode</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>This post will show how you can use an configure an AirPort Extreme for NAT only mode so that you can allow an additional DHCP server on your network to handle IP address allocation. The instructions are for the AirPort Extreme in the Time Capsule, but I believe this should be the same for a standard AirPort Extreme as well. </p><p>I recently got an Apple Time Capsule to replace my old linksys cable router. It&#8217;s a great little unit but one thing was causing me an issue with my home setup and I couldn&#8217;t initially get it to play nice with my home network.</p><p>Due to the nature of my work I have quite a few machines on my home network. These are using for testing out various bits of Microsoft software such as System Center Configuration Manager and MDT. This involves a number of virtual and physical hosts, a full Microsoft Active Directory, DHCP and DNS setup. I also have a number of virtual client machines which are constantly rebuilt for testing. The way I have it setup is that the Microsoft DHCP server is responsible for allocating IP addresses and it causes the clients to use the Microsoft DNS (along with the Dynamic DNS registrations) along with some other specific DHCP scope options. The Microsoft DNS is setup to forward external DNS requests to the router. This ensures that all the Microsoft clients can correctly register themselves in the Microsoft DNS but can still access the internet directly. All my other non-Microsoft devices (laptop, iPad, TV, etc.) can work normally as well.</p><p>For this setup to work, all I do is to turn off the DHCP server on the router so that the Microsoft DHCP server can take over. This is where the problems started because you don&#8217;t have that option in the interface for the Router Mode. You only get these options:</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_nat_options_854x234.png"><img
class="aligncenter  wp-image-1039" style="border: 1px solid black;" title="AirPort Extreme Router Mode" alt="dhcp nat options 854x234 Configuring an AirPort Extreme for NAT Only Mode" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_nat_options_854x234.png" width="410" height="112" /></a></p><ul><li><strong>DHCP and NAT</strong> &#8211; This is the default mode and it runs a DHCP server and lets clients access the internet.</li><li><strong>DHCP Only</strong> &#8211; This runs a DHCP server but doesn&#8217;t function as a router.</li><li><strong>Off (Bridge Mode)</strong> &#8211; This is just used for acting as a wifi extender.</li></ul><p>None of these modes work for me. What I actually need is an AirPort Extreme &#8220;NAT Only&#8221; router mode that doesn&#8217;t exist.</p><p>If you have more than one DHCP server on a LAN then both will try and hand out IP addresses to clients, but the client will register with the first server that responds. My solution was to configure the Time Capsule so that it was running in the DHCP and NAT mode so that it could be correctly used as an internet gateway, but I would configure it so that it had no free IP addresses to hand out. This would mean that any clients would only be able to successfully request an IP address from my Microsoft DHCP server.</p><p>My solution is:</p><ul><li><span
style="line-height: 13px;">Set the Router Mode to &#8220;DHCP and NAT&#8221;.</span></li><li>Create the smallest possible DHCP range (2 IP addresses in the AirPort software).</li><li>Create &#8220;dummy&#8221; reservations for the DHCP range so that the addresses can&#8217;t actually be used.</li></ul><p>Here is how I configured it. I&#8217;ll be using the IP range of 192.168.0.x </p><p>Open the AirPort utility and go to the <strong>Network</strong> tab. Set the Router Mode to &#8220;DHCP and NAT&#8221; as shown in the screenshot above.</p><p>Click the <strong>Network Options&#8230;</strong> button and setup the DHCP for the <strong>192.168</strong> network and the range will be from <strong>253</strong> to <strong>254</strong> then click <strong>Save</strong>.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_settings_964x3941.png"><img
class="aligncenter  wp-image-1045" style="border: 1px solid black;" title="AirPort Extreme DHCP Settings" alt="dhcp settings 964x3941 Configuring an AirPort Extreme for NAT Only Mode" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_settings_964x3941.png" width="462" height="189" /></a></p><p>This will mean that the AirPort Extreme will have the address <strong>192.168.0.1</strong> and it will hand out the <strong>192.168.0.253</strong> and <strong>192.168.0.254</strong> addresses to clients. But we don&#8217;t want to the hand out <strong>any</strong> addresses! We get around this be creating a couple of dummy reservations. From the <strong>Network</strong> tab and in the <strong>DHCP Reservations</strong> section, click the <strong>+</strong> symbol.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_reservation_list_876x506.png"><img
class="aligncenter  wp-image-1048" style="border: 1px solid black;" title="AirPort Extreme DHCP Reservation List" alt="dhcp reservation list 876x506 Configuring an AirPort Extreme for NAT Only Mode" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_reservation_list_876x506.png" width="421" height="243" /></a></p><p>Now enter a new reservation with the name <strong>DummyReservation1</strong> and a MAC address of <strong>00:00:00:00:00:00</strong> and click <strong>Save</strong>.</p><p><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_add_reservation_858x334.png"><img
class="aligncenter  wp-image-1047" style="border: 1px solid black;" title="AirPort Extreme DHCP Add Reservation" alt="dhcp add reservation 858x334 Configuring an AirPort Extreme for NAT Only Mode" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_add_reservation_858x334.png" width="412" height="160" /></a></p><p>Add a second reservation with the name <strong>DummyReservation2</strong> and a MAC address of <strong>00:00:00:00:00:01</strong> and click <strong>Save</strong>. (Note: the two reservations must have different MAC addresses or they will vanish when you save the configuration).</p><p>The DHCP Reservation list should now look like this:</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_reservation_list_complete_866_506.png"><img
class="aligncenter  wp-image-1051" style="border: 1px solid black;" title="AirPort Extreme DHCP Reservation List" alt="dhcp reservation list complete 866 506 Configuring an AirPort Extreme for NAT Only Mode" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2013/02/dhcp_reservation_list_complete_866_506.png" width="416" height="243" /></a></p><p>Finally click <strong>Update</strong> to store and activate the new configuration. Remember that your other DHCP server is now in charge of handing out IP addresses in that range &#8211; in this case that is 192.168.0.2 to 192.168.0.252.</p><p>The post <a
href="http://www.autoitconsulting.com/site/networking/configuring-an-airport-extreme-for-nat-only-mode/">Configuring an AirPort Extreme for NAT Only Mode</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/networking/configuring-an-airport-extreme-for-nat-only-mode/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Website Server Rebuild Diary</title><link>http://www.autoitconsulting.com/site/hosting/website-server-rebuild-diary/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=website-server-rebuild-diary</link> <comments>http://www.autoitconsulting.com/site/hosting/website-server-rebuild-diary/#comments</comments> <pubDate>Mon, 19 Nov 2012 14:57:25 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Hosting]]></category> <category><![CDATA[CentOS]]></category> <category><![CDATA[Linux]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=954</guid> <description><![CDATA[<p>Not a usual scripting or deployment post this time &#8211; this is a website server rebuild diary. I wanted to make a quick post to document a server rebuild and to log the sort of work that goes into maintaining this and the www.autoitscript.com site. Even small (ish) sites can be quite a bit of [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/hosting/website-server-rebuild-diary/">Website Server Rebuild Diary</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>Not a usual scripting or deployment post this time &#8211; this is a website server rebuild diary. I wanted to make a quick post to document a server rebuild and to log the sort of work that goes into maintaining this and the <a
title="AutoIt Website" href="http://www.autoitscript.com" target="_blank">www.autoitscript.com</a> site. Even small (ish) sites can be quite a bit of effort.</p><p>Current environment is CentOS 5.8 (upgraded many times from earlier versions of 5.x) running on a dedicated server (Quad core, 8GB RAM, mirrored disks).</p><p>CentOS packages aren&#8217;t upgraded throughout the lifetime of a major release (all 5.x versions) aside from security fixes. This means that the OS is very stable and great for hosting but it can require some custom packages of newer software to cater for the websites that I want to run. Significant packages include:</p><ul><li>Apache 2.2.22 (<a
title="Jason Litka Repo" href="http://www.jasonlitka.com/yum-repository/" target="_blank">Jason Litka Repo</a>)</li><li>MySQL 5.1.48 (Jason Litka Repo)</li><li>PHP 5.2.17 (Jason Litka Repo)</li><li>Subversion 1.7 (self build)</li><li>Python 2.4</li></ul><p>As you can see, the only &#8220;standard&#8221; CentOS package is Python 2.4 as many of the CentOS internals rely on it and upgrading it can cause major problems.</p><p>The main web applications we use are:</p><div><ul><li>Invision Power Board 3.3.4 &#8211; The <a
title="AutoIt Forum" href="http://www.autoitscript.com/forum" target="_blank">AutoIt Forum</a></li><li>WordPress 3.4.2 &#8211; This site and the <a
title="AutoIt SIte" href="http://www.autoitscript.com" target="_blank">AutoIt site</a></li><li>MediaWiki 1.18 &#8211; The <a
title="AutoIt Wiki" href="http://www.autoitscript.com/wiki" target="_blank">AutoIt Wiki</a></li><li>Trac 0.8 &#8211; The <a
title="AutoIt Bug Tracker" href="http://www.autoitscript.com/trac/autoit" target="_blank">AutoIt bug tracker</a></li><li>Parallels Plesk Panel 10.4.4</li></ul><p>We currently handle around 40GB of traffic per day and the forum frequently has close to 1000 active users at once. I have recently started to use <a
title="Amazon CloudFront" href="http://aws.amazon.com/cloudfront/" target="_blank">Amazon CloudFront</a> to serve images so that the site is quite fast no matter where it is accessed from.</p></div><h2>Tuesday 13th November, 2012</h2><p>Attempted to upgrade <a
title="AutoIt Wiki" href="http://www.autoitscript.com/wiki" target="_blank">MediaWiki</a> to version 1.20 and found that it now has a minimum requirement of  PHP 5.3. I found that CentOS had unusually released a special set of PHP 5.3 RPMs so I installed those. PHP immediately stopped working and this was traced to my APC (PHP accelerator) extension which needs to be compiled against the correct version of PHP. I reinstalled APC using &#8220;pecl&#8221; and everything worked again. I was pretty pleased that PHP 5.3 was running as there are more and more applications (particularly WordPress extensions) which require 5.3 that I could now use.</p><p>I looked to upgrade <a
title="AutoIt Trac" href="http://www.autoitscript.com/trac/autoit" target="_blank">Trac</a> to v1.0 which has always been fairly straightforward, but found that it now had Python 2.5 as a minimum requirement. I could attempt to build a custom version of Python just for use in Trac, but I decided that as my hosting provider could supply a CentOS 6 image that I would use the opportunity to rebuild the server entirely (with so many upgrades and custom packages it would be nice to get back to a fresh install).</p><p>Unfortunately, the ISP imaging process will wipe the disk entirely, making the upgrade &#8220;fun&#8221;&#8230;</p><h2>Wednesday 14th November, 2012</h2><p>I spent a couple of hours double checking my backup processes. These are performed daily using a combination of:</p><ul><li>Plesk Backup Manager &#8211; Backs up hosting settings, email, DNS and MySQL databases.</li><li>Custom shell scripts &#8211; Backs up anything not handled by Plesk &#8211; there&#8217;s a lot of tweaks to config files that happen over the years that I want to preserve. I also manually backup the MySQL databases in addition to Plesk as I&#8217;m a little paranoid&#8230;</li></ul><p>The custom shell scripts create a rolling 30 day set of backups locally on the server. They also store the backups on a special FTP server provided by the ISP for off-server backups. Once a month I take a copy of  the latest backup to my home machine. This is not a quick operation as the backup files are <strong>4 GB</strong>&#8230;zipped!</p><p>After checking the backup scripts I notice that the local FTP upload has not been working correctly due to an ISP infrastructure change. I also find that the newer version of Plesk that I&#8217;m using no longer backs up some of the customisations to web hosting config files that I&#8217;d made.</p><p>Time to triple check the scripts!</p><h2>Thursday 15th November, 2012</h2><p>During the rebuild the site is likely to be offline for a number of hours. At some point (after Plesk initially restores the hosting and database settings) the websites will likely be &#8220;up&#8221; but &#8220;broken&#8221; as I install the various software packages that the web applications depend on. I don&#8217;t want my Google rankings to be hit during this time and I want to minimise the problems that users get trying to use a half-installed site. <a
title="Google Webmaster Blog" href="http://googlewebmastercentral.blogspot.co.uk/2011/01/how-to-deal-with-planned-site-downtime.html" target="_blank">This Google Webmaster post</a> recommends using the 503 HTTP result code to indicate that the site is temporarily down so that search results don&#8217;t get mangled. I added the following code to my hosting configuration and will be enabling it just before I start the full site backup and restore.</p><pre>ErrorDocument 503 "Our website is temporarily closed for maintenance. Please check back later."
RewriteEngine On
# TO ALLOW YOURSELF TO VISIT THE SITE, CHANGE 111 222 333 444 TO YOUR IP ADDRESS.
RewriteCond %{REMOTE_ADDR} !^111\.222\.333\.444$
RewriteRule .* - [R=503,L]</pre><p>This will allow me to access the web sites normally with my IP address, but anyone else will get the 503 message.</p><h2>Friday 16th November, 2012</h2><p>I took the sites offline with the 503  message above and started the backup to the ISP local FTP site. I also took a copy to my home machine where I manually extracted the files to make sure that they looked OK. I started the ISP server image process for their CentOS 6.3 image. A nice feature of the <a
title="1&amp;1 Dedicated Servers" href="https://www.1and1.co.uk/server-dedicated-overview" target="_blank">1&amp;1 hosting package</a> I use is that you can connect to your server via a SSH Serial console &#8211; this means that even if the server is completely broken and not on the network you can still interact with it. And when doing a server rebuild this helps to reassure myself that something is actually happening.</p><p>The imaging process took about an hour, and then it took another hour to download and extract the backup from FTP. Unlike my backup scripts I&#8217;d don&#8217;t have scripts to automate the restore process &#8211; usually I&#8217;m rebuilding to a different platform so it would be tricky to automate properly. However I have notes for every piece of software I need which documents how I set it up previously. I also keep a master list of Yum packages in a script so that I can reinstall every Yum package quickly.</p><p>A summary of the restore procedure is:</p><ul><li>Run &#8220;Yum Update&#8221; to ensure that all components are current</li><li>Reinstall Yum packages from my master list</li><li>Run some custom scripts that recreate the users and permissions I need</li><li>Extract backup files from FTP</li><li>Use the Plesk Backup Manager to restore the website files, basic hosting settings, DNS, email and MySQL databases</li></ul><p>At this point the main website functionality was restored and the website and forums could be brought online again which I did by removing my 503 message. The site was usable again for the majority of users and I could restore the rest of the site services over the next few days (Subversion, Trac, etc).</p><p>The post <a
href="http://www.autoitconsulting.com/site/hosting/website-server-rebuild-diary/">Website Server Rebuild Diary</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/hosting/website-server-rebuild-diary/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Using Custom XML and Config Files with USMT and ConfigMgr</title><link>http://www.autoitconsulting.com/site/deployment/using-custom-xml-and-config-files-with-usmt-and-configmgr/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-custom-xml-and-config-files-with-usmt-and-configmgr</link> <comments>http://www.autoitconsulting.com/site/deployment/using-custom-xml-and-config-files-with-usmt-and-configmgr/#comments</comments> <pubDate>Thu, 02 Feb 2012 18:00:45 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[ConfigMgr 2012]]></category> <category><![CDATA[OSD]]></category> <category><![CDATA[USMT]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=840</guid> <description><![CDATA[<p>Using USMT In System Center Configuration Manager (SCCM / ConfigMgr)  when performing an Operating System Deployment (OSD) can be a bit of a chore. The built in Task Sequence actions available for capturing and restoring user state only allow you to perform a very basic migration. Most of the time USMT requires quite a bit [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/using-custom-xml-and-config-files-with-usmt-and-configmgr/">Using Custom XML and Config Files with USMT and ConfigMgr</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>Using USMT In System Center Configuration Manager (SCCM / ConfigMgr)  when performing an Operating System Deployment (OSD) can be a bit of a chore. The built in Task Sequence actions available for capturing and restoring user state only allow you to perform a very basic migration. Most of the time USMT requires quite a bit of  tweaking to get right and once you&#8217;ve got everything working in a standalone script it can seem like a step backwards when you see the default ConfigMgr capture and restore actions. When using USMT in anger it usually involves:</p><ul><li>Creating a custom XML file for migrating customer-specific application settings</li><li>Creating a custom XML file for migrating user data as per the customer requirements</li><li>Creating a custom config.xml file to fine tune built-in migration settings</li></ul><div>Unfortunately, the USMT options in the ConfigMgr interface are basic and you have to start setting special Task Sequence variables in order to get the &#8216;clever&#8217; stuff to work. This post details how to achieve that.</div><p>These instructions are for ConfigMgr 2012 but they are pretty much identical for ConfigMgr 2007 as well. A state capture and restore is usually done as part of a Operating System Deployment Task Sequence. For the purposes of this walkthrough I&#8217;ll be showing a cut down Task Sequence that just captures user state using a ConfigMgr State Migration Point (SMP). <strong>Note:</strong> I&#8217;m also assuming that any custom XML files and a custom config.xml file are copied into the same folder as the USMT package.  (For example. USMT\amd64\config.xml and USMT\amd64\CustomData.xml). To see how to create your USMT package <a
title="Create a USMT Package in ConfigMgr" href="http://www.autoitconsulting.com/site/deployment/create-a-usmt-package-in-configmgr/" target="_blank">see this previous post</a>.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_custom_overview.png"><img
class="aligncenter  wp-image-851" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="USMT Custom Overview" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_custom_overview.png" alt="usmt custom overview Using Custom XML and Config Files with USMT and ConfigMgr" width="457" height="146" /></a></p><p>The Task Sequence actions we are interested in are:</p><ul><li><strong>Request State Store</strong> &#8211; This allows the client to access the ConfigMgr State Migration Point</li><li><strong>Set OSDMigrateAdditionalCaptureOptions</strong> &#8211; This sets a special Task Sequence variable to allow the use of custom USMT command line options</li><li><strong>Capture User State</strong> &#8211; This performs the state capture</li><li><strong>Release State Store</strong> &#8211; This releases access to the ConfigMgr State Migration point</li></ul><p>When creating an OSD Task Sequence with User State Migration the Task Sequence automatically includes <strong>Request State Store</strong>, <strong>Capture User State</strong> and <strong>Release State Store</strong>. The <strong>Set OSDMigrateAdditionalCaptureOptions</strong> is our custom action. The default actions can also be manually created from the <strong>User State</strong> Task Sequence menu.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_custom_actions.png"><img
class="aligncenter  wp-image-854" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="USMT Actions" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_custom_actions.png" alt="usmt custom actions Using Custom XML and Config Files with USMT and ConfigMgr" width="247" height="189" /></a></p><p>Let&#8217;s look at the <strong>Set OSDMigrateAdditionalCaptureOptions</strong> step first. This is just a standard action that sets a Task Sequence variable.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_custom_additional_options.png"><img
class="aligncenter  wp-image-855" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="USMT Custom Set Variable" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_custom_additional_options.png" alt="usmt custom additional options Using Custom XML and Config Files with USMT and ConfigMgr" width="548" height="213" /></a></p><p
style="text-align: left;">The <strong>OSDMigrateAdditionalCaptureOptions</strong> variable allows us to add our own parameters to the <strong>scanstate.exe</strong> command line when executed. In this example we set the value to the following:</p><pre>/uel:30 /ue:* /config:"%_SMSTSMDataPath%\Packages\%_OSDMigrateUsmtPackageID%\%PROCESSOR_ARCHITECTURE%\Config.xml"</pre><p
style="text-align: left;">Those options in more detail:</p><ul><li><strong>/uel:30 /ue:*</strong> &#8211; Standard scanstate.exe options that mean we exclude local accounts, and we exclude accounts not used in the last 30 days</li><li><strong>/config:&#8221;&#8230;&#8221;</strong> &#8211; This allows us to specify our custom <strong>config.xml</strong> file. Unfortunately we must use a <strong>full path</strong> to the USMT package and config.xml file. The various variables in this allow use to specify the location of the USMT package after it is downloaded to the client so that we can provide a full path to the config.xml file.</li><li><strong>%_SMSTSMDataPath%</strong> &#8211; Resolves to the root location of the cached package on the client, e.g. C:\_SMSTaskSequence</li><li><strong>%_OSDMigrateUsmtPackageID%</strong> &#8211; Resolves to the package ID, e.g. AUT00002</li><li><strong>%PROCESSOR_ARCHITECTURE%</strong> &#8211; Resolves to the build architecture, e.g. amd64 or x86</li></ul><p
style="text-align: left;">The next step is to use the <strong>Capture User State</strong> task to specify which migration XML files we want to use. We use the <strong>Customize how user profiles are captured</strong> option and add the filenames of the migration XML files. In this example I want to use a couple of default USMT files (<strong>MigApp.xml</strong> and <strong>MigUser.xml</strong>) along with my own custom XML file (<strong>CustomData.xml</strong>). These files must be stored in the USMT\amd64 or USMT\x86 folder of the USMT package as appropriate.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_custom_capture_settings.png"><img
class="aligncenter  wp-image-862" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="USMT Custom Capture Settings" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_custom_capture_settings.png" alt="usmt custom capture settings Using Custom XML and Config Files with USMT and ConfigMgr" width="358" height="408" /></a></p><p
style="text-align: left;">And that&#8217;s it. This example USMT capture will now use our custom command line switches, custom config.xml, and custom migration files along with the ConfigMgr State Migration Point. I&#8217;d also recommend using the verbose logging option in the Capture User State action. This means that a log is produced on the client at <strong>C:\Windows\CCM\Logs\scanstate.log</strong>. This is very handy when trying to get this procedure to work as one of the first log entries is a summary of the command line options that were used.</p><p
style="text-align: left;">The procedure for creating custom <strong>Restore User</strong> <strong>State </strong>options is similar except the custom Task Sequence variable name is <strong>OSDMigrateAdditionalRestoreOptions</strong> and the variable used in this would be <strong>%_OSDMigrateUsmtRestorePackageID%</strong>.</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/using-custom-xml-and-config-files-with-usmt-and-configmgr/">Using Custom XML and Config Files with USMT and ConfigMgr</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/using-custom-xml-and-config-files-with-usmt-and-configmgr/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Create a USMT Package in ConfigMgr</title><link>http://www.autoitconsulting.com/site/deployment/create-a-usmt-package-in-configmgr/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-usmt-package-in-configmgr</link> <comments>http://www.autoitconsulting.com/site/deployment/create-a-usmt-package-in-configmgr/#comments</comments> <pubDate>Wed, 01 Feb 2012 11:26:30 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[ConfigMgr 2012]]></category> <category><![CDATA[OSD]]></category> <category><![CDATA[USMT]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=818</guid> <description><![CDATA[<p>In System Center Configuration Manager (SCCM / ConfigMgr)  when performing an Operating System Deployment (OSD) there is usually some form of user data and settings migration. This is often performed using the Microsoft User State Migration Toolkit (USMT). The first step in using USMT is to create the USMT tool ConfigMgr package. This post details [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/create-a-usmt-package-in-configmgr/">Create a USMT Package in ConfigMgr</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>In System Center Configuration Manager (SCCM / ConfigMgr)  when performing an Operating System Deployment (OSD) there is usually some form of user data and settings migration. This is often performed using the Microsoft User State Migration Toolkit (USMT). The first step in using USMT is to create the USMT tool ConfigMgr package. This post details how to create such a package for USMT 4.</p><p>&nbsp;</p><p>These instructions are for ConfigMgr 2012 but they are pretty much identical for ConfigMgr 2007 as well.</p><p>&nbsp;</p><p>First, get hold of the USMT 4 files. These can be found on the ConfigMgr server in the folder <strong>C:\Program Files\Windows AIK\Tools\USMT</strong>.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/get_usmt_files.png"><img
class="aligncenter  wp-image-824" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="USMT Files" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/get_usmt_files.png" alt="get usmt files Create a USMT Package in ConfigMgr" width="421" height="134" /></a></p><p>&nbsp;</p><p>Copy these to your <a
title="ConfigMgr 2007 OSD Folder Structure" href="http://www.autoitconsulting.com/site/deployment/configmgr-2007-osd-folder-structure/" target="_blank">ConfigMgr software library share</a>. In this example we will copy them to <strong>\\SERVER\ConfigMgr_SWStore$\OSD\USMT</strong>.</p><p><strong>Note:</strong> In order to properly support migrations to/from Office 2010 you must also download the updated USMT components from this knowledge base article: <a
title="Information about the User State Migration Tool (USMT) 4.0 update" href="http://support.microsoft.com/kb/2023591" target="_blank">http://support.microsoft.com/kb/2023591</a>.</p><p>Now create a standard ConfigMgr package:</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_package.png"><img
class="aligncenter  wp-image-827" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="USMT Package" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_package.png" alt="usmt package Create a USMT Package in ConfigMgr" width="477" height="234" /></a></p><p>&nbsp;</p><p>On the program type screen select <strong>Do not create a program</strong> - the OSD task sequences will handle this for us.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_program_type.png"><img
class="aligncenter  wp-image-829" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="USMT Package Program Type" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/usmt_program_type.png" alt="usmt program type Create a USMT Package in ConfigMgr" width="447" height="149" /></a></p><p>&nbsp;</p><p>The USMT package is now ready for use in an OSD Task Sequence using the <strong>Capture User State</strong> and <strong>Restore User State</strong> actions.</p><p>&nbsp;<br
/><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div></p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/create-a-usmt-package-in-configmgr/">Create a USMT Package in ConfigMgr</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/create-a-usmt-package-in-configmgr/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Create a Windows 7 BitLocker Partition in ConfigMgr</title><link>http://www.autoitconsulting.com/site/deployment/create-a-windows-7-bitlocker-partition-in-configmgr/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-windows-7-bitlocker-partition-in-configmgr</link> <comments>http://www.autoitconsulting.com/site/deployment/create-a-windows-7-bitlocker-partition-in-configmgr/#comments</comments> <pubDate>Mon, 30 Jan 2012 21:47:25 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[BitLocker]]></category> <category><![CDATA[ConfigMgr 2007]]></category> <category><![CDATA[ConfigMgr 2012]]></category> <category><![CDATA[Windows 7]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=784</guid> <description><![CDATA[<p>In System Center Configuration Manager (SCCM / ConfigMgr)  something I&#8217;ve done a few times is to create a BitLocker partition for Windows 7 during an Operating System Deployment (OSD) Task Sequence. I&#8217;ve seen the method used here a few times before but I wanted to document it for myself so that I can use it [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/create-a-windows-7-bitlocker-partition-in-configmgr/">Create a Windows 7 BitLocker Partition in ConfigMgr</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>In System Center Configuration Manager (SCCM / ConfigMgr)  something I&#8217;ve done a few times is to create a BitLocker partition for Windows 7 during an Operating System Deployment (OSD) Task Sequence. I&#8217;ve seen the method used here a few times before but I wanted to document it for myself so that I can use it for an upcoming article on configuring BitLocker with TPM+PIN from ConfigMgr.</p><p>&nbsp;</p><p>These instructions are the same for both ConfigMgr 2007 and 2012.</p><p>Edit your deployment Task Sequence and select the <strong>Partition Disk 0</strong> node. By default there is a single partition, we will create an additional partition so that we end up with two partitions named:</p><ul><li>System Reserved</li><li>OS</li></ul><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/partition_overview.png"><img
class="aligncenter  wp-image-791" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="Partition Overview" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/partition_overview.png" alt="partition overview Create a Windows 7 BitLocker Partition in ConfigMgr" width="560" height="320" /></a></p><p>&nbsp;</p><p>Call the first partition <strong>System Reserved</strong> and configure it with the following options:</p><ul><li><strong>Partition type:</strong> Primary, Use a specific size (300 MB)</li><li><strong>Make this a boot partition:</strong> Checked</li><li><strong>File system:</strong> NTFS, Quick format</li></ul><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/system_partition.png"><img
class="aligncenter  wp-image-793" title="System Partition" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/system_partition.png" alt="system partition Create a Windows 7 BitLocker Partition in ConfigMgr" width="323" height="420" /></a></p><p>&nbsp;</p><p>For Windows 7 you only need a 100 MB partition for BitLocker, but I prefer to use 300 MB to leave room in case you want to use the Windows Recovery Environment.</p><p>Call the second partition <strong>OS</strong> and configure it with the following options:</p><ul><li><strong>Partition type:</strong> Primary, Use a percentage of remaining free space (100%)</li><li><strong>File system:</strong> NTFS, Quick format</li><li><strong>Variable:</strong> OSPART</li></ul><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/os_partition.png"><img
class="aligncenter  wp-image-795" title="OS Partition" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/os_partition.png" alt="os partition Create a Windows 7 BitLocker Partition in ConfigMgr" width="323" height="420" /></a></p><p>&nbsp;</p><p>The variable <strong>OSPART</strong> can now be used to correctly identify the partition to be used in the <strong>Apply Operating System</strong> step of the Task Sequence. Configure as follows:</p><ul><li><strong>Destination:</strong> Logical drive letter stored in a variable</li><li><strong>Variable name:</strong> OSPART</li></ul><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/apply_os.png"><img
class="aligncenter  wp-image-796" style="border-image: initial; border-width: 1px; border-color: black; border-style: solid;" title="Apply Operating System" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/apply_os.png" alt="apply os Create a Windows 7 BitLocker Partition in ConfigMgr" width="560" height="430" /></a></p><p>&nbsp;</p><p>Now when this Task Sequence runs the disk will be partitioned correctly for future use of BitLocker. Alternatively, you can also just use a single partition and run the BitLocker preparation utility to shrink and partition the drive. This is sometimes useful when using USMT and hard linking to preserve disk contents. Personally, I&#8217;m a little paranoid and generally prefer to use USMT to backup to the network and then properly clean and partition the disk as above.</p><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/create-a-windows-7-bitlocker-partition-in-configmgr/">Create a Windows 7 BitLocker Partition in ConfigMgr</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/create-a-windows-7-bitlocker-partition-in-configmgr/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ConfigMgr 2012 SQL Database Collation</title><link>http://www.autoitconsulting.com/site/deployment/configmgr-2012-sql-database-collation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configmgr-2012-sql-database-collation</link> <comments>http://www.autoitconsulting.com/site/deployment/configmgr-2012-sql-database-collation/#comments</comments> <pubDate>Thu, 26 Jan 2012 11:39:44 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[ConfigMgr 2012]]></category> <category><![CDATA[SQL 2008 R2]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=741</guid> <description><![CDATA[<p>I just tried to update my &#8216;default&#8217; installation of System Center Configuration Manager (SCCM / ConfigMgr) 2012 RC1 to RC2. I got a failure at the pre-req check stage stating that my SQL 2008 R2 database was using the wrong collation type and that installation couldn&#8217;t continue. It turns out that the default collation that [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/configmgr-2012-sql-database-collation/">ConfigMgr 2012 SQL Database Collation</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>I just tried to update my &#8216;default&#8217; installation of System Center Configuration Manager (SCCM / ConfigMgr) 2012 RC1 to RC2. I got a failure at the pre-req check stage stating that my SQL 2008 R2 database was using the wrong collation type and that installation couldn&#8217;t continue. It turns out that the default collation that I had used when I installed SQL 2008 R2 (a next&#8230;next&#8230;next&#8230;finish install) was no good. I&#8217;m not sure why ConfigMgr 2012 RC1 was happy with that configuration but RC2 certainly wasn&#8217;t!</p><p>This article states the supported database configuration for ConfigMgr 2012 &#8211; it doesn&#8217;t appear to mention collation type but apparently this will be updated in the future: <a
href="http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigSQLDBconfig">http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigSQLDBconfig</a></p><p>The supported collation type is: <strong>SQL_Latin1_General_CP1_CI_AS</strong></p><p>For reference, here are some screenshots on how to set this collation type during the installation of SQL Server 2008 R2.</p><p
style="text-align: center;"> <a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/collation_1.png"><img
class="aligncenter  wp-image-756" title="Collation 1" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/collation_1.png" alt="collation 1 ConfigMgr 2012 SQL Database Collation" width="590" height="195" /></a></p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/collation_2.png"><img
class="aligncenter  wp-image-758" title="Collation 2" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/collation_2.png" alt="collation 2 ConfigMgr 2012 SQL Database Collation" width="590" height="196" /></a></p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/collation_3.png"><img
class="aligncenter  wp-image-759" title="Collation 3" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/01/collation_3.png" alt="collation 3 ConfigMgr 2012 SQL Database Collation" width="416" height="328" /></a></p><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/configmgr-2012-sql-database-collation/">ConfigMgr 2012 SQL Database Collation</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/configmgr-2012-sql-database-collation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>MDT and ConfigMgr Build Drivers for Windows 7</title><link>http://www.autoitconsulting.com/site/deployment/mdt-and-configmgr-build-drivers-for-windows-7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mdt-and-configmgr-build-drivers-for-windows-7</link> <comments>http://www.autoitconsulting.com/site/deployment/mdt-and-configmgr-build-drivers-for-windows-7/#comments</comments> <pubDate>Sun, 03 Jul 2011 09:27:25 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[ConfigMgr 2007]]></category> <category><![CDATA[Drivers]]></category> <category><![CDATA[MDT 2010]]></category> <category><![CDATA[OSD]]></category> <category><![CDATA[Windows 7]]></category> <category><![CDATA[WinPE]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=685</guid> <description><![CDATA[<p>When doing Windows 7 builds in either MDT 2010 or ConfigMgr 2007 you have to download and install a selection of drivers that are to be installed in your images. Some drivers are used for the WinPE boot image so that the boot image can access the local harddisk (a boot critical driver) and also [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/mdt-and-configmgr-build-drivers-for-windows-7/">MDT and ConfigMgr Build Drivers for Windows 7</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>When doing Windows 7 builds in either MDT 2010 or ConfigMgr 2007 you have to download and install a selection of drivers that are to be installed in your images. Some drivers are used for the WinPE boot image so that the boot image can access the local harddisk (a boot critical driver) and also drivers that allow the machine to connect to the network so that it can continue the MDT/ConfigMgr build process. I tend to use the latest versions of certain boot critical drivers direct from the main vendor (i.e. Intel and Broadcom) for my boot images and references machines. Then, at deployment-time, I&#8217;ll inject the vendor-specific drivers on a model-by-model basis. This also helps keep the reference machine &#8216;clean&#8217; and free from all those bits of add-on software and control panel applets that some vendor drivers inflict on us. It also helps keep the number of drivers injected into the boot image to a minimum, all too often I&#8217;ve seen hundereds of vendor versions of the <strong>exact same driver</strong> injected into a boot image and some of them can be really buggy or bloat the image for no reason.</p><p>As these drivers can be a little difficult to find, this post details the download locations of MDT and ConfigMgr build drivers for Windows 7 that will cater for 99% of the machines that you will ever likely encounter. I&#8217;ll try to keep it updated whenever the download locations change (I&#8217;ll be using this page as a reference point for myself too!).</p><h2>Intel® Rapid Storage Technology &#8211; Boot Critical Driver</h2><p>This driver will handle Intel RAID and SATA for the vast majority of Intel desktop and laptop machines. Without this driver Windows will be unable to access the local hard disk.</p><p><a
title="Download Intel® Rapid Storage Technology Driver" href="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&amp;ProductFamily=Chipsets&amp;ProductLine=Chipset+Software&amp;ProductProduct=Intel%AE+Rapid+Storage+Technology&amp;ProdId=2101&amp;LineId=1090&amp;FamilyId=40" target="_blank">Download Intel® Rapid Storage Technology Driver</a> (select your required OS version in the dropdown list)</p><p>To extract the driver files run:</p><pre>iata_enu.exe -e -p C:\Intel_RST_Driver</pre><h2>Intel® PROSet Wired Network Drivers &#8211; Network Driver</h2><p>These PROSet drivers will handle Intel wired Ethernet on the majority of desktop and laptop machines.</p><p><a
title="Download Intel® PROSet Wired Network Drivers" href="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&amp;ProductFamily=Ethernet+Components&amp;ProductLine=Ethernet+Controllers&amp;ProductProduct=Intel%C2%AE+82573V+Gigabit+Ethernet+Controller&amp;ProdId=2197&amp;LineId=976&amp;FamilyId=2280" target="_blank">Download Intel® PROSet Wired Network Drivers</a> (select your required OS version in the dropdown list)</p><p>To extract the driver files run:</p><pre>PROWin.exe /f C:\Intel_PROSet_Driver /s /e</pre><h2>Broadcom NetXtreme Desktop Drivers &#8211; Network Driver</h2><p>If a machine doesn&#8217;t use the Intel PROSet drivers then it&#8217;s almost certainly going to be the Broadcom NetXtreme variety.</p><p><a
title="Download Broadcom NetXtreme Network Drivers" href="http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php" target="_blank">Download Broadcom NetXtreme Network Drivers</a></p><h2>Intel® 5, 4, 3, 900 Series Chipsets &#8211; System Drivers</h2><p>These Intel chipset drivers aren&#8217;t required for boot or reference images but they handle a lot of the &#8216;unknown&#8217; devices on Intel-chipset machines. I tend to include these as a generic set of drivers for most machines rather than using the vendor versions that are often outdated.</p><p><a
title="Download Intel Chipset Driver" href="http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&amp;ProductFamily=Chipsets&amp;ProductLine=Chipset+Software&amp;ProductProduct=Intel%AE+Chipset+Software+Installation+Utility&amp;ProdId=816&amp;LineId=1090&amp;FamilyId=40" target="_blank">Download the Intel® 5, 4, 3, 900 Series Chipsets Drivers</a> (select your required OS version in the dropdown list and download the .ZIP version)</p><p>&nbsp;</p><h2>Summary</h2><p>Armed with the latest versions of these drivers you should be able to get your MDT or ConfigMgr build process working on most of the machines in common use saving you hours of hunting around the baffling array of drivers on Intel&#8217;s website!</p><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/mdt-and-configmgr-build-drivers-for-windows-7/">MDT and ConfigMgr Build Drivers for Windows 7</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/mdt-and-configmgr-build-drivers-for-windows-7/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Setting a UK Keyboard in ConfigMgr 2007 OSD</title><link>http://www.autoitconsulting.com/site/deployment/setting-a-uk-keyboard-in-configmgr-2007-osd/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-a-uk-keyboard-in-configmgr-2007-osd</link> <comments>http://www.autoitconsulting.com/site/deployment/setting-a-uk-keyboard-in-configmgr-2007-osd/#comments</comments> <pubDate>Tue, 28 Jun 2011 20:46:54 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[ConfigMgr 2007]]></category> <category><![CDATA[OSD]]></category> <category><![CDATA[Unattend.xml]]></category> <category><![CDATA[Windows 7]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=659</guid> <description><![CDATA[<p>In the UK, we actually get the US version of Windows 7 and Office 2010, so whenever I do any build engineering in either MDT or ConfigMgr one of the first things I need to customize are the regional settings. In particular the keyboard layout and location. There are many ways to achieve this ranging [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/setting-a-uk-keyboard-in-configmgr-2007-osd/">Setting a UK Keyboard in ConfigMgr 2007 OSD</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>In the UK, we actually get the US version of Windows 7 and Office 2010, so whenever I do any build engineering in either MDT or ConfigMgr one of the first things I need to customize are the regional settings. In particular the keyboard layout and location. There are many ways to achieve this ranging from manually making the change in a reference image or creating an unattend.xml file. In this post I will show how you can set regional settings for Windows 7 at deploy-time using ConfigMgr 2007 OSD and collection variables. This will allow you to automatically have different settings depending on which ConfigMgr collection a machine belongs to. The process shown in this post is for UK settings, but the method will work equally well for any other regional requirements.</p><p>First, on a collection used for OSD deployment select<strong> Modify Collection Setttings</strong> and goto the <strong>Collection Variables</strong> tab. Enter the following variables:</p><ul><li><strong>OSDSystemLocale:</strong> en-GB</li><li><strong>OSDInputLocale:</strong> en-GB</li><li><strong>OSDUserLocale:</strong> en-GB</li><li><strong>OSDUILanguage:</strong> en-US</li><li><strong>OSDUILanguageFallback:</strong> en-US</li></ul><p>Note: A common error is trying to use a value of <strong>en-GB</strong> for the <strong>UILanguage </strong>- there is no such UI setting, Brits have to make do with American spellings in our Microsoft products&#8230; The collection variables should now look like this:</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/collection_variables.png"><img
class="aligncenter size-full wp-image-667" title="Collection Variables" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/collection_variables.png" alt="collection variables Setting a UK Keyboard in ConfigMgr 2007 OSD" width="320" height="358" /></a></p><p>Now create a simple unattend.xml file using the <a
title="Windows Automated Installation Kit" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=5753" target="_blank">Windows Automated Installation Kit</a> and the <strong>Windows System Image Manager</strong> tool. You need to:</p><ul><li>Add the component <strong>amd64_Microsoft-Windows-International-Core_neutral</strong> to the <strong>specialize</strong> section. (use the x86 component if you are using a 32 bit version of Windows 7)</li><li>Enter the &#8216;OSD&#8230;&#8217; variables we created above in the relevant sections wrapping them with % signs, for example <strong>%OSDSystemLocale%</strong> for the <strong>SystemLocale </strong>entry.</li></ul><p>When finished it should look something like this:</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/edit_unattend.png"><img
class="aligncenter size-full wp-image-671" style="border: 1px solid black;" title="Edit Unattend File" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/edit_unattend.png" alt="edit unattend Setting a UK Keyboard in ConfigMgr 2007 OSD" width="558" height="163" /></a></p><p>Save the unattend file in a suitable folder (I&#8217;m saving it in \\server\ConfigMgr_SWStore$\OSD\Unattend\<strong>Win7SP1x64_Unattend.xml</strong> &#8211; using the folder structure suggested in <a
title="ConfigMgr 2007 OSD Folder Structure" href="http://www.autoitconsulting.com/site/deployment/configmgr-2007-osd-folder-structure/" target="_blank">this post</a>). I tend to put various unattend.xml files for different uses in the same folder then I create a single package for them all for simplified use &#8211; in this example I&#8217;ll call it <strong>OSD Unattend Files</strong>.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/unattend_folder.png"><img
class="aligncenter size-full wp-image-674" style="border: 1px solid black;" title="Unattend Folder" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/unattend_folder.png" alt="unattend folder Setting a UK Keyboard in ConfigMgr 2007 OSD" width="466" height="149" /></a></p><p>The final step is to attach this unattend.xml file to your OSD Task Sequence. Select the <strong>Apply Operating System</strong> task and enter the package and unattend file name in the <strong>Use an unattended or sysprep answer file&#8230;</strong> boxes:</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/unattend_tasksequence.png"><img
class="aligncenter size-full wp-image-676" style="border: 1px solid black;" title="OSD Task Sequence" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/unattend_tasksequence.png" alt="unattend tasksequence Setting a UK Keyboard in ConfigMgr 2007 OSD" width="422" height="315" /></a></p><p>Now when you use this task sequence the collection variables will be expanded inside the unattend file and voila &#8211; per collection regional settings! You can also set these same variables directly on computer objects if you need to specialise for an individual computer.</p><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/setting-a-uk-keyboard-in-configmgr-2007-osd/">Setting a UK Keyboard in ConfigMgr 2007 OSD</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/setting-a-uk-keyboard-in-configmgr-2007-osd/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ConfigMgr 2007 OSD Folder Structure</title><link>http://www.autoitconsulting.com/site/deployment/configmgr-2007-osd-folder-structure/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=configmgr-2007-osd-folder-structure</link> <comments>http://www.autoitconsulting.com/site/deployment/configmgr-2007-osd-folder-structure/#comments</comments> <pubDate>Sun, 26 Jun 2011 10:38:55 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[ConfigMgr 2007]]></category> <category><![CDATA[OSD]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=624</guid> <description><![CDATA[<p>When configuring ConfigMgr 2007 Operating System Deployment (OSD) there are an endless number of applications, operating system images, operating system install files, drivers, source files, package files, temp files. Everytime I set it up I end up with a different structure so this blog post presents an example ConfigMgr 2007 OSD folder structure that can [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/configmgr-2007-osd-folder-structure/">ConfigMgr 2007 OSD Folder Structure</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>When configuring ConfigMgr 2007 Operating System Deployment (OSD) there are an endless number of applications, operating system images, operating system install files, drivers, source files, package files, temp files. Everytime I set it up I end up with a different structure so this blog post presents an example ConfigMgr 2007 OSD folder structure that can be used for general application and operating system deployment files. This post will be updated as I get better ideas and suggestions on how to organise things &#8211; but the main issue is that there is no &#8216;right&#8217; way of organising files that everyone can agree on so this is as good a place as any!</p><p>First I create a single share with the following properties:</p><table
border="1"><thead><tr><th
width="22%">Setting</th><th
width="31%">Config</th><th>Notes</th></tr></thead><tbody><tr><td><strong>Share Name</strong></td><td>ConfigMgr_SWStore$</td><td>I use $ just to make the share hidden from casual browsing.</td></tr><tr><td><strong>Share Security</strong></td><td>Everyone: Full Control</td><td></td></tr><tr><td><strong>NTFS Security</strong></td><td>SYSTEM: Full ControlAdministrators: Full ControlConfigMgr Site Servers: ModifyConfigMgr Network Access Account: Modify</td><td>I usually create a group containing the computer accounts of the ConfigMgr site servers which makes applying permissions easier. Also, the Network Access Account (configured in the Computer Client Agent properties) will require access during OSD.Depending on your security polcies you may also wish to remove users from accessing this share.</td></tr></tbody></table><p>Then create a folder structure as shown in this image:</p><p
style="text-align: center;"><img
class="aligncenter size-full wp-image-639" style="border: 1px solid black;" title="ConfigMgr SWStore Structure" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/swstore_structure.png" alt="swstore structure ConfigMgr 2007 OSD Folder Structure" width="299" height="359" /></p><p>The top level folders are split into <strong>Apps</strong>, <strong>OSD</strong> and <strong>Updates</strong>.</p><p>The <strong>Apps</strong> folder:</p><table
border="1"><thead><tr><th
width="22%">Folder</th><th
width="31%">Description</th></tr></thead><tbody><tr><td>Apps \ App-V<strong><br
/> </strong></td><td>The main folder for App-V related files.</td></tr><tr><td>Apps \ App-V \ Source<strong><br
/> </strong></td><td>App-V source packages used when first importing the application into ConfigMgr.</td></tr><tr><td>Apps \ App-V \ Packages</td><td>The resulting App-V package Data Source.</td></tr><tr><td>Apps \ Native</td><td>Native packages (Data Source for MSIs, .exes, batch files, etc.)</td></tr><tr><td>Apps \ Native \ Microsoft \ Office 2010 Pro</td><td></td></tr><tr><td>Apps \ Native \ Adobe \ Reader X</td><td></td></tr></tbody></table><p>The <strong>OSD</strong> folder:</p><table
border="1"><thead><tr><th
width="22%">Folder</th><th
width="31%">Description</th></tr></thead><tbody><tr><td>OSD \ Install<strong><br
/> </strong></td><td>Operating System Install Packages (full set of source files with setup.exe used for creating the reference image).</td></tr><tr><td>OSD \ Install \ Windows 7 Enterprise x64 SP1<strong><br
/> </strong></td><td></td></tr><tr><td>OSD \ Install \ Windows 7 Enterprise x86 SP1</td><td></td></tr><tr><td>OSD \ Image</td><td>Operating System Image (.wim) files &#8211; the reference images &#8211; used for deployment.</td></tr><tr><td>OSD \ Unattend</td><td>Unattend.xml files and packages used for customizing deployment.</td></tr><tr><td>OSD \ Capture</td><td>Temporary location used for storing the reference image during capture. After capture move the resulting image file into the <strong>Image</strong> folder.</td></tr><tr><td>OSD \ Drivers</td><td>Device drivers.</td></tr><tr><td>OSD \ Drivers \ Source</td><td>Source files for device drivers used when importing drivers into the ConfigMgr interface.</td></tr><tr><td>OSD \ Drivers \ Packages</td><td>Resulting driver packages (Data Source).</td></tr><tr><td>OSD \ Tools</td><td>Source files for tool packages such as MDT or USMT.</td></tr><tr><td>OSD \ Tools \ USMT</td><td>Source files for the User State Migration Toolkit (USMT).</td></tr><tr><td>OSD \ Tools \ MDT_Toolkit</td><td>Source files for the User State Migration Toolkit (USMT).</td></tr><tr><td>OSD \ Tools \ MDT_CustomSettings</td><td>MDT CustomSettings.ini files.</td></tr></tbody></table><p>The <strong>Updates</strong> folder:</p><table
border="1"><thead><tr><th
width="22%">Folder</th><th
width="31%">Description</th></tr></thead><tbody><tr><td><strong>Updates</strong><strong><br
/> </strong></td><td>Folder for storing Software Updates packages.</td></tr><tr><td>Updates \ All Updates 2010 <strong><br
/> </strong></td><td>Example package.</td></tr><tr><td>Updates \ All Updates 2011</td><td>Example package.</td></tr></tbody></table><p>Here is a zip file of the entire folder structure you can use as a template: <a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2012/02/ConfigMgr_SWStore.zip">ConfigMgr_SWStore.zip</a></p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/configmgr-2007-osd-folder-structure/">ConfigMgr 2007 OSD Folder Structure</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/configmgr-2007-osd-folder-structure/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Get Selected Microsoft TechNet Library Content Offline</title><link>http://www.autoitconsulting.com/site/deployment/get-selected-microsoft-technet-library-content-offline/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=get-selected-microsoft-technet-library-content-offline</link> <comments>http://www.autoitconsulting.com/site/deployment/get-selected-microsoft-technet-library-content-offline/#comments</comments> <pubDate>Wed, 15 Jun 2011 12:42:31 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[TechNet]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=574</guid> <description><![CDATA[<p>No-one can ever know everything they need to know about Microsoft products and techies will freely admit that they spend half their time checking resources such as Microsoft TechNet while working on a problem or design. Sometimes I need to go on to a site where I won&#8217;t have internet access. As anyone who relies [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/get-selected-microsoft-technet-library-content-offline/">Get Selected Microsoft TechNet Library Content Offline</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>No-one can ever know <strong>everything</strong> they need to know about Microsoft products and techies will freely admit that they spend half their time checking resources such as Microsoft TechNet while working on a problem or design. Sometimes I need to go on to a site where I won&#8217;t have internet access.  As anyone who relies on access to online resources will know, this can  really slow things down and small questions (such as &#8220;is it port 60 or 67?&#8221;) can be frustrating.</p><p>There is a free tool called <a
title="Package This" href="http://packagethis.codeplex.com/" target="_blank">Package This</a> that can turn selections from the online TechNet library into a compiled help file (.chm) that you can then read and search offline! Yes, it seems to have a few bugs but if you keep the selections small it seems to work very well indeed.</p><p>As an example I will demonstrate downloading the Operating System Deployment section of the Config Mgr 2007 documentation. Here are the steps to create a .chm from selected content:</p><ol><li>Download and install <a
title="HTML Help Workshop Download" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=21138" target="_blank">HTML Help Workshop</a> (If running Windows Vista and later you will get a message after installation saying that you already have a later version installed &#8211; that&#8217;s fine, but Package This doesn&#8217;t seem to be able to use it until you&#8217;ve attempted to install this older version).</li><li>Download the latest version of <a
title="PackageThis.exe Download" href="http://packagethis.codeplex.com/releases/view/16647" target="_blank">PackageThis.exe</a>.</li><li>Run PackageThis.exe.</li><li>Select the <strong>TechNet Library</strong> from the <strong>Library</strong> menu.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_select_library.png"><img
class="aligncenter size-full wp-image-580" style="border: 1px solid black;" title="PackageThis Select Library" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_select_library.png" alt="packagethis select library Get Selected Microsoft TechNet Library Content Offline" width="249" height="134" /></a><br
class="blank" /></li><li>Find the content you want &#8211; you can either choose single pages or get a whole section by using <strong>Select This Node and All Children</strong>. Note: it&#8217;s best to keep the selections small as the program has a few bugs and will sometimes not work correctly. <a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_select_content.png"><img
class="aligncenter size-full wp-image-582" style="border: 1px solid black;" title="PackageThis Select Content" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_select_content.png" alt="packagethis select content Get Selected Microsoft TechNet Library Content Offline" width="441" height="202" /></a><br
class="blank" /></li><li>The selected articles will be downloaded &#8211; this can take some time depending on the number selected.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_downloading.png"><img
class="aligncenter size-full wp-image-583" style="border: 0pt none;" title="PackageThis Downloading" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_downloading.png" alt="packagethis downloading Get Selected Microsoft TechNet Library Content Offline" width="474" height="98" /></a><br
class="blank" /></li><li>Once all the content has been download select <strong>Export to Chm File&#8230;</strong> from the <strong>File </strong>menu.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_export.png"><img
class="aligncenter size-full wp-image-584" title="PackageThis Export" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_export.png" alt="packagethis export Get Selected Microsoft TechNet Library Content Offline" width="163" height="181" /></a><br
class="blank" /></li><li>Enter the filename and title for the .chm file and click .<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_export_title.png"><img
class="aligncenter size-full wp-image-587" title="PackageThis Export Title" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_export_title.png" alt="packagethis export title Get Selected Microsoft TechNet Library Content Offline" width="443" height="97" /></a></li></ol><p>&nbsp;</p><p>If all goes well you should now have a .chm file with the selected content that you can access when away from the Internet! As a bonus it&#8217;s even searchable.</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_output.png"><img
class="aligncenter size-full wp-image-588" title="PackageThis Output Help File" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/06/packagethis_output.png" alt="packagethis output Get Selected Microsoft TechNet Library Content Offline" width="530" height="408" /></a></p><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/get-selected-microsoft-technet-library-content-offline/">Get Selected Microsoft TechNet Library Content Offline</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/get-selected-microsoft-technet-library-content-offline/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>App-V Recipe: AutoIt v3</title><link>http://www.autoitconsulting.com/site/deployment/app-v-recipe-autoit-v3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=app-v-recipe-autoit-v3</link> <comments>http://www.autoitconsulting.com/site/deployment/app-v-recipe-autoit-v3/#comments</comments> <pubDate>Fri, 20 May 2011 11:39:30 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[App-V]]></category> <category><![CDATA[Sequencing]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=538</guid> <description><![CDATA[<p>This blog post will show you how to sequence AutoIt using App-V 4.6 SP1 (the latest version at the time of writing). Now, AutoIt is probably the easiest application to sequence in the world and doesn&#8217;t really need a blog post describing how to do it. However, I intend to write some more posts around [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/app-v-recipe-autoit-v3/">App-V Recipe: AutoIt v3</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>This blog post will show you how to sequence AutoIt using App-V 4.6 SP1 (the latest version at the time of writing). Now, AutoIt is probably the easiest application to sequence in the world and doesn&#8217;t really need a blog post describing how to do it. However, I intend to write some more posts around using App-V in System Center Configuration Manager (ConfigMgr) 2007 for deployment and upgrades so a nice easy to follow recipe for an application that is free should be useful.</p><p>&nbsp;</p><p>For sequencing I&#8217;ll be using Windows XP SP3 and creating a package that can be used on all later operating systems. I&#8217;ve set up the Windows XP machine as per the recommendations in <a
title="App-V 4.6 SP1 Sequencing Guide" href="http://download.microsoft.com/download/F/7/8/F784A197-73BE-48FF-83DA-4102C05A6D44/App-V/App-V%204.6%20Service%20Pack%201%20Sequencing%20Guide.docx" target="_blank">App-V 4.6 SP1 Sequencing Guide</a> &#8211; essentially all AV has been turned off, Windows update is off, and the App-V 4.6 SP1 sequencer has been installed. In my case the App-V sequencer machine is a Hyper-V virtual machine so that I can use snapshots to quickly get it back to a clean state.</p><p>Onto the recipe:</p><ol><li>Download the AutoIt full installer from <a
title="AutoIt Downloads" href="http://www.autoitscript.com/site/autoit/downloads/" target="_blank">this page</a>.</li><li>Run the Microsoft Application Virtualization Sequencer.</li><li>Select <strong>Create a New Virtual Application Package</strong>.</li><li>Select <strong>Create Package (default)</strong>.</li><li>On the <strong>Prepare Computer</strong> screen check that there are no warnings (Windows Defender is running, etc.) and then click <strong>Next</strong>.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/prepare_computer.png"><img
class="aligncenter size-full wp-image-546" style="border: 1px solid black;" title="Prepare Computer" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/prepare_computer.png" alt="prepare computer App V Recipe: AutoIt v3" width="542" height="122" /></a></li><li>Select <strong>Standard Application (default)</strong> and click <strong>Next</strong>.</li><li>At the <strong>Select Installer</strong> screen browse to the AutoIt installer (it should be something like &#8216;autoit-v3.3.6.1-setup.exe&#8217;) and then click <strong>Next</strong>.</li><li>In the <strong>Package Name</strong> screen enter the name <strong>AutoIt v3</strong> as the package name. Note that this automatically generates the &#8216;Primary Virtual Application Directory&#8217; of <strong>Q:\AutoIt v3</strong>. (in App-V 4.6 you no longer have to use 8.3 filenames so this automatically generated name is OK). Click <strong>Next</strong>.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/package_name.png"><img
class="aligncenter size-full wp-image-549" style="border: 1px solid black;" title="Package Name" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/package_name.png" alt="package name App V Recipe: AutoIt v3" width="460" height="179" /></a></li><li>The AutoIt installer will start. Use the defaults for all installation questions except for the installation folder which must be changed to match the Primary Virtual Application Directory of <strong>Q:\AutoIt v3</strong>.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/install_location.png"><img
class="aligncenter size-full wp-image-552" style="border: 1px solid black;" title="Install Location" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/install_location.png" alt="install location App V Recipe: AutoIt v3" width="373" height="142" /></a></li><li>At the end of installation deselect <strong>Show release notes</strong> and then click <strong>Finish</strong>.</li><li>Back in the App-V sequencer, select <strong>I am finished installing</strong> and then click <strong>Next</strong>.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/finished_installing.png"><img
class="aligncenter size-full wp-image-555" style="border: 1px solid black;" title="I am finished installing" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/finished_installing.png" alt="finished installing App V Recipe: AutoIt v3" width="439" height="149" /></a></li><li>Select the following tasks to run: AutoIt Window Info, Compile Script to .exe, Run Script, SciTE Script Editor. Then click <strong>Run Selected</strong>.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/run_selected.png"><img
class="aligncenter size-full wp-image-558" style="border: 1px solid black;" title="Run Selected" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/run_selected.png" alt="run selected App V Recipe: AutoIt v3" width="460" height="166" /></a></li><li>Close down all the launched applications then back in the App-V Sequencer click <strong>Next</strong>.</li><li>Review the <strong>Installation Report</strong> and then click <strong>Next</strong>.</li><li>We need to customize the package a little so select <strong>Customize</strong> and then click <strong>Next</strong>.</li><li>Remove shortcuts as required for your corporate environment and then click <strong>Next</strong>. I would recommend removing &#8216;AutoIt v3 Website&#8217; and &#8216;Check for Updates&#8217;.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/remove_shortcuts.png"><img
class="aligncenter size-full wp-image-561" style="border: 1px solid black;" title="Remove Shortcuts" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/remove_shortcuts.png" alt="remove shortcuts App V Recipe: AutoIt v3" width="446" height="170" /></a></li><li>At the <strong>Prepare for Streaming</strong> page run the same applications as shown in step 12, close them after launch, and then click <strong>Next</strong>.</li><li>Select <strong>Allow this package to run on any operating system</strong> and then click <strong>Next</strong>. (In theory, you could also create a specific 64-bit package as the AutoIt installer only installs 64-bit components when installed on a 64-bit machine, but the 32-bit version is fine for 99% of cases).</li><li>Select <strong>Save the package now</strong> and <strong>Compress Package</strong> and click <strong>Create</strong>. Optionally enter the version name in the comments field.</li><li>Click <strong>Close</strong> and you&#8217;re done!</li></ol><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/app-v-recipe-autoit-v3/">App-V Recipe: AutoIt v3</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/app-v-recipe-autoit-v3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Windows 7 Aero Theme Not Enabled After Deployment</title><link>http://www.autoitconsulting.com/site/deployment/windows-7-aero-theme-not-enabled-after-deployment/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-7-aero-theme-not-enabled-after-deployment</link> <comments>http://www.autoitconsulting.com/site/deployment/windows-7-aero-theme-not-enabled-after-deployment/#comments</comments> <pubDate>Fri, 13 May 2011 15:02:52 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Deployment]]></category> <category><![CDATA[Aero]]></category> <category><![CDATA[Unattend.xml]]></category> <category><![CDATA[Windows 7]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=488</guid> <description><![CDATA[<p>An issue I saw a number of times at customers was that the Windows 7 Aero theme was not enabled after deployment. I saw this numerous times in early workshops and pilots for customers and completely forgot about it until I saw the question asked again a few weeks ago. So here is a post [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/windows-7-aero-theme-not-enabled-after-deployment/">Windows 7 Aero Theme Not Enabled After Deployment</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>An issue I saw a number of times at customers was that the Windows 7 Aero theme was not enabled after deployment. I saw this numerous times in early workshops and pilots for customers and completely forgot about it until I saw the question asked again a few weeks ago. So here is a post describing the sort of symptoms you might see and how to workaround it.</p><p>&nbsp;</p><p>&nbsp;</p><p>There are two main tools that people turn to when troubleshooting Aero:</p><ul><li>Running the &#8216;<strong>Find and fix problems with transparency and other visual effects</strong>&#8216; troubleshooter that attempts to automatically find and fix issues.</li><li>Re-running the Desktop Window Manager (DWM) WinSAT test (either through the standard interface or by running &#8216;winsat dwm&#8217; from the command line).</li></ul><p>In the case of this particular issue both of these methods will not solve the problem and simply report that &#8216;<strong>DWM not running</strong>&#8216; or &#8216;<strong>Desktop Window Manager is disabled</strong>&#8216; and the system will still not enable Aero. The strange thing is you can get Aero by doing the following:</p><ul><li>Right-click the desktop, select <strong>Personalize</strong>.</li><li>Re-select the standard <strong>Windows 7</strong> theme (or any other Aero theme).<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/SelectAeroTheme1.png"><img
class="aligncenter size-full wp-image-497" style="border: 1px solid black;" title="Select Windows 7 Aero Theme" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/SelectAeroTheme1.png" alt="SelectAeroTheme1 Windows 7 Aero Theme Not Enabled After Deployment" width="461" height="184" /></a></li><li>Aero magically starts working again.</li></ul><p>Obviously, manually selecting the Windows 7 theme on each machine isn&#8217;t going to work when you are deploying more than a couple of machines, but there are two simple solutions.</p><h2>Solution 1</h2><p>The easiest solution for an enterprise customer is probably going to be by using Group Policy:</p><ol><li>Find the path of a theme we want to use &#8211; <strong>aero.theme</strong> is the standard Windows 7 theme and can be found in <strong>C:\Windows\Resources\Themes\aero.theme<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/ThemeFolder.png"><img
class="aligncenter size-full wp-image-493" style="border: 1px solid black;" title="Windows Themes Folder" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/ThemeFolder.png" alt="ThemeFolder Windows 7 Aero Theme Not Enabled After Deployment" width="440" height="251" /></a></strong></li><li>Open the Group Policy console (gpmc or local group policy as required).</li><li>Find the policy <strong>User Configuration \ Administrative Templates \ Personalization \ Load a specific theme</strong></li><li>Enter the path of the theme, we will use an environment variable so that it works on all machines: <strong>%windir%\Resources\Themes\aero.theme<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/AeroGPO.png"><img
class="aligncenter size-full wp-image-522" style="border: 1px solid black;" title="Windows Aero Group Policy" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/AeroGPO.png" alt="AeroGPO Windows 7 Aero Theme Not Enabled After Deployment" width="560" height="304" /></a></strong></li><li>Save the policy and apply it to the relevant Organizational Units (OUs).</li></ol><p><strong>Note</strong>: This only changes the theme for a user&#8217;s first-time logon which makes it quite a neat solution.</p><h2>Solution 2</h2><p>The second solution can be used when deploying Windows 7 using an <em>unattend.xml</em> answer file. To make the required changes:</p><ol><li>Open the unattend.xml answer file in the <strong>Windows System Image Manager</strong> which is installed with the <a
href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0AEE2B4B-494B-4ADC-B174-33BC62F02C5D" target="_blank">Windows Automated Installation Kit</a> (WAIK).</li><li>Add the component <strong>amd64_Microsoft-Windows-Shell-Setup_neutral</strong> to the <strong>Specialize</strong> pass (use the x86 version if not using Windows 7 64-bit).</li><li>Find the <strong>Themes \ ThemeName</strong> entry.</li><li>Add the Aero theme name you wish to use &#8211; use just the main part of the filename (see the Windows Theme folder screenshot above). For the standard Windows 7 theme the value is &#8216;<strong>aero</strong>&#8216;.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/UnattendFileThemeName.png"><img
class="aligncenter size-full wp-image-494" style="border: 1px solid black;" title="Unattend.xml ThemeName Entry" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/UnattendFileThemeName.png" alt="UnattendFileThemeName Windows 7 Aero Theme Not Enabled After Deployment" width="518" height="250" /></a></li><li>Save the unattend.xml file and deploy!</li></ol><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/deployment/windows-7-aero-theme-not-enabled-after-deployment/">Windows 7 Aero Theme Not Enabled After Deployment</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/deployment/windows-7-aero-theme-not-enabled-after-deployment/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Windows 7 Self Optimizing Boot Process</title><link>http://www.autoitconsulting.com/site/performance/windows-7-self-optimizing-boot-process/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-7-self-optimizing-boot-process</link> <comments>http://www.autoitconsulting.com/site/performance/windows-7-self-optimizing-boot-process/#comments</comments> <pubDate>Fri, 06 May 2011 09:50:34 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Performance]]></category> <category><![CDATA[Boot]]></category> <category><![CDATA[Windows 7]]></category> <category><![CDATA[WPT]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=422</guid> <description><![CDATA[<p>You may have heard the about the fact that Windows 7 (and actually, Windows Vista too) has improved boot up times over Windows XP and dismissed it as &#8220;that there marketing speak&#8221;. Surprisingly, it&#8217;s actually true! On top of that, the boot process is also optimized over time to make things even faster. This blog [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/performance/windows-7-self-optimizing-boot-process/">Windows 7 Self Optimizing Boot Process</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>You may have heard the about the fact that Windows 7 (and actually, Windows Vista too) has improved boot up times over Windows XP and dismissed it as &#8220;that there marketing speak&#8221;. Surprisingly, it&#8217;s actually true! On top of that, the boot process is also optimized over time to make things even faster. This blog post gives a high-level overview of how this works and also provides some actual measurements.</p><p>The descriptions given in this article are fairly high-level for a number of reasons. I wanted it to be readable for the general IT admin, and hard documentation on the exact workings of this stuff is virtually non-existent so it contains quite a lot of educated guesses. The epic <a
href="http://technet.microsoft.com/en-us/sysinternals/bb963901" target="_blank">Windows Internals</a> book discusses both the logical prefetching and ReadyBoot mechanics in a lot of detail, but many of the services and registry keys mentioned in that book reference Windows Vista and they no longer apply to Windows 7 (although the functionality is still there and has been improved, it&#8217;s just less obvious which services and keys now control the process).</p><h2>Logical Prefetcher</h2><p>Various analysis of boot tracing have shown that one of the main factors that slows the boot process down are disk seek times. As the various boot files, dlls, and drivers are loaded there are lots of page faults and disk seek requests as different parts of files and directories are accessed. Windows 7 keeps track of what files were accessed and the location of these files on the disk and this tracing continues for up to 120 seconds after boot, or 30 seconds after the user&#8217;s shell (explorer.exe) starts, whichever comes first. These traces are stored in <strong>C:\Windows\PreFetch</strong>:</p><div
id="attachment_446" class="wp-caption aligncenter" style="width: 525px"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/PrefetchFolder.png"><img
class="size-full wp-image-446" style="border: 1px solid black;" title="Prefetch Folder" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/PrefetchFolder.png" alt="PrefetchFolder Windows 7 Self Optimizing Boot Process" width="515" height="285" /></a><p
class="wp-caption-text">Logical Prefetcher Trace Folder</p></div><p
style="text-align: center;">&nbsp;</p><p>Each trace contains a list of the files and directories accessed when a given application starts (or during boot) and this information is used to give the prefetcher a chance to prefetch all the data required in one go, so that the loading of the application can be optimized.</p><p>In addition, any files referenced by these boot applications (DLLs, SYS files, etc) are also tracked in <strong>C:\Windows\PreFetch\Layout.ini</strong>. Every few days, when the system is idle, defrag.exe is called with a command-line parameter that causes all these referenced files to be moved to a contiguous area of the disk. This means that the prefetching of these files is much more efficient and further improves the boot time. You can manually invoke defrag to optimize boot files by running the following command (Windows 7 only, the parameters are different on Windows Vista):</p><pre lang="text">defrag.exe c: /b</pre><p>(This will only work after the machine has been booted around 6 times, otherwise you will get an error about the lack of boot optimization files)</p><p>Note: When fully optimized this defrag command should complete quickly (a couple of minutes or so) as the boot files will already be in a contiguous area of the disk. However, I&#8217;ve seen machines many months old that have taken up to an hour for this defrag command to complete which leads me to believe that the automatic idle processing may not actually work correctly in all situations. Therefore, it&#8217;s a good idea to run the command manually.</p><p>You can see the last time the automatic boot defrag occurred by checking the value of the registry key <strong>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Prefetcher\LastDiskLayoutTimeString</strong>. Unfortunately, this value doesn&#8217;t appear to be changed when you run the defrag command manually.<strong><br
/> </strong></p><h2>ReadyBoot</h2><p>According to the <a
href="http://technet.microsoft.com/en-us/sysinternals/bb963901" target="_blank">Windows Internals</a> book, the logical prefetching described above is used when the system has less than 512MB of memory. If the system has 700MB or more then an in-RAM cache is used to further optimize the boot process (it&#8217;s not clear from the book whether or not this ReadyBoot cache completely replaces the logical prefetching approach or just builds on it, my assumption is that both work together). After each boot the system generates a boot caching plan for the next boot using file trace information from up to the <strong>five previous boots</strong> which contains details of which files were accessed and where on the disk they were located. These traces are stored as .fx files in the <strong>C:\Windows\PreFetch\ReadyBoot</strong> folder.</p><div
id="attachment_462" class="wp-caption aligncenter" style="width: 490px"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/ReadyBootFolder.png"><img
class="size-full wp-image-462" style="border: 1px solid black;" title="ReadyBoot Folder" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/05/ReadyBootFolder.png" alt="ReadyBootFolder Windows 7 Self Optimizing Boot Process" width="480" height="113" /></a><p
class="wp-caption-text">ReadyBoot Trace Folder</p></div><p>&nbsp;</p><h2>Services</h2><p>Under Windows 7, the service that handles ReadyBoot optimization is part of the <strong>Superfetch</strong> service.</p><p>Under Windows Vista, ReadyBoot optimization was part of the <strong>ReadyBoost</strong> service (ironically, when Windows Vista came out the advice on &#8220;tweaking&#8221; sites was to disable ReadyBoost if they weren&#8217;t going to use USB/ReadyBoost to improve performance &#8211; errrm, no&#8230;)</p><p>There are some semi-undocumented registry keys that control the prefetch and superfetch operations, but in all but the most exeptional cases they should not be touched. They are only documented on the Windows 7 embedded sites for <a
href="http://msdn.microsoft.com/en-us/library/ff794658%28v=winembedded.60%29.aspx" target="_blank">Disabling Superfetch</a> and <a
href="http://msdn.microsoft.com/en-us/library/ff794503%28v=winembedded.1001%29.aspx" target="_blank">Disabling Prefetch</a>. The default value for boot these keys is <strong>3</strong> which enables both boot and appliction prefetching.</p><h2>An Example</h2><p>So, does this prefetching and boot optimizing actually work? The following table shows the boot times on an ancient Toshiba Tecra M5 (circa 2004) through its first boot, the subsequent five boots and finally after the disk is defragged with the boot optimization switch. The machine is using a vanilla version of Windows 7 Ultimate SP1 x86 &#8211; no applications are installed. The boot time is measured using the <strong>bootDoneViaPostBoot</strong> metric generated from the Windows Performance Toolkit (WPT) (The boot logging process is detailed in <a
title="Windows Performance Toolkit: Simple Boot Logging" href="http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-simple-boot-logging/" target="_blank">this previous blog post</a>)</p><table
border="1"><thead><tr><th>Boot Cycle</th><th>Boot Time (bootDoneViaPostBoot)</th><th>Boot Time Improvement</th></tr></thead><tbody><tr><td>1 (first boot after installation)</td><td>85 seconds</td><td>N/A</td></tr><tr><td>2 (first boot training)</td><td>73 seconds</td><td>14%  (+14%)</td></tr><tr><td>3</td><td>31 seconds</td><td>63%  (+49%)</td></tr><tr><td>4</td><td>31 seconds</td><td>63%  (+0%)</td></tr><tr><td>5</td><td>28 seconds</td><td>67%  (+4%)</td></tr><tr><td>6 (last boot training)</td><td>26 seconds</td><td>69%  (+2%)</td></tr><tr><td>7 (after boot optimizing defrag)</td><td>24 seconds</td><td>72%  (+3%)</td></tr></tbody></table><p>You can see the massive improvement that occurs in the first few boots and then some smaller but significant gains in the later boots and the final defrag optimization. This example used a vanilla machine with very few drivers installed and no additional applications. The more drivers and software installed the more files must be accessed during boot which means these optimizations are likely to have an even more pronounced effect.</p><p>As this optimization is automatic it&#8217;s not something that most people will need to worry about. But if you are building machine that you would like to boot as quickly as possible from the moment it is deployed (appliance PCs, laptops, etc.) then it may be worthwhile adding a &#8220;boot training&#8221; and defrag task to your deployment processes.</p><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/performance/windows-7-self-optimizing-boot-process/">Windows 7 Self Optimizing Boot Process</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/performance/windows-7-self-optimizing-boot-process/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Windows Performance Toolkit: Simple Boot Logging</title><link>http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-simple-boot-logging/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-performance-toolkit-simple-boot-logging</link> <comments>http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-simple-boot-logging/#comments</comments> <pubDate>Thu, 28 Apr 2011 22:47:01 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Performance]]></category> <category><![CDATA[Boot]]></category> <category><![CDATA[Logon]]></category> <category><![CDATA[Trace]]></category> <category><![CDATA[WPT]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=276</guid> <description><![CDATA[<p>Troubleshooting slow boots and logons are a common request. In this post I will show you how to perform boot logging using the Windows Performance Toolkit (WPT) on a Windows 7 machine and perform some basic analysis of it. Preparation First, you need to install the WPT on the machine you wish to examine. Secondly, [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-simple-boot-logging/">Windows Performance Toolkit: Simple Boot Logging</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>Troubleshooting slow boots and logons are a common request. In this post I will show you how to perform boot logging using the Windows Performance Toolkit (WPT) on a Windows 7 machine and perform some basic analysis of it.</p><h2>Preparation</h2><p>First, you need to <a
title="Windows Performance Toolkit Installation" href="http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-installation/" target="_blank">install the WPT</a> on the machine you wish to examine.</p><div
id="attachment_289" class="wp-caption alignright" style="width: 265px"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/sysinternals_autologon1.png"><img
class="size-full wp-image-289  " title="Sysinternals Autologon" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/sysinternals_autologon1.png" alt="sysinternals autologon1 Windows Performance Toolkit: Simple Boot Logging" width="255" height="132" /></a><p
class="wp-caption-text">Sysinternals Autologon</p></div><p>Secondly, we will be tracing the boot process all the way until the user has logged in and the desktop is shown. If we rely on quickly and manually logging in we introduce inconsistencies to any timings we do. The simplest solution is to use the Sysinternals <strong>Autologon</strong> tool available from the <a
title="Sysinternals Autologons" href="http://technet.microsoft.com/en-us/sysinternals/bb963905" target="_blank">Sysinternals site</a> and to configure it with the local or domain user we will be using for testing.</p><h2>Performing the Boot Trace</h2><ol><li>Logon to the machine as an administrative user.</li><li>Use <strong>AutoLogon</strong> to setup the test user that will be used to automatically login during the trace. The test user need not be an administrator, but if not you will need to respond to any UAC prompts during the process to allow the tools to elevate to complete the trace.</li><li>Create a local folder, for example C:\PerfTrace, to store the boot trace.</li><li>Open an Administrator command prompt and change to the trace folder created above (cd C:\PerfTrace).</li><li>Run the command:</li><pre lang="text">xbootmgr -trace boot</pre><li>The machine will automatically shutdown, reboot and finally login.</li><li>A &#8220;Delaying for boot trace&#8221; message will appear and the system will pause for 120 seconds to capture post-logon events.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_trace_delay.png"><img
class="size-full wp-image-328 aligncenter" title="WPT Trace Delay" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_trace_delay.png" alt="wpt trace delay Windows Performance Toolkit: Simple Boot Logging" width="280" height="160" /></a></li><li>The tool will now elevate and a UAC consent box or prompt for credentials will appear.</li><li>The trace will be completed and the trace files will be written into C:\PerfTrace\<strong>boot_BASE+CSWITCH_1.etl</strong>.<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_trace_write.png"><img
class="size-full wp-image-329 aligncenter" title="WPT Trace Output" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_trace_write.png" alt="wpt trace write Windows Performance Toolkit: Simple Boot Logging" width="280" height="160" /></a></li></ol><h2>Analysing the Boot Trace</h2><p>You can look at the boot trace in two main ways. The first way is to  export the trace into XML which allows you to see the main timing  points and the second is using the xperfview GUI.</p><h3>Analysing using the XML Summary</h3><p>To export the XML summary run the following command with the trace captured in the previous section:</p><pre lang="text">xperf -i boot_BASE+CSWITCH_1.etl -o summary.xml -a boot</pre><p>The resulting XML file can be opened in Internet Explorer (or your favourite XML editor). In order to expand and contract the individual nodes in IE you will need to allow active content by clicking on the yellow information warning box at the top of the screen.  Contract all nodes apart from the those in the “timing” node to show the following view:<a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_boot_xml.png"><img
class="aligncenter size-full wp-image-349" style="border: 1px solid black;" title="WPT Boot XML" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_boot_xml.png" alt="wpt boot xml Windows Performance Toolkit: Simple Boot Logging" width="559" height="218" /></a></p><p>The two most immediately useful metrics are:</p><ul><li><strong>bootDoneViaExplorer</strong> – Duration of the boot (in milliseconds) until the start of Explorer.exe</li><li><strong>bootDoneViaPostBoot</strong> – Length of the boot transition including PostBoot. This metric represents the total time of a boot transition.</li></ul><p>In this example, <strong>bootDoneViaPostBoot</strong> would seem to indicate that the total boot time was 50 seconds (50094 millseconds). However, a boot trace waits for 10 seconds (postBootRequiredIdleTime) at the end of a boot until the system reaches an idle state. Therefore to get the actual total boot time we must subtract 10 seconds, in this example the adjusted boot time was <strong>40 seconds</strong>.</p><h3>Analysing using the xperfview GUI</h3><p>To use a GUI to examine the boot trace open the trace in xperfview with the following command:</p><pre lang="text">xperfview boot_BASE+CSWITCH_1.etl</pre><p>There are many different views to look at in the xperfview GUI, but for this post we will concentrate on the main boot and logon processes (similar to the XML summary). Scroll down to the <strong>Winlogon</strong> section:</p><p
style="text-align: center;"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_boot_winlogon.png"><img
class="aligncenter size-full wp-image-353" style="border: 1px solid black;" title="WPT Boot Winlogon" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_boot_winlogon.png" alt="wpt boot winlogon Windows Performance Toolkit: Simple Boot Logging" width="420" height="202" /></a></p><p>There are many different checkpoints here but some useful ones are:</p><ul><li><strong>GP Client</strong> &#8211; This checkpoint occurs at a number of different points. Before the user logs in (Computer Group Policy) and after logon (User Group Policy). It is very useful to identify any GPO related problems.</li><li><strong>CreateSession Notification</strong> &#8211; This checkpoint occurs when the user enters their credentials and starts the logon process.</li><li><strong>Profiles</strong> &#8211; This checkpoint occurs when the user&#8217;s profile is being loaded.</li><li><strong>StartShell Notification</strong> &#8211; This is the last checkpoint when the shell is ready to load and explorer.exe is about to be launched. It corresponds to the <strong>WinlogonInit endTime</strong> entry from the XML summary.</li></ul><h2>Summary</h2><p>This post showed how to perform boot logging using WPT at the most basic level. This can be a very complicated process and far too much to cover in a single post, future articles will go into more detail in individual areas.</p><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-simple-boot-logging/">Windows Performance Toolkit: Simple Boot Logging</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-simple-boot-logging/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Windows Performance Toolkit Installation</title><link>http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-installation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-performance-toolkit-installation</link> <comments>http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-installation/#comments</comments> <pubDate>Fri, 22 Apr 2011 22:30:33 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Performance]]></category> <category><![CDATA[WPT]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=229</guid> <description><![CDATA[<p>The Windows Performance Toolkit (WPT) is a suite of tools designed for measuring and analysing system and application performance on Windows XP, Windows Vista, Windows 7 and Windows Server 2008. They can be used by enterprises to log and analyse clients in order to detect and optimise performance problems. I intend to use the WPT [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-installation/">Windows Performance Toolkit Installation</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>The Windows Performance Toolkit (WPT) is a suite of tools designed for measuring and analysing system and application performance on Windows XP, Windows Vista, Windows 7 and Windows Server 2008. They can be used by enterprises to log and analyse clients in order to detect and optimise performance problems. I intend to use the WPT in a number of upcoming articles so this post will cover how to obtain and install it.</p><p>Unfortunately, the WPT is included as part of the Windows 7 SDK and cannot be downloaded separately, and the SDK download is a whopping <strong>2.5GB</strong>! However, by following these steps it is possible to download only the minimal files required to gain access to the WPT MSI files. These MSI files can then be internally redistributed for easy installation of WPT. Here are the steps:</p><ol><li>Download the <a
title="WPT Download" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6B6C21D2-2006-4AFA-9702-529FA782D63B" target="_blank">Microsoft Windows SDK for Windows 7 and .NET Framework 4</a> (it&#8217;s a bootstrap setup and is only around 500KB).</li><li>Run the file <strong>winsdk_web.exe</strong>.</li><li>Accept all defaults until the <strong>Installation Options</strong> screen is reached.</li><li>Deselect all components except <strong>Redistributable Packages \ Windows Performance Toolkit</strong>. (Depending on the client, you may not have the option to deselect the .NET 4 tools)<p><div
id="attachment_236" class="wp-caption aligncenter" style="width: 600px"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/win7_sdk_options_for_wpt.png"><img
class="size-full wp-image-236  " title="Windows 7 SDK Options for WPT" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/win7_sdk_options_for_wpt.png" alt="win7 sdk options for wpt Windows Performance Toolkit Installation" width="590" height="415" /></a><p
class="wp-caption-text">Windows 7 SDK Options for WPT</p></div></li><li>Complete the installation.</li><li>Browse to <strong>C:\Program Files\Microsoft SDKs\Windows\v7.1\Redist\Windows Performance Toolkit</strong>. Copy the <strong>wpt_x64.msi</strong> and <strong>wpt_x86.msi</strong> files.<p><div
id="attachment_248" class="wp-caption aligncenter" style="width: 369px"><a
href="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_redist.png"><img
class="size-full wp-image-248 " title="WPT Redist Files" src="http://acs1.autoit-cdn.com/site/wp-content/uploads/2011/04/wpt_redist.png" alt="wpt redist Windows Performance Toolkit Installation" width="359" height="312" /></a><p
class="wp-caption-text">WPT Redist Files</p></div></li></ol><p>These wpt_*.msi files can now be used to install the WPT on any client machine and should be kept in a safe place so that you don&#8217;t need to download the SDK each time.</p><p>&nbsp;</p><div
class='et-box et-info'><div
class='et-box-content'>If your enterprise needs help with anything mentioned in this blog post then you can <a
title="Contact Us" href="http://www.autoitconsulting.com/site/about/contact-us/">hire us for consulting work</a>.</div></div><p>The post <a
href="http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-installation/">Windows Performance Toolkit Installation</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/performance/windows-performance-toolkit-installation/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Welcome to the AutoIt Consulting Blog!</title><link>http://www.autoitconsulting.com/site/site-news/welcome-to-the-autoit-consulting-blog/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=welcome-to-the-autoit-consulting-blog</link> <comments>http://www.autoitconsulting.com/site/site-news/welcome-to-the-autoit-consulting-blog/#comments</comments> <pubDate>Sun, 10 Apr 2011 10:12:51 +0000</pubDate> <dc:creator>Jonathan Bennett</dc:creator> <category><![CDATA[Site News]]></category> <category><![CDATA[Debugging]]></category> <category><![CDATA[GImageX]]></category> <category><![CDATA[VDI]]></category> <category><![CDATA[WIM]]></category> <category><![CDATA[Windows 7]]></category><guid
isPermaLink="false">http://www.autoitconsulting.com/site/?p=128</guid> <description><![CDATA[<p>Welcome to the AutoIt Consulting Blog! This blog will share tips, tricks and scripts related to Microsoft Windows deployment and related technologies. Until we start blogging in earnest, here are some links to some articles done by myself (Jonathan Bennett) for my former employer Microsoft MCS on the excellent Deployment Guys blog. Send us an [...]</p><p>The post <a
href="http://www.autoitconsulting.com/site/site-news/welcome-to-the-autoit-consulting-blog/">Welcome to the AutoIt Consulting Blog!</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></description> <content:encoded><![CDATA[<p>Welcome to the AutoIt Consulting Blog!</p><p>This blog will share tips, tricks and scripts related to Microsoft Windows deployment and related technologies.</p><p>Until we start blogging in earnest, here are some links to some articles done by myself (Jonathan Bennett) for my former employer Microsoft MCS on the excellent <a
title="The Deployment Guys" href="http://blogs.technet.com/b/deploymentguys/" target="_blank">Deployment Guys</a> blog. Send <a
href="/site/about/contact-us/">us an email</a> if you have any requests for the sort of content you would like to see.</p><h2>Previous Posts on the Deployment Guys</h2><p><a
title="Windows 7 VDI Optimization" href="http://blogs.technet.com/b/deploymentguys/archive/2010/08/31/optimising-windows-7-images-for-use-in-vdi.aspx" target="_blank">Windows 7 VDI Optimization</a></p><p><a
title="GImageX" href="http://blogs.technet.com/b/deploymentguys/archive/2009/02/04/gimagex-beta-for-windows-7-beta.aspx" target="_blank">GImageX</a></p><p><a
title="Dealing With Duplicate User Profile Links in Windows Vista" href="http://blogs.technet.com/b/deploymentguys/archive/2008/05/01/dealing-with-duplicate-user-profile-links-in-windows-vista.aspx" target="_blank">Dealing With Duplicate User Profile Links in Windows Vista</a></p><p><a
title="Working with crashdumps - debugger 101" href="http://blogs.technet.com/b/deploymentguys/archive/2008/08/01/working-with-crashdumps-debugger-101.aspx" target="_blank">Working with crashdumps &#8211; debugger 101</a></p><p>The post <a
href="http://www.autoitconsulting.com/site/site-news/welcome-to-the-autoit-consulting-blog/">Welcome to the AutoIt Consulting Blog!</a> appeared first on <a
href="http://www.autoitconsulting.com/site">AutoIt Consulting</a>.</p>]]></content:encoded> <wfw:commentRss>http://www.autoitconsulting.com/site/site-news/welcome-to-the-autoit-consulting-blog/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>