<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Windows 7 and Windows Application Compatibility</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/vineetsarda/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/vineetsarda/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:53:04 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Creating a VHD from an Installation CD</title>
      <link>https://docs.microsoft.com/archive/blogs/vineetsarda/creating-a-vhd-from-an-installation-cd</link>
      <pubDate>Fri, 02 Oct 2009 21:32:48 GMT</pubDate>
      <dc:creator><![CDATA[Vineet Sarda]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vineetsarda/2009/10/02/creating-a-vhd-from-an-installation-cd/</guid>
      <description><![CDATA[To create a bootable VHD from the Windows 7 install CD, you will need to locate the main WIM file...]]></description>
      <content:encoded><![CDATA[<p>To create a bootable VHD from the Windows 7 install CD, you will need to locate the main WIM file which is in the sources directory of the DVD –&gt; E:\Sources\Install.wim</p>  <p>With this WIM file you will have to use the <a href="https://code.msdn.microsoft.com/wim2vhd/Release/ProjectReleases.aspx?ReleaseId=2260">WIM2VHD utility</a>, which is script file to create the VHD.</p>  <p>From an Administrative command Prompt, The command line will be as follows</p>  <p>CSCRIPT wim2vhd.wsf /WIM:E:\sources\Install.wim /SKU:ULTIMATE</p>  <p>This will create the VHD file in the current directory and now this is ready for use.</p>  <p>you can create a Boot entry for this VHD as mentioned in my <a href="https://blogs.msdn.com/vineetsarda/archive/2009/07/27/booting-windows-7-from-a-vhd-file.aspx">earlier blog</a></p>  <p>Note : Booting from VHD is only supported on Windows 7 Enterprise and Ultimate Editions. It is supported on all Server 2008 R2 Editions.</p>  <p>If you do create a VHD for any other Edition of Windows 7, it will start up as normal and just before the login screen it will display an Error message as follows</p>  <p><em>License Error.</em></p>  <p><em>Boot from VHD not supported</em></p>]]></content:encoded>
    </item>
    <item>
      <title>Booting Windows 7 from a VHD file</title>
      <link>https://docs.microsoft.com/archive/blogs/vineetsarda/booting-windows-7-from-a-vhd-file</link>
      <pubDate>Mon, 27 Jul 2009 23:42:02 GMT</pubDate>
      <dc:creator><![CDATA[Vineet Sarda]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vineetsarda/2009/07/27/booting-windows-7-from-a-vhd-file/</guid>
      <description><![CDATA[There are multiple ways to boot directly from a Windows 7 VHD file.   The first step involves...]]></description>
      <content:encoded><![CDATA[<p>There are multiple ways to boot directly from a Windows 7 VHD file. </p>  <p>The first step involves attaching the VHD file which can be done using Disk management Console OR using the command line (Both methods are outlinedbelow)</p>  <p>Next Using BCDBOOT to create an entry in the Boot manager.</p>  <p>&#160;</p>  <p>-&gt; Attaching the VHD using Disk Management Console</p>  <blockquote>   <p>Run DISKMGMT.MSC</p> </blockquote>  <blockquote>   <p>From the “Action” menu, select “Attach VHD”</p> </blockquote>  <blockquote>   <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_2.png" original-url="https://blogs.msdn.com/blogfiles/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_thumb.png" original-url="https://blogs.msdn.com/blogfiles/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_thumb.png" width="221" height="214" /></a> </p> </blockquote>  <blockquote>   <p>Browse to the VHD file and click OK.</p> </blockquote>  <blockquote>   <p>This will attach and map the VHD file as Drive letter. (Assuming it is F<strong>:</strong>)</p> </blockquote>  <p>-&gt; Attaching the VHD using DISKPART</p>  <blockquote>   <p>Run <strong>CMD.EXE</strong> (as an Administrator)</p>    <p>Type DISKPART</p>    <p>Next SEL VDISK FILE={<em>Path to the VHD FILE}</em></p>    <p>Then ATTACH VDISK</p>    <p>This will associate a drive letter to the VHD file (Assuming it is F:)</p>    <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_4.png" original-url="https://blogs.msdn.com/blogfiles/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_thumb_1.png" original-url="https://blogs.msdn.com/blogfiles/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_thumb_1.png" width="615" height="371" /></a> </p> </blockquote>  <p>&#160;</p>  <p>Now run <strong>CMD.EXE</strong> (as an Administrator)</p>  <p>Run the following Command –&gt; <strong>BCDBOOT F:\Windows</strong></p>  <p><strong></strong></p>  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_6.png" original-url="https://blogs.msdn.com/blogfiles/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_thumb_2.png" original-url="https://blogs.msdn.com/blogfiles/vineetsarda/WindowsLiveWriter/36b2c12cf6ac_BD00/image_thumb_2.png" width="335" height="131" /></a> </p>  <p>Now if you reboot the machine you will a new entry that corresponds to booting the VHD file. </p>]]></content:encoded>
    </item>
    <item>
      <title>VHD boot with Vista</title>
      <link>https://docs.microsoft.com/archive/blogs/vineetsarda/vhd-boot-with-vista</link>
      <pubDate>Wed, 27 May 2009 17:04:20 GMT</pubDate>
      <dc:creator><![CDATA[Vineet Sarda]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vineetsarda/2009/05/27/vhd-boot-with-vista/</guid>
      <description><![CDATA[!!!! WARNING !!! – Do not use this if           You are not familiar with BCDEDIT      Do not have a...]]></description>
      <content:encoded><![CDATA[<p><font color="#ff0000">!!!! WARNING !!! – Do not use this if </font></p>  <blockquote>   <ul>     <li><font color="#ff0000">You are not familiar with BCDEDIT</font></li>      <li><font color="#ff0000">Do not have a WinPE disk to recover</font></li>      <li><font color="#ff0000">You machine is your Primary machine</font></li>      <li><font color="#ff0000">Do not have backup of your data</font></li>   </ul> </blockquote>  <p><font color="#ff0000">!!!! WARNING !!!</font></p>  <p>If you have Vista installed and now want to Run Windows 7 from a VHD file, then you will need to copy the Windows 7 bootmanager to your Machine.</p>  <p>The file is located in the root of the active partition, so in Vista you will find on your c: drive. All you need to do is copy the&#160; bootmgr file from Windows 7 to your Vista machine at c:\bootmgr </p>  <p>Now you can copy the windows 7 VHD file to your C: Drive and use the following commands in an Elevated Command prompt.</p>  <ul>   <li>C:\&gt;DISKPART </li>    <li>DISKPART&gt;SEL VDISK C:\VHD\Win7.vhd </li>    <li>DISKPART&gt;ATTACH VDISK </li>    <li>DISKPART&gt;LIST VOL (This lists the drive letters and mappings, assuming F: maps to the VDISK) </li>    <li>DISKPART&gt;Exit </li>    <li>C:\&gt;Bcdboot F:\Windows </li> </ul>  <p>This will give you a new entry “Windows 7” at boot time and you can switch between Vista and windows 7.</p>]]></content:encoded>
    </item>
    <item>
      <title>Boot from Windows 7 VHD Boot without having any native Operating System</title>
      <link>https://docs.microsoft.com/archive/blogs/vineetsarda/boot-from-windows-7-vhd-boot-without-having-any-native-operating-system</link>
      <pubDate>Thu, 21 May 2009 21:49:00 GMT</pubDate>
      <dc:creator><![CDATA[Vineet Sarda]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vineetsarda/2009/05/21/boot-from-windows-7-vhd-boot-without-having-any-native-operating-system/</guid>
      <description><![CDATA[VHD boot is a new feature of Windows 7 and can be used in very creative ways. If you have a need for...]]></description>
      <content:encoded><![CDATA[<P>VHD boot is a new feature of Windows 7 and can be used in very creative ways. If you have a need for Reimaging a machine (like a testing environment) back to its original configuration then booting from VHD seem to be a very easy way to do it.</P>
<P>In this post I will outline the quickest way to build a machine from scratch with a VHD without installing any native operating System.</P>
<P>To get started you will first need to create a <STRONG><U><A href="https://technet.microsoft.com/en-us/library/cc766092(WS.10).aspx" target=_blank mce_href="https://technet.microsoft.com/en-us/library/cc766092(WS.10).aspx">Windows 7 WinPE USB Disk</A></U></STRONG><STRONG><U></U></STRONG> (this can be done using the <A href="https://www.microsoft.com/downloads/details.aspx?familyid=60A07E71-0ACB-453A-8035-D30EAD27EF72&amp;displaylang=en" target=_blank mce_href="https://www.microsoft.com/downloads/details.aspx?familyid=60A07E71-0ACB-453A-8035-D30EAD27EF72&amp;displaylang=en">Windows 7 AIK</A>)</P>
<OL>
<LI>Boot the machine from the USB Drive into WinPE</LI>
<LI>Format C: /q&nbsp;&nbsp; <FONT color=#0080ff>-- This is optional, but make sure you delete c:\bootmgr</FONT></LI>
<LI>Copy Windows 7 VHD file to any location on the hard disk [In this case I copied it to C:\VHD\Win7.vhd]</LI>
<LI>Copy Bootmgr from the USB disk – <FONT color=#0080ff>Very important step, only the windows 7 Bootmgr will allow boot from VHD</FONT></LI>
<LI>Type the following commands in the WinPE command window</LI>
<UL>
<LI>C:\&gt;DISKPART</LI>
<LI>DISKPART&gt;SEL VDISK FILE="C:\VHD\Win7.vhd"</LI>
<LI>DISKPART&gt;ATTACH VDISK</LI>
<LI>DISKPART&gt;LIST VOL (This lists the drive letters and mappings, assuming&nbsp;F: maps to the VDISK) </LI>
<LI>DISKPART&gt;Exit</LI>
<LI>C:\&gt;Bcdboot F:\Windows <BR></LI></UL></OL>
<P>Now the system is ready, just Reboot the system and this will take you straight into your VHD.</P>
<P>If you have multiple VHDs, then you can copy all of them to the hard disk and repeat Step 5 for each of the VHD, specifying the path and file name appropriately.</P>]]></content:encoded>
    </item>
  </channel>
</rss>