{"id":188,"date":"2006-06-14T03:44:56","date_gmt":"2006-06-14T03:44:56","guid":{"rendered":"http:\/\/neosmart.net\/blog\/archives\/188"},"modified":"2013-08-26T18:09:53","modified_gmt":"2013-08-26T23:09:53","slug":"so-you-overwrote-your-xp","status":"publish","type":"post","link":"https:\/\/neosmart.net\/blog\/so-you-overwrote-your-xp\/","title":{"rendered":"Recovering XP &amp; Windows.Old After a Vista Installation"},"content":{"rendered":"<p>So you just installed a shiny, new, &amp; legal, copy of Windows Vista. Somewhere along the way, you realized that your XP Partition wasn&#8217;t there anymore, and that you&#8217;ve lost every single program you&#8217;d installed over the past 6 years &#8211; gone! All just because you didn&#8217;t realize that you were installing Windows Vista to the XP partition.\n<\/p>\n<p>Don&#8217;t worry, NeoSmart is here with the answer yet again. Don&#8217;t despair just yet! There&#8217;s much in terms of hope, and with this guide, you can get your XP back, with all it&#8217;s programs, registry, settings, and more &#8211; as if Vista was never there, and no one (*cough* the wife *cough*) needs to know you overwrote your XP &#8211; ever!\n<\/p>\n<p><!--more-->This guide was born out of a in-depth forum discussion over how to do <a href=\"http:\/\/neosmart.net\/forums\/?gettopic=38\" rel=\"follow\">just this<\/a>, but with a lot of detours and road constructions along the way. This guide can be used to recover XP only in one case: While doing a <em>clean<\/em> install of Vista, you accidentally selected the wrong partition to install to, and as such, you wrote Vista to the same drive as XP. It won&#8217;t recover an upgrade from XP to Vista, nor will it help you &#8220;unformat&#8221; your partition if that&#8217;s what you did.\n<\/p>\n<p align=\"center\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\n<\/p>\n<ul>\n<li>The first thing to check for is the existence of a folder called &#8220;Windows.old&#8221; in the root (X:\\) folder of the drive you installed Vista to. If this folder exists, we can get your XP back. If it doesn&#8217;t, you&#8217;re out of luck. <\/li>\n<li>Assuming it exists, following the remainder of these steps will <strong>completely<\/strong> remove Vista from your system, it will be as if you went back in time and never installed Vista at all. Of course the normal disclaimers apply: You can&#8217;t hold me, Computer Guru, and\/or NeoSmart Technologies responsible for any damages incurred by following these steps. We can&#8217;t guarantee they&#8217;ll work for everyone, but we do promise that they work, as can be seen <a href=\"http:\/\/neosmart.net\/forums\/?gettopic=38\" rel=\"follow\">here<\/a>. <\/li>\n<li>The first thing that needs to be done is to copy the files required to boot into XP from another computer or from the Vista partition itself to the Windows.old directory we talked about earlier. In order to do this, you will need to enable the viewing of both hidden and OS-protected system files and folders in the Folders | Options menu. These files are:\n<p><code>1. \\ntldr<br \/>\n  <br \/>2. \\NTDETECT.COM<br \/>\n  <br \/>3. \\MSDOS.SYS<br \/>\n  <br \/>4. \\CONFIG.SYS<br \/>\n  <br \/>5. \\AUTOEXEC.BAT<br \/>\n  <br \/>6. \\boot.ini (if available)<\/code> <\/li>\n<li>Once you&#8217;ve copied those files over, we need to delete the Vista bootloader from the bootsector. There are two ways to do this, one is to use <a href=\"http:\/\/neosmart.net\/EasyBCD\/\" rel=\"follow\">EasyBCD<\/a>, the ultimate Vista Bootloader Modification Tool that NeoSmart Technologies published, and the other is to use a program that comes with Vista, called &#8220;bootsect.exe.&#8221; Since this guide uses no external resources, here&#8217;s how to do it with bootsect. <\/li>\n<li>You&#8217;ll need to burn Vista to a DVD (well, ATM you can just mount or extract it, but later on in these steps you&#8217;re going to need to burn it, so might as well do it now) with your favorite ISO burning program (Nero, Roxio, DT, Alcohol, you name it). <\/li>\n<li>Browse to the \\Boot\\ folder on the DVD, and grab &#8220;bootsect.exe&#8221; and copy it to your drive C:\\ in the root folder. <\/li>\n<li>Press winkey+r to open a run prompt, type in &#8220;CMD&#8221; without the quotes, and press enter. <\/li>\n<li>Once the command prompt window is open, type the following (after each line, press enter):<br \/>\n  <br \/><code>C:<br \/>\n  <br \/>cd \\<br \/>\n  <br \/>bootsect.exe \/nt52 all \/force<br \/>\n  <br \/>exit<\/code> <\/li>\n<li>Make sure your Vista DVD is in the drive, and restart your computer. <\/li>\n<li>Making sure that your BIOS is set to boot from CD\/DVD (either by pressing F12 for a boot menu or entering the BIOS setup and giving the DVD Drive priority over the HDD, boot into the Vista DVD by pressing something on the keyboard when prompted. <\/li>\n<li>When you&#8217;re presented the screen with &#8220;Install Now&#8221; button in blue, don&#8217;t click it, rather click a tiny link in the bottom-left corner that will take you to an advanced options screen. <\/li>\n<li>From the advanced options screen select the drive with Vista on it, and then proceed to open a command prompt Window. <\/li>\n<li>Once the command prompt window is open, type the following in, exactly as I wrote it, but substituting C: for whatever letter your Vista partition is.<br \/>\n  <br \/><code>c:<br \/>\n  <br \/>cd \\<br \/>\n  <br \/>ren boot boot.vista<br \/>\n  <br \/>ren Windows Windows.vista<br \/>\n  <br \/>ren Users Users.vista<br \/>\n  <br \/>ren \"Program Files\" \"Program Files.vista\"<br \/>\n  <br \/>ren \"Config.Msi\" \"Config.Msi.vista\"<br \/>\n  <br \/>ren \"Documents and Settings\" \"Documents and Settings.vista\"<br \/>\n  <br \/>ren MSOCache MSOCache.vista<br \/>\n  <br \/>ren ProgramData ProgramData.vista<br \/>\n  <br \/>ren Recycled Recycled.vista<br \/>\n  <br \/>ren * *.vista<br \/>\n  <br \/>xcopy Windows.old\\* c:\\ \/E \/C \/I \/G \/H \/R \/K \/Y<br \/>\n  <br \/>ren Windows.old Windows.old.vista<br \/>\n  <br \/>exit <\/code><\/li>\n<li>With that, all Vista-related files have been given a .vista extension, so they don&#8217;t get in our way and conflict with XP, and so you can recover them later on if you realize you forgot something. Please note that the third-to-last step will take a long time; that&#8217;s perfectly normal. Whatever you do, don&#8217;t stop it! <\/li>\n<li>Close the Advanced Options screen and exit windows setup. <\/li>\n<li>Reboot your PC. <\/li>\n<li>If all went well, you should be back in XP, shocked at the relative ease of getting back, and ready to install Vista again &#8211; after properly backing up all your data of course! <\/li>\n<li>Optional: Open drive C: and delete all .vista files and folders if you want to reclaim some 8 to 10 GB of space &#8211; or more depending on your installl! <\/li>\n<\/ul>\n<p align=\"center\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\n<\/p>\n<p>These steps will stop you from booting into any other Vista installs you might have had &#8211; if you want to still boot Vista you&#8217;ll have to <em>not<\/em> rename the folder \\Boot\\ and <em>not<\/em> carry out the bootsect-related steps. Then after all that is done, you have to install and use VistaBootPRO to add XP to the Vista boot menu. Remember, more help can be had <a href=\"http:\/\/neosmart.net\/forums\/\" rel=\"follow\">on the forums<\/a>, and please, the blog is not support central, don&#8217;t abuse it by asking for help here! Good Luck!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So you just installed a shiny, new, &amp; legal, copy of Windows Vista. Somewhere along the way, you realized that your XP Partition wasn&#8217;t there anymore, and that you&#8217;ve lost every single program you&#8217;d installed over the past 6 years &hellip; <a href=\"https:\/\/neosmart.net\/blog\/so-you-overwrote-your-xp\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[405,78,53,404],"class_list":["post-188","post","type-post","status-publish","format-standard","hentry","category-software","tag-operating-system","tag-system-recovery","tag-vista","tag-xp"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4xDa-32","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":2,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":1976,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/188\/revisions\/1976"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}