{"id":324,"date":"2007-03-19T03:54:00","date_gmt":"2007-03-19T10:54:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/how-to-move-the-windows-vista-or-windows-7-8-x-10-boot-manager-and-restore-the-windows-xp-ntldr\/"},"modified":"2021-09-07T15:16:25","modified_gmt":"2021-09-07T22:16:25","slug":"how-to-move-the-windows-vista-or-windows-7-8-x-10-boot-manager-and-restore-the-windows-xp-ntldr","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/how-to-move-the-windows-vista-or-windows-7-8-x-10-boot-manager-and-restore-the-windows-xp-ntldr\/","title":{"rendered":"How to Move the Windows Vista or Windows 7\/8.x\/10 Boot Manager and Restore the Windows XP NTLDR"},"content":{"rendered":"<p><strong><font color=\"#ff5500\">Problem:<\/font><\/strong> <\/p>\r\n  <p>Windows Vista or Windows 7\/8.x\/10&nbsp;was installed to a new partition on a system where Windows XP was already installed. The&nbsp;<strong>bootmgr <\/strong>file and <strong>&#92;Boot<\/strong> directory used by the newer versions of Windows&nbsp;were installed on the existing Windows XP partition rather than on the new Windows&nbsp;partition, as was desired. For Windows 8.x\/10, the <strong>&#92;Recovery<\/strong> folder (WinRE) was also placed on the XP partition.<\/p>\r\n  <p><strong><font color=\"#ff5500\">Cause:<\/font><\/strong> <\/p>\r\n  <p>The Windows XP partition was Active when the newer version of Windows&nbsp;was installed. Consequently, the Windows installer&nbsp;placed the new Windows&nbsp;boot manager and associated files on that partition.<\/p>\r\n  <p><strong><font color=\"#ff5500\">Solution:<\/font><\/strong><\/p>\r\n  <p>The boot manager for the new Windows installation can be moved from the Windows XP partition to the new Windows partition without the necessity of reinstalling either operating system. <\/p>\r\n  <p><font color=\"#ff0000\"><strong>Important: <\/strong>The Windows Vista and Windows 7\/8.x\/10 booting files must reside on a partition with a NTFS&nbsp;cluster size of 4K (the default size). If your new Windows partition does not have 4K clusters you will not be able to move the booting files to it. An example would be that you've formatted the new Windows partition with 8K clusters. More information can be found in this <a href=\"http:\/\/support.microsoft.com\/kb\/2272294\" target=\"_blank\" rel=\"noopener\">Microsoft KB article<\/a>.<\/font><\/p>\r\n  <p><font color=\"#ff0000\"><strong>Note:<\/strong> These instructions assume that the   new Windows partition is a primary partition. If Windows is installed to a logical   partition, moving the booting files to the  new Windows partition will most likely result in a   non-booting system unless using a boot manager such as BootIt BM.<\/font><\/p>\r\n  <p>To move the booting files, proceed as follows:<\/p>\r\n  <ol>\r\n    <li>If the new Windows installation is Windows 8.x\/10, disable the Windows Recovery Environment (WinRE).      In most cases, disabling WinRE before moving the booting files allows it to be easily enabled afterwards and, depending on the system, skipping this step may result in a non-functional WinRE after independent booting is established. Due to the nature of WinRE and the multitude of system configurations there may be systems where WinRE requires repairs to function properly.<br \/>\r\n      <br \/>\r\n      <ol type=\"a\">\r\n        <li>Boot into the new Windows installation.<br \/>\r\n          <br \/>\r\n        <\/li>\r\n        <li>Open an Administrator Command Prompt: <br \/>\r\n          <br \/>\r\n          Press <strong>WinKey+X<\/strong> (or right-click the lower-left corner of the Desktop) and click <strong>Command Prompt (Admin)<\/strong> on the pop-up menu. If a UAC prompt is displayed, click the <strong>Yes<\/strong> button. <br \/>\r\n          <br \/>\r\n        <\/li>\r\n        <li>Run the following command:<br \/>\r\n          <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>reagentc \/disable<\/strong><\/font><br \/>\r\n          <br \/>\r\n        <\/li>\r\n        <li>Verify that <strong>winre.wim<\/strong> now exists in the <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>C:&#92;Windows&#92;System32&#92;Recovery<\/strong><\/font> folder. Run:<br \/>\r\n          <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>dir \/a C:&#92;Windows&#92;System32&#92;Recovery<\/strong><\/font><br \/>\r\n          <br \/>\r\n          You should see <strong>winre.wim<\/strong> in the list of files. If the file is missing you will likely need to repair WinRE before it can be enabled.<br \/>\r\n          <br \/>\r\n        <\/li>\r\n      <\/ol>\r\n    <\/li>\r\n    <li>Reactivate BootIt&nbsp;BM if it was deactivated during the Windows installation.<br \/><br \/>\r\n    <\/li>\r\n    <li>Boot into BootIt BM. <br \/>\r\n      <br \/>\r\n    <\/li>\r\n    <li>If necessary, edit the Windows XP menu entry and make sure the new Windows (Vista, Win7\/8.x\/10) partition is not hidden.<br \/><br \/>\r\n    <\/li>\r\n    <li>From BootIt BM, boot into Windows XP. This will bring up the Windows boot manager and&nbsp;require selecting the&nbsp;<strong>Earlier Version of Windows<\/strong> option.<br \/><br \/><\/li>\r\n    <li>Once XP has booted, enable viewing of hidden and system files. This is necessary to allow access&nbsp;to the Windows boot manager files and can be disabled after the process is complete.<br \/><br \/>\r\n      <ul type=\"disc\">\r\n        <li>Click on <strong>Start<\/strong> and then select<em> <\/em><strong>My Computer<\/strong>.<br \/><br \/><\/li>\r\n        <li>In the Windows Explorer window, select the <strong>Tools<\/strong> menu, <strong>Folder Options...<\/strong>, then&nbsp;select the <strong>View<\/strong> tab.<br \/><br \/><\/li>\r\n        <li>In the <strong>Advanced settings<\/strong> box of options,&nbsp;select the <strong>Show hidden files and folders<\/strong> option and uncheck the <strong>Hide protected operating system files (Recommended) <\/strong>option.<br \/><br \/><\/li>\r\n        <li>Click the <strong>OK<\/strong> button to save&nbsp;the changes and close the window.&nbsp;<br \/><br \/><\/li>\r\n      <\/ul>\r\n    <\/li>\r\n    <li>Manually copy the file <strong>bootmgr<\/strong> (in the root directory, usually <strong>C:&#92;bootmgr<\/strong>) and the directory <strong>&#92;Boot<\/strong> (usually <strong>C:&#92;Boot<\/strong>) from the Windows XP partition to the&nbsp;new Windows partition.&nbsp; This can be done by dragging-and-dropping in Windows Explorer while holding the right mouse button and then selecting the <strong>Copy here<\/strong> option.&nbsp; It can also be done using the standard Windows Explorer&nbsp;<strong>Copy<\/strong> and <strong>Paste<\/strong> file moving methods. <br \/>\r\n      <br \/>\r\n      <strong>Note:<\/strong> Windows 8.x\/10 partitions usually already contain the <strong>bootmgr<\/strong> file (no need to copy it).<br \/>\r\n      <br \/>\r\n    <\/li>\r\n    <li>Boot back into BootIt&nbsp;BM, enter Partition Work, select the new Windows&nbsp;partition, and&nbsp;click the <strong>BCD Edit<\/strong> button. Then follow the directions under the <strong>Important BCD Settings<\/strong> section of the article <strong><a href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=492\" target=\"_blank\" rel=\"noopener\">How to Use the BCD Edit Feature of BootIt BM<\/a><\/strong>.<br \/><br \/>\r\n    <\/li>\r\n    <li>Ensure that you can boot successfully into the new Windows installation. <br \/><br \/>\r\n      <strong>Note:<\/strong> If you receive either of the following errors (or similar errors)&nbsp;when attempting to boot the new Windows  partition, the boot sector code needs updated.<br \/><br \/>\r\n      <ul type=\"disc\">\r\n        <li><font color=\"#ff0000\">NTLDR is missing<br \/>Press Ctrl+Alt+Del to restart<br \/><br \/><\/font><\/li>\r\n        <li><font color=\"#ff0000\">This partition does not contain an operating system.<br \/>If you are about to install a new OS then insert the<br \/>installation diskette into drive A:<br \/><br \/>Press any key to run the BIOS bootstrap loader...<\/font><br \/><\/li>\r\n        <\/ul><br \/><br \/>\r\n      To fix this problem, please see the KB article <a href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=556\" target=\"_blank\" rel=\"noopener\"><strong>How to Rebuild the Boot Sector for Windows Vista and Windows 7\/8.x\/10<\/strong><\/a>.<br \/><br \/>\r\n    <\/li>\r\n    <li>The next step is to repair the XP partition's boot sector. This is done by booting into the Windows XP Recovery Console and running&nbsp;the <strong>fixboot<\/strong> command.&nbsp;<br \/><br \/>\r\n      <strong>Note:<\/strong> Alternatively, you&nbsp;could use the <strong>bootsect<\/strong> program (on the Vista or Windows 7\/8.x\/10 installation\/repair media) to repair the XP boot sector (see the <em>Additional Information<\/em> section of the KB article linked in&nbsp;the previous step).<br \/><br \/>Proceed as follows:<br \/><br \/>\r\n      <ul type=\"disc\">\r\n        <li>Boot to the BootIt&nbsp;BM boot menu and do a simulated boot into XP: Select the XP menu entry, hold down the <em>left<\/em> Shift key and click the <strong>Boot<\/strong> button. If the computer's internal speaker works, you should hear a beep. Doing this step&nbsp;will make sure the XP partition is set as the active partition before booting to the XP Recovery Console.<br \/><br \/><\/li>\r\n        <li>Reboot the computer to&nbsp;your Windows XP CD or XP Setup floppy diskettes.<br \/><br \/><\/li>\r\n        <li>When the <strong>Welcome to Setup<\/strong> screen appears, press either <strong>R<\/strong> or&nbsp;<strong>F10<\/strong>.<br \/><br \/><\/li>\r\n        <li>Follow the instructions shown to access the Recovery Console command prompt. When selecting which Windows you want to repair,&nbsp;<strong>1<\/strong> (1: C:&#92;Windows) will usually be the correct choice.<br \/><br \/><\/li>\r\n        <li>Once at the command line prompt,&nbsp;run the <strong>fixboot <\/strong>command. When asked for a confirmation, type <strong>y<\/strong> and then press ENTER.<br \/><br \/><\/li>\r\n        <li>For more information on the Windows XP Recovery Console, please refer to the Microsoft Knowledge Base article <a href=\"http:\/\/support.microsoft.com\/kb\/314058\" target=\"_blank\" rel=\"noopener\"><strong>Description of the Windows XP Recovery Console<\/strong><\/a>.<br \/><br \/><\/li>\r\n      <\/ul>\r\n    <\/li>\r\n    <li>At this point, you may delete <strong>bootmgr <\/strong>and <strong>&#92;Boot<\/strong> from the Windows XP partition (due to file access restrictions, you may need to do this when booted to the Windows XP Recovery Console or the Repair Mode Command Prompt of Windows Vista or later). You may also disable viewing of hidden and system files in Windows XP.<br \/><br \/><\/li>\r\n    <li><strong>Windows 8.x\/10 only:<\/strong> Boot into the new Windows installation and reactivate the Windows Recovery Environment (WinRE). <br \/>\r\n      <br \/>\r\n      <ul type=\"disc\">\r\n      <li>Start an Administrator mode Command Prompt: Press <strong>WinKey+X<\/strong> (or right-click the lower-left corner   of the Desktop) and click <strong>Command Prompt (Admin)<\/strong> on the pop-up   menu.\r\n      If a UAC prompt is displayed, click the <strong>Yes<\/strong> button.<br \/>\r\n      <br \/>\r\n      <\/li>\r\n      <li>Run the following command:<br \/>\r\n        <font color=\"#008800\" face=\"Courier New, Courier, monospace\"><strong>reagentc \/enable<\/strong><\/font>\r\n        <br \/>\r\n        <br \/>\r\n         If there are any errors or issues please refer to <a href=\"https:\/\/www.terabyteunlimited.com\/kb\/?p=587\" target=\"_blank\" rel=\"noopener\"><strong>Repairing the Windows Recovery Environment (WinRE)<\/strong><\/a>.<br \/><br \/>\r\n      <\/li>\r\n      <\/ul>\r\n    <\/li>\r\n    <li>Finally,&nbsp;use the BootIt&nbsp;BM BCD editor on the new Windows partition and delete the <strong>Earlier Version of Windows<\/strong> entry from the menu. This will allow Windows to boot directly without displaying the menu. <\/li>\r\n  <\/ol>","protected":false},"excerpt":{"rendered":"<p>Problem: Windows Vista or Windows 7\/8.x\/10&nbsp;was installed to a new partition on a system where Windows XP was already installed. The&nbsp;bootmgr file and &#92;Boot directory used by the newer versions of Windows&nbsp;were installed on the existing Windows XP partition rather than on the new Windows&nbsp;partition, as was desired. For Windows 8.x\/10, the &#92;Recovery folder (WinRE) [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1817],"lsvr_kba_tag":[2127,2142,2140,2141,2139],"class_list":["post-324","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-vista-win7-8-x-10","lsvr_kba_tag-windows","lsvr_kba_tag-windows-10","lsvr_kba_tag-windows-7","lsvr_kba_tag-windows-8-x","lsvr_kba_tag-windows-vista"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=324"}],"version-history":[{"count":1,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/324\/revisions"}],"predecessor-version":[{"id":6116,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/324\/revisions\/6116"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=324"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=324"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}