<?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>Innovative Technology Weblog &#187; Windows 7</title>
	<atom:link href="http://www.buit.org/category/windows-7/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.buit.org</link>
	<description>Innovative Technology presented by Innovative People</description>
	<lastBuildDate>Mon, 28 Nov 2011 19:54:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Windows performance matters!</title>
		<link>http://www.buit.org/2011/11/28/windows-performance-matters/</link>
		<comments>http://www.buit.org/2011/11/28/windows-performance-matters/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 19:54:00 +0000</pubDate>
		<dc:creator>PSlijkhuis</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[windows; performance; WPA; logon; login;]]></category>

		<guid isPermaLink="false">http://www.buit.org/2011/11/28/windows-performance-matters/</guid>
		<description><![CDATA[Windows 7 is often initiated for its performance like XP and unlike Vista. Too often the actual performance is measured by hand. By stopwatch! Please stop doing this and start reading this inventive blog post. Microsoft provides a free tool to measure the performance automatically. An improved toolkit is coming with Windows 8. For now [...]]]></description>
			<content:encoded><![CDATA[<div class="ExternalClass32E4DFD887D54E1089F7DE6C0BBCA08F">
<p>Windows 7 is often initiated for its performance like XP and unlike Vista. Too often the actual performance is measured by hand. By stopwatch! Please stop doing this and start reading this inventive blog post.</p>
<p>Microsoft provides a free tool to measure the performance automatically. An improved toolkit is coming with Windows 8. For now we can perfectly live with the current toolkit. Let’s get started.&#160;&#160; </p>
<p>In this post I will explain how easy it can be to measure the performance of any Windows 7 or Windows Server 2008 R2 system. I will also provide some practical advice how to create a report that adds value. </p>
<p>Note: Because of the Prefetch feature of Windows 7 it is highly recommended to prepare your test machine (referred to as ‘prepsystem’).</p>
<h2>Start measuring</h2>
<p>Your system needs to have installed:&#160; </p>
<ul>
<li>Windows Vista or higher (Windows XP does work but shows fewer results). Server system 2008 or higher. </li>
<li>.NET framework 4 </li>
<li>Local admin priveliges </li>
</ul>
<p>Now start with installing the magic tooling:</p>
<ul>
<li>Download the <a href="http://msdn.microsoft.com/nl-nl/library/ff190927" target="_blank">WPA toolkit</a> </li>
<li>Install ‘xbootmgr’ and ‘xperf’ (x86 or x64) </li>
<li>Create a temporary folder (c:\temp) </li>
<li>Open a CMD with admin priveliges </li>
</ul>
<p>Copy and past the following line in the CMD window:</p>
<p><em>xbootmgr -trace boot -traceFlags DiagEasy -resultPath C:\TEMP -numruns 10 rebootCycle –prepSystem</em></p>
<p>This will happen: </p>
<ul>
<li>Perform a trace for the time the pc boots (-trace boot) </li>
<li>Specificy the info details measured (-traceflags –diageasy) </li>
<li>Copy the results to ‘c:\temp’ (the .elt files) </li>
<li>Do this 10 times (reboot will go automatic, login by hand unless you specify / a number of 10 is a best practice average) </li>
<li>(option) Prepare yout test system 6x (2 times 3 with a break)&#160; </li>
</ul>
<h2>&#160;</h2>
<h2>Create results</h2>
<p>Create a XML summary file: </p>
<ul>
<li>For every .ETL file run this command: </li>
</ul>
<p><em>xperf /tti -i c:\temp\<strong>YourFile</strong>.etl -o summary_boot.xml -a boot</em></p>
<p>Write down the values for 1) bootDoneViaExplorer, 2) bootDoneViaPostBoot and 3) </p>
<ol>
<li>PreSMSS </li>
<li>SMSSInit </li>
<li>WinlogonInit </li>
<li>ExplorerInit </li>
<li>PostExplorerPeriod </li>
<li>TraceTail </li>
</ol>
<p>All values in milliseconds, so x100 for seconds.</p>
<h2>Time to logon</h2>
<p>Now what is the measured value for the logon time? This is the sum of the values : WinLogonInit, ExplorerInit and PostExplorerPeriod. The value of bootDoneViaExplorer indicates the total startup time.</p>
<p>However, the value of WinloginInit start counting on the moment that the login screen is shown. Meaning that typing userID and password is measured too as part of logon. This is why autologon is preferrred. On a domain joined machine this can be automated too (just Google)</p>
<h2>Summary</h2>
<ul>
<li>Install the WPA toolkit on your Windows 7 test machine </li>
<li>Run a performance test and create a report </li>
<li>Give me some results! </li>
</ul>
<p>&#160;</p>
<p>This post is inspired on the following websites: </p>
<p><a href="http://www.msfn.org/board/topic/140247-trace-windows-7-bootshutdownhibernatestandbyresume-issuess">http://www.msfn.org/board/topic/140247-trace-windows-7-bootshutdownhibernatestandbyresume-issues</a> (generic guide)</p>
<p><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ff191001(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/ff191001(v=vs.85).aspx</a> (xbootmgr)</p>
<p><a href="http://www.computerperformance.co.uk/windows7/windows7_auto_logon.htm">http://www.computerperformance.co.uk/windows7/windows7_auto_logon.htm</a> (autologon)</p>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.buit.org/2011/11/28/windows-performance-matters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Bitlocker Status Reporting in SCCM 2007</title>
		<link>http://www.buit.org/2010/08/18/howto-bitlocker-status-reporting-in-sccm-2007/</link>
		<comments>http://www.buit.org/2010/08/18/howto-bitlocker-status-reporting-in-sccm-2007/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 12:27:53 +0000</pubDate>
		<dc:creator>dvanderuit</dc:creator>
				<category><![CDATA[Configuration Manager]]></category>
		<category><![CDATA[System Center]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Bitlocker]]></category>

		<guid isPermaLink="false">http://www.buit.org/?p=659</guid>
		<description><![CDATA[I recently had to come up with a solution that will enable administrators to build reports for client&#8217;s bitlocker status. To do so i found a few articles on the web that pointed me in the right direction, however i didn&#8217;t found a complete howto for it so that&#8217;s a good reason for me to post a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://picasaweb.google.com/lh/photo/Ne4UKlVEWV4hPb8NvV6X1Q?feat=directlink"></a>I recently had to come up with a solution that will enable administrators to build reports for client&#8217;s bitlocker status. To do so i found a few articles on the web that pointed me in the right direction, however i didn&#8217;t found a complete howto for it so that&#8217;s a good reason for me to post a complete one.</p>
<p>To enable bitlocker status reporting in a centralised management environment with SCCM you need to follow some steps because bitlocker is not integrated that far (yet??) in the Windows OS. First, let&#8217;s first take a look at the status information that bitlocker provides:</p>
<ul>
<li>Volume name, example: <strong>C: [OSDisk]</strong></li>
<li>Disk size, example: <strong>148,75 GB</strong></li>
<li>BitLocker Version, example: <strong>Windows 7</strong></li>
<li>Conversion Status, example: <strong>Fully Encrypted</strong></li>
<li>Percentage Encrypted, example: <strong>100%</strong></li>
<li>Encryption Method, example: <strong>AES 128 with Diffuser</strong></li>
<li>Protection Status, example: <strong>Protection On</strong></li>
<li>Lock Status, example: <strong>Unlocked</strong></li>
<li>Identification Field, example: <strong>None</strong></li>
<li>Key Protectors (Note: multivalue), example: <strong>TPM, Numerical Password</strong></li>
</ul>
<p>You can check the above on clients using the commandline tool <em>manage-bde.exe -status</em> on Windows 7 clients. For Vista clients use <em>cscript manage-bde.wsf -status. </em></p>
<p><strong>Step 1. Modify and deploy SMS_DEF.MOF</strong></p>
<p>We want bitlocker status information to be inventoried to SCCM. A proper way of doing that would be to add the bitlocker class to the <em>SMS_DEF.MOF </em>file on the management point (found in %SCCMinstallpath%\inboxes\clifiles.src\hinv). Make a copy of this file and edit with your favorite app. Add the following lines at the end of the file:</p>
<div>#pragma namespace (&#8220;\\\\.\\root\\cimv2\\SMS&#8221;) <strong>//make sure to use normal quotes!</strong><br />
#pragma deleteclass(&#8220;SCCM_BitLocker&#8221;,NOFAIL)</div>
<div>[ SMS_Report     (TRUE),</div>
<div>SMS_Group_Name ("SCCM_BitLocker"),</div>
<div>SMS_Class_ID   ("CUSTOM|SCCM_BitLocker|1.0") ]</div>
<div>class SCCM_BitLocker : SMS_Class_Template</div>
<div>{</div>
<div>[SMS_Report (TRUE), key ] string Drive;</div>
<div>[SMS_Report (TRUE)] string DriveLabel;</div>
<div>[SMS_Report (TRUE)] string Size;</div>
<div>[SMS_Report (TRUE)] string BitLocker_Version;</div>
<div>[SMS_Report (TRUE)] string Conversion_Status;</div>
<div>[SMS_Report (TRUE)] string Percentage_Encrypted;</div>
<div>[SMS_Report (TRUE)] string Encryption_Method;</div>
<div>[SMS_Report (TRUE)] string Protection_Status;</div>
<div>[SMS_Report (TRUE)] string Lock_Status;</div>
<div>[SMS_Report (TRUE)] string Identification_Field;</div>
<div>[SMS_Report (TRUE)] string Key_Protectors;</div>
<div>[SMS_Report (TRUE)] string Automatic_Unlock;</div>
<div>[SMS_Report (TRUE)] string ScriptLastRun;</div>
<div>};</div>
<p><em>[edit] Make sure to replace any fancy double quotes with normal quotes after copying because otherwise compiling or parsing will fail. Or download this file: <a href="http://www.buit.org/wp-content/uploads/2010/08/bitlocker_mof1.txt">bitlocker_mof</a>.</em></p>
<p>You should check the file for errors with <em>mofcomp.exe -check SMS_DEF.MOF.</em> To enable the MOF file on a single client run the following command on the client <em>mofcomp -class:forceupdate %pathtofile%\SMS_DEF.MOF. </em>Copy the edited file back to enable it on your ConfigMgr site.</p>
<p><strong>Step 2. Install Bitlocker</strong></p>
<p>Create and link a GPO to apply on the bitlocker clients that contain the following settings (or similair based on your own requirements):</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td colspan="2" width="100%" valign="top">Machine | Administrative Templates | System | Trusted Platform Module Services</td>
</tr>
<tr>
<td width="79%" valign="top">Turn on TPM backup to Active Directory Domain Services</td>
<td width="21%" valign="top">Enabled</td>
</tr>
<tr>
<td colspan="2" width="100%" valign="top">Machine | Administrative Templates | Windows Components | BitLocker Drive Encryption | Operating Sytem Drives</td>
</tr>
<tr>
<td width="79%" valign="top">Choose how BitLocker-protected operating system drives can be recovered</td>
<td width="21%" valign="top">Enabled</td>
</tr>
<tr>
<td width="79%" valign="top">Allow data recovery agent</td>
<td width="21%" valign="top">Disabled</td>
</tr>
<tr>
<td width="79%" valign="top">Configure user storage of BitLocker recovery information:</td>
<td width="21%" valign="top">Require 48-digit recovery passwordAllow 256-bit recovery key</td>
</tr>
<tr>
<td width="79%" valign="top">Omit recovery options from the BitLocker setup wizard</td>
<td width="21%" valign="top">Enabled</td>
</tr>
<tr>
<td width="79%" valign="top">Save BitLocker recovery information to AD DS for operating system drives</td>
<td width="21%" valign="top">Enabled</td>
</tr>
<tr>
<td width="79%" valign="top">Configure storage of BitLocker recovery information to AD DS:</td>
<td width="21%" valign="top">Store recovery passwords and key packages</td>
</tr>
<tr>
<td width="79%" valign="top">Do not enable BitLocker until recovery information is stored to AD DS for operating system drives</td>
<td width="21%" valign="top">Disabled</td>
</tr>
</tbody>
</table>
<p>Enter the BIOS on your client or use tools like the Dell client configuration utility to turn on TPM, clear the TPM and activate it. After doing this enable bitlocker encryption on the machine. You can use any method to achive this.</p>
<p><strong>Step 3. Add Bitlocker status to WMI &amp; run hw inventory</strong></p>
<p>Although there are multiple ways of manipulating bitlocker through WMI you still need a script to read, update and store bitlocker status information in the WMI repository (see <a href="http://msdn.microsoft.com/en-us/library/aa376409.aspx">http://msdn.microsoft.com/en-us/library/aa376409.aspx</a>). This is because Managed Object Format (MOF) files are not installed as part of the Windows SDK and therefore the included classes are not added to the WMI repository automatically by Windows itself.</p>
<p><em><strong>[update: A handy colleague wrote a powershell version of the script for adding the bitlocker status into WMI with some nice enhancements. All credits go to Daniel Last.]</strong></em></p>
<p>The scripts (use only one):</p>
<ul>
<li>VBS version: <a href="http://www.buit.org/wp-content/uploads/2010/08/UpdateBitlockerStatus.zip">UpdateBitlockerStatus.vbs</a></li>
<li>Powershell verion: <a href="http://www.buit.org/wp-content/uploads/2010/08/Bitlocker_Status.zip"><span style="text-decoration: line-through">Bitlocker_Status.ps1</span></a> <a href="http://www.buit.org/wp-content/uploads/2010/08/Bitlocker_Status_v1.1.ps1_.zip">Bitlocker_Status_v1.1.ps1</a> [update]</li>
</ul>
<p>Run the script and after that initiate a hardware inventory on the client. Note that the powershell version of the script already triggers a hardware inventory. Additionally, the powershell script need to be run with the powershell execution policy to be set to RemoteSigned. Do this using the following cmdlet: <em>Set-ExecutionPolicy RemoteSigned</em></p>
<p><strong>[edit] You could trigger the inventory in the vbscript by adding this line: </strong>WshShell.Run “WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule “&amp;Chr(34) &amp; “{00000000-0000-0000-0000-000000000001}” &amp; Chr(34) &amp; ” /NOINTERACTIVE”,,true</p>
<p>After a while you will find 2 new tables and 1 new view in the SCCM site database:</p>
<p><a href="http://lh3.ggpht.com/_lWnCoC2_6_I/TGvOcQjeLdI/AAAAAAAAHRk/VppR7vyxT3o/%5C%5CFile0011%5CBestusr2%24%5CRuitD%5CMijn%20Documenten%5CMijn%20Afbeeldingen%5Cbitlocker.jpg" rel="lightbox[659]"><img src="http://lh3.ggpht.com/_lWnCoC2_6_I/TGvOcQjeLdI/AAAAAAAAHRk/VppR7vyxT3o/%5C%5CFile0011%5CBestusr2%24%5CRuitD%5CMijn%20Documenten%5CMijn%20Afbeeldingen%5Cbitlocker.jpg" alt="" width="741" height="234" /></a></p>
<p><a href="http://lh3.ggpht.com/_lWnCoC2_6_I/TGvOcQjeLdI/AAAAAAAAHRk/VppR7vyxT3o/%5C%5CFile0011%5CBestusr2%24%5CRuitD%5CMijn%20Documenten%5CMijn%20Afbeeldingen%5Cbitlocker.jpg" rel="lightbox[659]"></a></p>
<p><strong>Step 4. Create the Report</strong></p>
<p>I created a report in SCCM with the following query:</p>
<p><em>SELECT     v_R_System.Name0 AS Computername, v_GS_SCCM_BitLocker0.Bitlocker_Status0 AS [Bitlocker Status],<br />
v_GS_SCCM_BitLocker0.BitLocker_Version0 AS [Bitlocker Versie], v_GS_SCCM_BitLocker0.Conversion_Status0 AS [Converstion Status],<br />
v_GS_SCCM_BitLocker0.Drive0 AS Drive, v_GS_SCCM_BitLocker0.DriveLabel0 AS DriveLabel, v_GS_SCCM_BitLocker0.Encryption_Method0 AS [Encryption Method],<br />
v_GS_SCCM_BitLocker0.Identification_Field0 AS [Identification Field], v_GS_SCCM_BitLocker0.Key_Protectors0 AS [Key Protectors],<br />
v_GS_SCCM_BitLocker0.Percentage_Encrypted0 AS [Percentage Encrypted], v_GS_SCCM_BitLocker0.Protection_Status0 AS [Protection Status],<br />
v_GS_SCCM_BitLocker0.ScriptLastRun0 AS [Script Last Run]<br />
FROM         v_GS_SCCM_BitLocker0 INNER JOIN<br />
v_R_System ON v_GS_SCCM_BitLocker0.ResourceID = v_R_System.ResourceID</em></p>
<p>And there it is, the Bitlocker report (note: old screenshot based another query but more or less similar):</p>
<p><a href="http://lh4.ggpht.com/_lWnCoC2_6_I/TGvOcY8LS-I/AAAAAAAAHRo/NURzqji2SAM/%5C%5CFile0011%5CBestusr2%24%5CRuitD%5CMijn%20Documenten%5CMijn%20Afbeeldingen%5Cbitlocker_report.jpg" rel="lightbox[659]"><img class="alignnone" src="http://lh4.ggpht.com/_lWnCoC2_6_I/TGvOcY8LS-I/AAAAAAAAHRo/NURzqji2SAM/%5C%5CFile0011%5CBestusr2%24%5CRuitD%5CMijn%20Documenten%5CMijn%20Afbeeldingen%5Cbitlocker_report.jpg" alt="" width="700" height="184" /></a></p>
<p><em>Tested on SCCM R2 with a Windows 7 Enterprise bitlocker client. </em></p>
<p>Feel free to comment on this post.</p>
<p>Regards,<br />
Douwe van de Ruit</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buit.org/2010/08/18/howto-bitlocker-status-reporting-in-sccm-2007/feed/</wfw:commentRss>
		<slash:comments>65</slash:comments>
		</item>
		<item>
		<title>How to perform remote assistance?</title>
		<link>http://www.buit.org/2010/05/01/how-to-perform-remote-assistance/</link>
		<comments>http://www.buit.org/2010/05/01/how-to-perform-remote-assistance/#comments</comments>
		<pubDate>Sat, 01 May 2010 19:00:30 +0000</pubDate>
		<dc:creator>PSlijkhuis</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[windows remote support teamview]]></category>

		<guid isPermaLink="false">http://www.buit.org/?p=623</guid>
		<description><![CDATA[Recently I noticed a change in remote support through Microsoft Windows. This is a feature I use a lot when helping family with their issues. Now I have an issue. I cannot get through anymore. Somehow remote support is blocked. I noticed a change. Before, the receiving party had to enter a session password. Now, [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I noticed a change in remote support through Microsoft Windows. This is a feature I use a lot when helping family with their issues. Now I have an issue. I cannot get through anymore. Somehow remote support is blocked. I noticed a change. Before, the receiving party had to enter a session password. Now, a 12 digit security code is presented which the helping party needs to enter flawless. I have tried is at least three times with totally different machines and at differert times. Every time a connection was not established.</p>
<p>This time, I did not have endless time to troubleshoot. So I decided to make a quick escape through an internet service. I found TeamViewer 5 to be an easy to use replacable. For home use it&#8217;s free. It uses two simple codes to identify the session. For now, I stick with this. Because there is nothing more frustrating for a helpdesk like me than not seeing what happens on the other side, I guess&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buit.org/2010/05/01/how-to-perform-remote-assistance/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Howto deploy a Federated Search Connector in Windows 7</title>
		<link>http://www.buit.org/2009/08/07/howto-deploy-a-federated-search-connector-in-windows-7/</link>
		<comments>http://www.buit.org/2009/08/07/howto-deploy-a-federated-search-connector-in-windows-7/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 22:42:18 +0000</pubDate>
		<dc:creator>Erik Luppes</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Connector]]></category>
		<category><![CDATA[Federated]]></category>
		<category><![CDATA[Group]]></category>
		<category><![CDATA[Policy]]></category>
		<category><![CDATA[Preferences]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://www.buit.org/?p=608</guid>
		<description><![CDATA[Howto deploy a Federated Search Connector in Windows 7 Yesterday we had a kickoff for an Early Adopter Windows 7 Community @ Microsoft in the Netherlands. One of the presentations was about Federated Search and how this nice option will make our work much easier. Some people were wondering howto deploy a Federated Search Connector [...]]]></description>
			<content:encoded><![CDATA[<p>Howto deploy a Federated Search Connector in Windows 7</p>
<p>Yesterday we had a kickoff for an Early Adopter Windows 7 Community @ Microsoft in the Netherlands.<br />
One of the presentations was about Federated Search and how this nice option will make our work much easier.</p>
<p>Some people were wondering howto deploy a Federated Search Connector in an Enterprise Environment, but nobody seems to know the answer. Reason for me to find out how to do this.</p>
<p>As for most solutions, it is not the only or the best solution, but because I like Group Policy Preferences (GPP) so much I developed a way to deploy a search connector using GPP.</p>
<p>In this example I will deploy the <a href="http://www.sevenforums.com/sfp/youtube.osdx" target="_blank">Youtube connector.</a><br />
(Look for more connectors on : <a href="http://www.sevenforums.com/tutorials/742-windows-7-search-federation-providers.html">http://www.sevenforums.com/tutorials/742-windows-7-search-federation-providers.html</a>)</p>
<p>On an admin PC just doubleclick on the downloade file, this will install the Search Connector on your PC, in fact it will install it in your user profile.</p>
<p>Now we need 2 files from your profile, first look up C:\USERS\&lt;YOUR USERNAME&gt;\LINKS\YOUTUBE.LNK<br />
Before you copy this file right click it, choose properties and change the targetlocation to : C:\Users\%USERNAME%\Searches\Youtube.searchConnector-ms</p>
<p>Now copy this file to for example your NETLOGON share.</p>
<p>After that copy the file C:\USERS\&lt;YOUR USERNAME&gt;\SEARCHES\Youtube.searchConnector-ms to the NETLOGON share.</p>
<p>We&#8217;ve got the files that we need to deploy it to our users.</p>
<p>Logon to your domain controller (or the machine that you use to manage Group Policy) and open the Group Policy Management Console.<br />
N.B. To manage Group Policy Preferences you need a Windows Server 2008 (R2), Windows Vista or Windows 7 machine.</p>
<p>Open your User policy and expand the User Configuration node.<br />
Now go to Preferences -&gt; Windows Settings -&gt; Files.</p>
<p>Add these 2 files :</p>
<p><a href="http://www.buit.org/wp-content/uploads/2009/08/searches.png" rel="lightbox[608]"><img class="alignnone size-medium wp-image-609" title="link" src="http://www.buit.org/wp-content/uploads/2009/08/link-271x300.png" alt="link" width="271" height="300" /><img class="alignnone size-medium wp-image-611" title="searches" src="http://www.buit.org/wp-content/uploads/2009/08/searches-271x300.png" alt="searches" width="271" height="300" /></a></p>
<p>If you close the file screens, the preference screen will look like this (except for my domain name <img src='http://www.buit.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
<p><a href="http://www.buit.org/wp-content/uploads/2009/08/preference.png" rel="lightbox[608]"><img class="alignnone size-medium wp-image-610" title="preference" src="http://www.buit.org/wp-content/uploads/2009/08/preference-300x70.png" alt="preference" width="300" height="70" /></a></p>
<p>Now the only thing you have to do is wait until the user policy is refreshed ( a user does not have to take any action and will see the search provider automaticly)<br />
And if you cant wait, just use the good old GPUPDATE.</p>
<p>Thats it for now, please enjoy.</p>
<p>Regards,</p>
<p>Erik</p>
]]></content:encoded>
			<wfw:commentRss>http://www.buit.org/2009/08/07/howto-deploy-a-federated-search-connector-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Native VHD in Windows 7</title>
		<link>http://www.buit.org/2009/02/09/native-vhd-in-windows-7/</link>
		<comments>http://www.buit.org/2009/02/09/native-vhd-in-windows-7/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 11:16:19 +0000</pubDate>
		<dc:creator>Wiebe Niehof</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[VHD]]></category>

		<guid isPermaLink="false">http://www.buit.org/2009/02/09/native-vhd-in-windows-7/</guid>
		<description><![CDATA[Tags van Technorati: Windows 7,Native,VHD I received this article from a college: Roel Janssens and I published it here with his permission. The Virtual Hard Disk file format is getting more and more important for Microsoft (for example think Windows Azure) and with the introduction of Windows 7 Microsoft offers for the first time native [...]]]></description>
			<content:encoded><![CDATA[<div style="0px" class="wlWriterEditableSmartContent">Tags van Technorati: <a href="http://technorati.com/tags/Windows+7" rel="tag">Windows 7</a>,<a href="http://technorati.com/tags/Native" rel="tag">Native</a>,<a href="http://technorati.com/tags/VHD" rel="tag">VHD</a></div>
<p><span><span style="#ff0000">I received this article from a college: Roel Janssens and I published it here with his permission.</span></span></p>
<p>The Virtual Hard Disk file format is getting more and more important for Microsoft (for example think Windows Azure) and with the introduction of Windows 7 Microsoft offers for the first time native VHD support. Working in Windows XP, Windows Vista and Windows Server 2003 you could mount a VHD with vhdmount, but the possibilities now have expanded and a lot more is going to happen in the future.</p>
<p>During TechEd 2008 Mark Russinovich gave a very interesting presentation called <strong>“Inside Windows 2008 R2 Virtualization Improvements and Native VHD Support”</strong>. The first hour has some nice enhancements in Hyper-V 2.0 and the last quarter Mark live demonstrates what Windows 7 is currently capable of regarding VHD.    <br /><a href="http://www.microsoft.com/emea/teched2008/itpro/tv/default.aspx">http://www.microsoft.com/emea/teched2008/itpro/tv/default.aspx</a></p>
<p>All steps and findings in the following story are tested and confirmed working under Windows 7 Ultimate build 7000 and Windows Server 2008 R2 build 7000.</p>
<h2>Advantages</h2>
<p>There is no need to install additional programs when you want to create, attach or detach a VHD, this is all default built in within Disk Management. When you are working on Windows Server 2008 R2 this is an easy way to transfer data between the parent and child partition, you can see it as a “VHD Stick”. A requirement for a child partition is that a SCSI Controller is available, otherwise you can’t live (hot) attach a VHD.</p>
<p><a href="http://www.buit.org/wp-content/uploads/2009/02/clip-image001.jpg" rel="lightbox[456]"><img border="0" alt="clip_image001" src="http://www.buit.org/wp-content/uploads/2009/02/clip-image001-thumb.jpg" width="464" height="209" /></a></p>
<p>Besides working in Disk Management you now have the option to install Windows 7 inside a VHD and boot from it. After that it is also possible to make differencing VHD’s based on that installation and boot from them. Some advantages and possibilities that this offers are:</p>
<p>- The installation of a new Operating System no longer requires you to redesign how your partitions are arranged. All that is added is one big VHD file and one boot entry. If you want to get rid of the installation those are all you have to delete.</p>
<p>- Differencing VHD’s make it possible to easily and safely test an upgrade to for example a new build of Windows 7. Do you like the upgrade then you can merge the differencing VHD, otherwise throw away the differencing VHD and continue to work where you left of in the original installation.</p>
<h2>Disadvantages</h2>
<p>Microsoft originally set the target of maximum 10% performance loss when Windows 7 is installed inside a VHD compared to a bare metal installation. They have done good work on this part because tests show that this loss is about 1 or 2 %. There is always some noise inside those tests so you can say that it nearly approaches a bare metal installation. My own experiences during the last weeks are the same; you almost never feel you are working inside a VHD.</p>
<p>The boot loader of Windows Vista isn’t compatible with VHD entries; if you look at those entries from within Vista you will see some ‘unknown’ parameters. If you also have Vista on your system and for some reason it starts up in Vista Repair then all boot entries referencing a VHD will be lost! Therefore it is wise to regularly make a backup of you Boot Configuration Database with <strong>bcdedit /export</strong>, that way you can always go back.</p>
<p>An option that has disappeared when booted from a VHD is the option to hibernate your machine. With power management you now only have the options of Sleep and Shut Down (this also happens when you enable the Hyper-V role on Windows Server 2008). Time will tell if Microsoft is going to develop or support hibernation when working with VHD’s.</p>
<h2>Installation Windows 7 inside a VHD</h2>
<p>To install Windows 7 inside a VHD you need at least 20GB free disk space. For now the installation is only supported on internal disks, so no external USB drives yet. In the following procedure we are going to install Windows 7 inside a 20GB VHD which we create in the directory c:\vhd. If you have an existing fixed size VHD (for example one created with Hyper-V Manager) you can use that one and skip step 05.</p>
<p>01 boot from Windows 7 DVD or USB   <br />02 Shift-F10 for a command prompt    <br />03 dir C: (of D: E: etc.) to see where your VHD-directory has gone    <br />04 diskpart    <br />05 create vdisk file=c:\vhd\win7.vhd type=fixed maximum=20000    <br />06 select vdisk file=c:\vhd\win7.vhd    <br />07 attach vdisk    <br />08 exit    <br />09 setup    <br />10 install Windows 7 on the new 20GB Unallocated Space (ignore the warning)</p>
<p>After the installation there will be a new boot entry created where the system default will boot from. Start a command prompt with Administrator credentials and type <strong>bcdedit /v</strong> to see the newly created entry:</p>
<p><a href="http://www.buit.org/wp-content/uploads/2009/02/clip-image002.jpg" rel="lightbox[456]"><img border="0" alt="clip_image002" src="http://www.buit.org/wp-content/uploads/2009/02/clip-image002-thumb.jpg" width="511" height="212" /></a></p>
<p>As you can see the two entries ‘device’ and ‘osdevice’ don’t reference a partition (e.g. with Windows Vista), but a physical file somewhere on your computer. The funny thing is when you are booted inside this installation you can look for this file with Windows Explorer; this is somewhat strange to understand when looking at it. Something else that changes is the location of the pagefile; it can’t exist within a VHD so Windows will automatically select another location for it.</p>
<h2>Create differencing VHD</h2>
<p>A differencing VHD is a disk that only saves the differences compared to his parent. This way you can quickly and easily test something without modifying your current installation. Currently Microsoft only supports placing both the parent and the differencing disk on the same volume, but this might change in the future. Parent disks are only used for read only operations while differencing disks perform more write operations, I can imagine placing them on separate disk subsystems optimized for read or write operations.</p>
<p>You can only create a differencing VHD when the parent you want to create a differencing disk from is not in use at that moment (so you can’t be booted inside your parent VHD). Following procedure again makes use of the boot functionality of the Windows 7 DVD, but you can also use a separate Windows Server 2008 installation and use Hyper-V Manager from there to create a differencing VHD. You don’t have to specify a size; this is specified by the parent.</p>
<p>01 boot from Windows 7 DVD or USB   <br />02 Shift-F10 for a command prompt    <br />03 dir C: (or D: E: etc.) to see where your VHD-directory has gone    <br />04 diskpart    <br />05 create vdisk file=c:\vhd\win7-diff.vhd parent=c:\vhd\win7.vhd    <br />06 exit</p>
<p>99 No need to reboot right now, you can continue the next procedure at step 03</p>
<p>Now a differencing VHD is created with the previous Windows 7 installation as parent. The initial size of the differencing VHD will be very small, but this will grow during usage. When booted from within this differencing VHD and looking at it from within Windows Explorer you will see it’s size is the same as that from the parent. When you look at the VHD from another Operating System you will the normal size again.</p>
<h2>Create additional boot entry</h2>
<p>To be able to boot from previous differencing VHD you have to add an additional boot entry. You can do this from within a working Window 7 installation or again after booting from the Windows 7 DVD. The following steps can be done immediately after creating the differencing VHD.</p>
<p>01 boot from Windows 7 DVD or USB   <br />02 Shift-F10 for a command prompt    <br />03 bcdedit /v    <br />04 bcdedit /copy {identifier-of-Windows7} /d “Windows 7 diff”    <br />05 bcdedit /v    <br />06 bcdedit /set {identifier-of-Windows7-diff} device vhd=[locate]\VHD\Win7-diff.vhd    <br />07 bcdedit /set {identifier-of-Windows7-diff} osdevice vhd=[locate]\VHD\Win7-diff.vhd    <br />08 bcdedit /v</p>
<p>In step 03 you have to look for the entry of Windows 7, you can Copy and Paste this identifier and use it in step 04. In step 04 the entry “Windows 7” will be copied to a new entry named “Windows 7 diff”. In step 05 you have to look for the new entry “Windows 7 diff” and Copy &amp; Paste the identifier in step 06 and 07. In step 06 and 07 the correct parameters for ‘device’ and ‘osdevice’ will be filled in. Check the newly created “Windows 7 diff” entry with <strong>bcdedit /v</strong></p>
<p><strong><a href="http://www.buit.org/wp-content/uploads/2009/02/clip-image003.jpg" rel="lightbox[456]"><img border="0" alt="clip_image003" src="http://www.buit.org/wp-content/uploads/2009/02/clip-image003-thumb.jpg" width="532" height="221" /></a></strong></p>
<p>Take care of above notation, because there are some inconsistencies with the entry that is used for a normal VHD. With a normal VHD ‘device’ uses the notation <strong>device file=</strong> and with a differencing VHD we have to use <strong>device vhd=</strong>. With a normal VHD a <strong>drive letter</strong> is used, with a differencing VHD the word <strong>locate</strong> is used. A drive letter should have worked here also, but I did not manage to get that to work.</p>
<p>I don’t know if above inconsistencies are in fact well over thought choices by Microsoft, but I have the feeling that this is because of using beta software. With <strong>bcdedit /? /formats</strong> you get a little more information but it doesn’t give an explanation about the difference between the formats. I tried many other combinations but above screenshot is the only one found 100% working.</p>
<h2>Merge differencing VHD</h2>
<p>If you tried something out in a differencing VHD and you are satisfied with the result then you can merge this information in the parent VHD. You might have created a long differencing VHD chain, you can specify the depth to which you want to merge.</p>
<p>01 boot from Windows 7 DVD or USB   <br />02 Shift-F10 for a command prompt    <br />03 dir C: (or D: E: etc.) to see where your VHD-directory has gone    <br />04 diskpart    <br />05 select vdisk file=c:\vhd\win7-diff.vhd depth=2    <br />06 merge vdisk depth=1    <br />07 exit</p>
<p>In step 05 you have to select the differencing VHD with a depth greater than or equal to the depth of step 06. In this example we merge one level back.</p>
<h2>Delete above experiments</h2>
<p>Are you ready testing and do you want to get rid of the obsolete boot entries? Start a command prompt with Administrator credentials and delete them with <strong>bcdedit /delete {identifier-of-entry-to-be-deleted} </strong>Delete the physical VHD file(s) from your hard drive and everything is gone without leaving a trace.</p>
<h2>Links</h2>
<p><strong>Virtual Hard Disk Image Format Specification</strong>    <br /><a href="http://download.microsoft.com/download/f/f/e/ffef50a5-07dd-4cf8-aaa3-442c0673a029/Virtual%20Hard%20Disk%20Format%20Spec_10_18_06.doc">http://download.microsoft.com/download/f/f/e/ffef50a5-07dd-4cf8-aaa3-442c0673a029/Virtual%20Hard%20Disk%20Format%20Spec_10_18_06.doc</a></p>
<p><strong>Inside Windows 2008 R2 Virtualization Improvements and Native VHD Support     <br /></strong><a href="http://www.microsoft.com/emea/teched2008/itpro/tv/default.aspx"><strong>http://www.microsoft.com/emea/teched2008/itpro/tv/default.aspx</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.buit.org/2009/02/09/native-vhd-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

