<?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>Invested Development &#187; Tools</title>
	<atom:link href="http://devblog.stuartthompson.net/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://devblog.stuartthompson.net</link>
	<description>Thoughtful Approaches to Software Architecture</description>
	<lastBuildDate>Tue, 18 Oct 2011 17:08:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Enabling BitLocker in Windows 7</title>
		<link>http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/</link>
		<comments>http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/#comments</comments>
		<pubDate>Fri, 06 May 2011 21:25:54 +0000</pubDate>
		<dc:creator>stuartthompson</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[bitlocker]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/</guid>
		<description><![CDATA[BitLocker provides full disk encryption. With mounting concerns around identity theft and corporate data security it is more important than ever that everyone take steps to ensure the data stored on their personal computers is kept secure. The following step by step instructions can be used to enable BitLocker drive encryption on a machine running [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">BitLocker provides full disk encryption. With mounting concerns around identity theft and corporate data security it is more important than ever that everyone take steps to ensure the data stored on their personal computers is kept secure.</p>
<p align="justify">The following step by step instructions can be used to enable BitLocker drive encryption on a machine running Windows 7.</p>
<p align="justify"><strong>Disclaimer:</strong> These instructions are provided AS IS without implied warranty of any kind. USE AT YOUR OWN RISK. I will not provide support and by reading this post or using these instructions you agree that I am in no way responsible for loss of data or any other losses that result from your usage of the information contained in this post.</p>
<p align="justify"><b>Step 1 &#8211; Configure Local Group Policy</b>     <br />BitLocker uses local group policy settings to configure its behavior. These settings must be initialized prior to running BitLocker.</p>
<p><b>Step 1.1 &#8211; Open the Local Group Policy Snapin</b>     <br />Click Start and in the run box type gpedit.msc</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image001.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image001_thumb.jpg" width="244" height="53" /></a></p>
<hr align="center" size="3" width="100%" />
<p align="justify"><b>Step 1.2 &#8211; Navigate to the correct node in the group policy editor</b>     <br />Navigate to:    <br />Local Group Policy –&gt; Computer Configuration –&gt; Administrative Templates –&gt; Windows Components –&gt; BitLocker Drive Encryption –&gt; Operating System Drives </p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image002.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image002_thumb.jpg" width="244" height="95" /></a> </p>
<p align="justify">There are four settings groups that need to be configured here. Open each window in turn as specified in the following four steps. To open a settings group double-click the setting in the list. </p>
<hr align="center" size="3" width="100%" />
<p align="justify"><b>Step 1.3 &#8211; Require additional authentication at startup</b>     <br />Configure BitLocker to require a startup PIN with TPM (Trusted Platform Module). This setting means that BitLocker will require the user to enter a PIN when the computer is first powered on.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image003.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image003_thumb.jpg" width="244" height="186" /></a></p>
<p>Click Apply and OK to close the settings window.</p>
<hr align="center" size="3" width="100%" />
<p align="justify"><b>Step 1.4 &#8211; Allow enhanced PINs for startup</b>     <br />Enhanced PINs allow for the use of a more diverse set of characters. Select &quot;Enabled&quot;</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image004.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image004_thumb.jpg" width="244" height="125" /></a></p>
<p>Click Apply and OK to close the settings window.</p>
<hr align="center" size="3" width="100%" />
<p align="justify"><b>Step 1.5 &#8211; Configure minimum PIN length for startup</b>     <br />The next settings group provides a minimum PIN length to be specified.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image005.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image005_thumb.jpg" width="244" height="119" /></a></p>
<p>Click Apply and OK to close the settings window.</p>
<hr align="center" size="3" width="100%" />
<p><b>Step 1.6 &#8211; Chose how BitLocker-protected operating system drives can be recovered</b>     <br />Specify the mechanisms through which a BitLocker protected drive can be recovered.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image006.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image006_thumb.jpg" width="244" height="159" /></a></p>
<p>Click Apply and OK to close the settings window.</p>
<hr align="center" size="3" width="100%" />
<p align="justify"><b>Step 1.7 &#8211; Verify that all four settings groups are shown as Enabled</b>     <br />THIS IS IMPORTANT! Ensure that the settings groups are enabled correctly. Once the BitLocker process begins these settings will be used without further confirmation.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image007.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image007" border="0" alt="clip_image007" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image007_thumb.jpg" width="244" height="89" /></a></p>
<p>Close the Local Group Policy Editor window</p>
<hr align="center" size="3" width="100%" noshade="noshade" />
<p align="justify"><b>Step 2 &#8211; Enable BitLocker Drive Encryption</b>     <br />Now that the local group policy has been configured the system is ready for BitLocker drive encryption.</p>
<p>This set of steps proceeds through a series of dialogs, each of which are explained below.</p>
<p><b>Step 2.1 &#8211; Turn on BitLocker</b>     <br />Turn on BitLocker by right-clicking your operating system drive and select Turn on Bitlocker&#8230;</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image008.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image008_thumb.jpg" width="244" height="97" /></a></p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.2 &#8211; BitLocker initializes the drive</b>     <br />Wait until the initialization is complete.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image009.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image009" border="0" alt="clip_image009" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image009_thumb.jpg" width="244" height="187" /></a></p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.3 &#8211; Prepare your drive for BitLocker</b>     <br /><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image010.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image010" border="0" alt="clip_image010" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image010_thumb.jpg" width="244" height="187" /></a></p>
<p>Click the Next button to prepare your drive.</p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.4 &#8211; Continue preparing your drive</b>     <br /><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image011.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image011" border="0" alt="clip_image011" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image011_thumb.jpg" width="244" height="187" /></a></p>
<p>Click the Next button again to continue</p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.5 &#8211; Encrypt the drive</b>     <br /><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image012.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image012" border="0" alt="clip_image012" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image012_thumb.jpg" width="244" height="187" /></a></p>
<p>Click Next to initiate the drive encryption process.</p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.6 &#8211; Require a PIN at every startup</b>     <br /><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image013.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image013" border="0" alt="clip_image013" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image013_thumb.jpg" width="244" height="186" /></a></p>
<p>Click on the Require a PIN at every startup option.</p>
<hr align="center" size="3" width="100%" />
<p align="justify"><b>Step 2.7 &#8211; Enter a startup PIN</b>     <br />Choose a PIN that will be required at every startup. It is recommended that this is a mixture of characters and numbers that is easy to remember and is different from your username and domain password. This PIN should not be a number of phrase that is printed on the case of the computer. Service tags are not appropriate PINs.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image014.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image014" border="0" alt="clip_image014" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image014_thumb.jpg" width="244" height="187" /></a></p>
<p>Click the Set PIN button to proceed.</p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.8 &#8211; Insert a USB thumb-drive into your laptop</b>     <br />This will be used to store your recovery key.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image016.gif"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image016" border="0" alt="clip_image016" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image016_thumb.gif" width="244" height="98" /></a></p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.9 &#8211; Save the recovery key to a USB flash drive</b>     <br /><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image017.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image017" border="0" alt="clip_image017" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image017_thumb.jpg" width="244" height="187" /></a></p>
<p>Click the Save the recovery key to a USB flash drive option.</p>
<hr align="center" size="3" width="100%" />
<p align="justify"><b>Step 2.10 &#8211; Save the recovery key to the thumb drive</b>     <br />A dialog is shown listing the USB devices connected to the system. The thumb drive inserted in step 2.8 should be listed and selected.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image018.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image018" border="0" alt="clip_image018" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image018_thumb.jpg" width="244" height="176" /></a></p>
<p>Click the Save button to save the recovery key.</p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.11 &#8211; Proceed to next step</b>     <br />Click the Next button to proceed.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image019.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image019" border="0" alt="clip_image019" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image019_thumb.jpg" width="244" height="186" /></a></p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.12 &#8211; Run BitLocker system check</b>     <br />Ensure that the Run BitLocker system check box is checked.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image020.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image020" border="0" alt="clip_image020" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image020_thumb.jpg" width="244" height="187" /></a></p>
<p>Click the Continue button to proceed.</p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.13 &#8211; Restart computer</b>     <br />BitLocker will now perform a system check prior to encrypting drive contents.</p>
<p>Part of this check involves restarting the computer to ensure that the user enters their PIN correctly and that the TPM key can be unsealed using that PIN.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image021.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image021" border="0" alt="clip_image021" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image021_thumb.jpg" width="244" height="110" /></a></p>
<p>Click the Restart now button to proceed.</p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.14 &#8211; Enter PIN</b>     <br />Enter the PIN used for this computer.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image023.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image023" border="0" alt="clip_image023" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image023_thumb.jpg" width="244" height="91" /></a></p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.15 &#8211; Encryption in progress</b>     <br />After the machine is booted up, note that drive encryption is in progress.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image025.gif"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image025" border="0" alt="clip_image025" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image025_thumb.gif" width="240" height="68" /></a></p>
<hr align="center" size="3" width="100%" />
<p><b>Step 2.16 &#8211; Wait for Drive Encryption to Complete</b>     <br /><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image026.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image026" border="0" alt="clip_image026" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image026_thumb.jpg" width="244" height="114" /></a></p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image027.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image027" border="0" alt="clip_image027" src="http://devblog.stuartthompson.net/wp-content/uploads/2011/05/clip_image027_thumb.jpg" width="244" height="88" /></a></p>
<p>Click Close to finish.</p>
<hr align="center" size="3" width="100%" />
<p>Congratulations! Your drive is now encrypted with BitLocker using a TPM and PIN.</p>
<p align="justify"><strong>Disclaimer:</strong> These instructions are provided AS IS without implied warranty of any kind. USE AT YOUR OWN RISK. I will not provide support and by reading this post or using these instructions you agree that I am in no way responsible for loss of data or any other losses that result from your usage of the information contained in this post.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=Enabling+BitLocker+in+Windows+7%3A+http%3A%2F%2Fdevblog.stuartthompson.net%2F%3Fp%3D260" title="Post to Twitter"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/&amp;headline=Enabling+BitLocker+in+Windows+7" title="Post to Yahoo Buzz"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz-micro3.png" alt="Post to Yahoo Buzz" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/&amp;title=Enabling+BitLocker+in+Windows+7" title="Post to Delicious"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/&amp;title=Enabling+BitLocker+in+Windows+7" title="Post to Digg"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/&amp;t=Enabling+BitLocker+in+Windows+7" title="Post to Facebook"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/&amp;title=Enabling+BitLocker+in+Windows+7" title="Post to Reddit"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/&amp;title=Enabling+BitLocker+in+Windows+7" title="Post to StumbleUpon"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://devblog.stuartthompson.net/2011/05/enabling-bitlocker-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Visual Studio Registration Information</title>
		<link>http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/</link>
		<comments>http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 20:58:53 +0000</pubDate>
		<dc:creator>stuartthompson</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Registration]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/</guid>
		<description><![CDATA[This morning as I started Visual Studio it bugged me that the splash screen reported my registration information as “User” at “Microsoft”. My name isn’t “User” and I don’t work for “Microsoft”, at least not directly. This is something that has bothered me in the past but I’ve never dug into it far enough to [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This morning as I started Visual Studio it bugged me that the splash screen reported my registration information as “User” at “Microsoft”. My name isn’t “User” and I don’t work for “Microsoft”, at least not directly. This is something that has bothered me in the past but I’ve never dug into it far enough to figure out how to fix it.</p>
<p style="text-align: justify;">This afternoon after a little research I was able to piece together the steps necessary to update the information. I found <a href="http://stackoverflow.com/questions/200635/how-to-change-registration-company-name-for-visual-studio-2008">this question on Stack Overflow</a> that had some useful information but not a complete solution. I also came across <a href="http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/09/30/changing-the-visual-studio-splash-screen-registered-user.aspx">this post on John Robbins’ blog</a> and between the two of them I was able to close the gap.</p>
<p><strong>Updating Company Name and User for Windows</strong><br />
The first step is to open the registry editor and navigate to:</p>
<p><em>32 bit:</em> HKLM\Software\Microsoft\Windows NT\CurrentVersion<br />
<em>64 bit:</em> HKLM\Software\Wow6432Node\Microsoft\WindowsNT\CurrentVersion</p>
<p>Here you can edit the RegisteredOrganization and RegisteredOwner values.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/CompanyNameKey.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="CompanyNameKey" src="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/CompanyNameKey_thumb.png" border="0" alt="CompanyNameKey" width="244" height="110" /></a></p>
<p><strong>Updating Visual Studio User Registry Key</strong><br />
The next step is to update the user name for your Visual Studio registration. This is also a key in the registry at:</p>
<p><em>32 bit:</em> HKLM\Software\Microsoft\VisualStudio\9.0\Registration<br />
<em>64 bit:</em> HKLM\Software\Wow6432Node\Microsoft\VisualStudio\9.0\Registration</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/VisualStudioRegistrationKey.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="VisualStudioRegistrationKey" src="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/VisualStudioRegistrationKey_thumb.png" border="0" alt="VisualStudioRegistrationKey" width="244" height="102" /></a></p>
<p style="text-align: justify;"><strong>Getting Visual Studio to Use the New Information</strong><br />
Modifying the keys is the first step. However, it turns out that Visual Studio actually stores the information to be displayed in a SplashInfo key. The info is stored in binary data. Fortunately we do not need to modify the binary value in the registry. Instead simply run devenv /setup and the information will be updated automatically.</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/RunDevEnvSetup.png"><img style="display: inline; border-width: 0px;" title="Run DevEnv Setup" src="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/RunDevEnvSetup_thumb.png" border="0" alt="Run DevEnv Setup" width="244" height="160" /></a> <a href="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/SplashInfoKey.png"><img style="display: inline; border-width: 0px;" title="SplashInfoKey" src="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/SplashInfoKey_thumb.png" border="0" alt="SplashInfoKey" width="226" height="244" /></a></p>
<p><strong>Verifying the Information</strong><br />
To verify that the information was updated correctly you can either view the SplashInfo key in the registry or simply run Visual Studio. I’m now “Stuart Thompson” at “SoftSource Consulting”. Much better!</p>
<p><a href="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/SplashScreen.png"><img style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" title="SplashScreen" src="http://devblog.stuartthompson.net/wp-content/uploads/2010/03/SplashScreen_thumb.png" border="0" alt="SplashScreen" width="208" height="244" /></a></p>
<p style="text-align: justify;"><strong>Disclaimer</strong><br />
This process worked for me. Your mileage may vary. This information is provided as is without any implied warranty of fitness for any purpose. I am not responsible for corrupted Visual Studio installations or registry hives nor for any other problems that may arise as a result of using these steps. USE AT YOUR OWN RISK.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=Changing+Visual+Studio+Registration+Information%3A+http%3A%2F%2Fdevblog.stuartthompson.net%2F%3Fp%3D152" title="Post to Twitter"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/&amp;headline=Changing+Visual+Studio+Registration+Information" title="Post to Yahoo Buzz"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz-micro3.png" alt="Post to Yahoo Buzz" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/&amp;title=Changing+Visual+Studio+Registration+Information" title="Post to Delicious"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/&amp;title=Changing+Visual+Studio+Registration+Information" title="Post to Digg"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/&amp;t=Changing+Visual+Studio+Registration+Information" title="Post to Facebook"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/&amp;title=Changing+Visual+Studio+Registration+Information" title="Post to Reddit"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/&amp;title=Changing+Visual+Studio+Registration+Information" title="Post to StumbleUpon"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://devblog.stuartthompson.net/2010/03/changing-visual-studio-registration-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NDoc Shadow Cache – UnauthorizedAccessException</title>
		<link>http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/</link>
		<comments>http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 16:20:01 +0000</pubDate>
		<dc:creator>stuartthompson</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[NDoc]]></category>
		<category><![CDATA[ShadowCache]]></category>
		<category><![CDATA[UnauthorizedAccessException]]></category>

		<guid isPermaLink="false">http://stuartthompsontech.wordpress.com/?p=30</guid>
		<description><![CDATA[I ran into an interesting issue yesterday while adding log4net to a project that was using NDoc as part of its build process. The project is using Team System for both source control and builds, and is using NDoc 2 Alpha 3 to generate code documentation files as part of the build. A common tools [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into an interesting issue yesterday while adding log4net to a project that was using NDoc as part of its build process. The project is using Team System for both source control and builds, and is using NDoc 2 Alpha 3 to generate code documentation files as part of the build. A common tools folder exists as part of the source control tree that is copied to the build server during the build process and used as a reference point for common libraries throughout the solution. This approach has been successful for me in the past because it means that the hint paths for references can point to a common known location and avoid common path issues to referenced libraries. However, shortly after checking in the log4net library to the tools folder and referencing it from several projects, I received the following build failure notification:</p>
<p><a href="http://stuartthompsontech.files.wordpress.com/2008/10/060507_1612_ndocshadowc1.jpg"><img class="alignnone size-medium wp-image-32" title="060507_1612_ndocshadowc1" src="http://stuartthompsontech.files.wordpress.com/2008/10/060507_1612_ndocshadowc1.jpg?w=300" alt="" width="300" height="118" /></a></p>
<p>It appeared that the log4net library was locked and was causing NDoc to fail. After a little investigation, I found that the log4net dll was marked as read-only (because it had been added to source control) and experimented to see if that was part of the problem. Sure enough, on my local machine, if I changed the file to not be read-only then NDoc would build the documentation successfully. However, this didn&#8217;t solve the problem for the build process as the files on the build server are purged and freshly checked out prior to each build. The read-only log4net.dll would be copied down to the build server upon each build with the read-only flag set and the build would fail. The first, and more distasteful solution, was to add a build step prior to generating documentation to modify the attributes of the file to ensure that it was not read-only. However, more investigation led me to learn about the NDoc shadow cache. I found the information on Kiwidude&#8217;s blog <a href="http://www.kiwidude.com/blog/2007/01/building-castles-on-quicksand.html">here</a>.</p>
<p>It turns out that NDoc is copying the referenced libraries to a separate shadow cache before interrogating them to build the documentation. This is to avoid, of all things, access permission problems that might arise from NDoc attempting to read a locked file. However, when NDoc goes to delete this shadow cache, it fails to note that some of the copied files might be read-only; the case with our log4net.dll. The System.UnauthorizedAccessException is being generated when NDoc tries to delete the read-only file from the shadow cache. Thanks to Kiwidude&#8217;s blog, I was now aware of an option to disable the shadow cache and force NDoc to simply read the files in place. Opening up the NDoc GUI, I loaded our .ndoc project and immediately saw the UseAssemblyShadowCache option:</p>
<p><a href="http://stuartthompsontech.files.wordpress.com/2008/10/060507_1612_ndocshadowc2.jpg"><img class="alignnone size-medium wp-image-33" title="060507_1612_ndocshadowc2" src="http://stuartthompsontech.files.wordpress.com/2008/10/060507_1612_ndocshadowc2.jpg?w=300" alt="" width="300" height="116" /></a></p>
<p>This actually manifests itself in the project file as the following:</p>
<p><a href="http://stuartthompsontech.files.wordpress.com/2008/10/060507_1612_ndocshadowc3.jpg"><img class="alignnone size-medium wp-image-34" title="060507_1612_ndocshadowc3" src="http://stuartthompsontech.files.wordpress.com/2008/10/060507_1612_ndocshadowc3.jpg?w=300" alt="" width="300" height="105" /></a></p>
<p>After changing this option, NDoc was able to compile the documentation without error and checking in the change fixed the build. I am presuming that the beta version of NDoc 2.0 will check the attributes on files that were copied to the shadow-cache to avoid this kind of problem, but for now this fixes it.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" class="tt" href="http://twitter.com/home/?status=NDoc+Shadow+Cache+%E2%80%93+UnauthorizedAccessException%3A+http%3A%2F%2Fdevblog.stuartthompson.net%2F%3Fp%3D30" title="Post to Twitter"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a target="_blank" class="tt" href="http://buzz.yahoo.com/buzz?targetUrl=http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/&amp;headline=NDoc+Shadow+Cache+%E2%80%93+UnauthorizedAccessException" title="Post to Yahoo Buzz"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/buzz/tt-buzz-micro3.png" alt="Post to Yahoo Buzz" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/&amp;title=NDoc+Shadow+Cache+%E2%80%93+UnauthorizedAccessException" title="Post to Delicious"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/&amp;title=NDoc+Shadow+Cache+%E2%80%93+UnauthorizedAccessException" title="Post to Digg"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/&amp;t=NDoc+Shadow+Cache+%E2%80%93+UnauthorizedAccessException" title="Post to Facebook"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/&amp;title=NDoc+Shadow+Cache+%E2%80%93+UnauthorizedAccessException" title="Post to Reddit"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/&amp;title=NDoc+Shadow+Cache+%E2%80%93+UnauthorizedAccessException" title="Post to StumbleUpon"><img class="nothumb" src="http://devblog.stuartthompson.net/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://devblog.stuartthompson.net/2007/06/ndoc-shadow-cache-%e2%80%93-unauthorizedaccessexception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

