Pin Me

How to Dual Boot Windows 7 and Vista

written by: Lamar Stonecypher•edited by: J. F. Amprimoz•updated: 9/5/2009

Interested in trying the the Windows 7 beta version on your Vista PC? Vista includes a "Shrink Tool" that can re-size your Vista partition to make room for Windows 7. This can get complicated, but in this detailed step-by-step guide we cover shrinking the Vista partition and installing Windows 7.

  • slide 1 of 48

    Obtain the Beta Version

    First, you’ll need to have downloaded a Windows 7 beta version and have obtained an activation code for it. As this was written, the starting point for the official download was here:

    The beta is available in both 32-bit and 64-bit versions. Which to install? It’s always safe to install the same version as your previously installed Vista. To find out, right-click “Computer" and select "Properties." The dialog will show you both the name of your processor and the operating system type.

    You may wish to upgrade to the 64-bit version if you have a capable processor. If you’re not sure that your CPU can handle a 64-bit OS, search Google with a phrase like “Is Intel Duo 2 Core 64-bit?" (It is, as is the AMD 64x2 dual-core processor.) The main advantage of the 64-bit version is that it can use all of 4 GB of RAM.

  • slide 2 of 48

    Create the Bootable Install DVD

    Once you’ve decided on the version to download, you’ll need to burn the image (.iso file) to DVD. You can do this with Nero ROM or Roxio if you have it. If not, an excellent free alternative is ImgBurn.

  • slide 3 of 48

    Backup Your Hard Drive

    I strongly suggest that you back up your computer before doing this! With the price of external hard drive media having fallen steeply in the last few years, making whole disk backups is more available and reasonable than before. And, if you have Vista Ultimate, Enterprise, or Business, the Vista Backup Center already offers whole-disk backups.

    If you have one of the Home versions of Vista, you’ll need a third-party application to provide a full-disk backup. Acronis True Image Home 2009 (reviewed here) can do so admirably.

  • slide 4 of 48

    Shrinking an Existing Partition

    Once you have your hard drive backed up, you can create the free space for Windows 7. To do this, press the Windows key and type in “Administrative Tools." Then press Enter. (Or, alternatively, go to Control Panel, System and Maintenance, and select Administrative Tools in the list.) Then click “Computer Management" and clear the prompt if you have User Access Control (UAC) active on your PC. You should then see this dialog. (Click the image to enlarge.)

  • slide 5 of 48

    Control Panel Administrative Tools 

  • slide 6 of 48

    In the Computer Management dialog, click “Disk Management" in the left-hand pane.

  • slide 7 of 48

    Administrative Tools Disk Management 

  • slide 8 of 48

    The current system requirements for Windows 7 include a 1 Ghz CPU, 1 GB of RAM, and 16 GB of drive space. If you are planning on extensively testing Windows 7, running an antivirus program, and installing and testing some applications, I suggest that you make your partition somewhat larger, based on how much space you can afford to give up – don't cut into needed and already used space.

    My 500GB hard drive has a small (apprx. 7 GB) "Recovery" partition and a 456.9 GB C partition. (The partitions don't actually add up to 500 GB because of different conventions on how big a GB actually is.) Clicking “Computer" shows me that I have 227 GB free space. I plan to shrink that by 50 GB for the new partition. In this case, it’s slightly complicated by the Recovery partition on the hard drive. I don’t want to change or lose this, so I may have to alter the drive letter assignments. It’s also possible that I’ll have to repair the master boot record (MBR) before the PC will allow me to boot back into Vista.

    I have a real Vista installation disk that I’m holding in reserve – just in case I need it.

  • slide 9 of 48

    Unexpected Results from the Shrink Tool

    And here we run into the first problem. The Shrink tool is not offering to free enough space. Despite having 227 GB free space on the drive…

  • slide 10 of 48

    C Drive Free Space 

  • slide 11 of 48

    … the Shrink Tool is only offering …

  • slide 12 of 48

    Shrink Volume Problem 

  • slide 13 of 48

    … 407 MB, which is far less than the 50 GB that I want. The dialog says, “Size of available shrink space can be restricted if snapshots or page files are enabled on the volume."

  • slide 14 of 48

    “Volume Snapshot Service" is what powers “Previous Versions" and “Restore Points" in Vista. Of course it’s enabled. Page files are virtual memory, which allows Windows to use some hard drive space as a memory swap file, and it too, of course, is enabled.

    When you look at this, you may even find that Vista shows zero shrink space. This means that files have been written near or at the end of the partition, preventing any shrinkage.

    In either case, a smaller offer than we wanted, or no offer at all, the next step is to find out how the files are arranged on the hard drive.

  • slide 15 of 48

    Next: Visualizing the Drive Space, Cleaning the Hard Drive, and Disabling Some Vista Services

  • slide 16 of 48
    In this second page of How to Dual Boot Windows 7 and Vista , we show the reader how to use Auslogic's freeware Defragmenter to visualize the hard drive and identify any problems that may be stopping the Vista Shrinking Tool from offering up space for a new partition for Windows 7. Then we try disabling the paging file and turning off the Vista snapshot services, as well as cleaning up the hard drive using the Vista Hard Drive Cleanup Wizard. These were steps that the Vista Shrink Tool itself suggested, but they were not entirely successful. We needed a more powerful defragmenting tool. shrink vista partition, Auslogic Defragmenter, visualize file system Vista, disable file paging, disable vista snapshots
  • slide 17 of 48

    Using Auslogic to Visualize the Drive Space

    A freeware application called Auslogic Defragmenter can do this for us. (You can find a Bright Hub review of Auslogic here.)

    Ater its first run, Auslogic exposed the problem. Look at the following image.

    Auslogic Defragmenter Running 

    Files are spread out all over the hard drive, including at the end where the free space needs to be.

  • slide 18 of 48

    And here is a decision point. If the legend tells you that system files or the file allocation table (MFT) are written at the end of the drive space, disabling the page file and volume snapshots will not help. Auslogic and other freeware defragmenters will not move system files or the MFT. You’ll need to skip ahead to the third page and find the PerfectDisk 2008 section. (PerfectDisk can move the MFT and system files.)

    Conversely, if Auslogic shows some free space at the end of the partition, it’s worth trying what the Shrink tool suggested.

    If you have reached this point and have discovered that you have the same problem, I do not suggest that you continue unless you have created a full hard drive backup using one of the tools previously suggested. Also, if you do not understand any of the following steps, stop now and find somebody who is more computer literate (a teenager in the house?) to help you with this.

    Mistakes in this process could actually make your PC unbootable, so please read, understand fully what's involved, and be careful. You have been warned!

  • slide 19 of 48

    Cleaning the Hard Drive

    Still with us?

    Actually, the page file and Volume Snapshot Service can be deleted. To delete the page file (and hibernation files if you’re using a laptop), the easiest method is to first use Vista’s “Disk Cleanup" feature.

    Press the Windows key and enter “Disk Cleanup." Then you’ll see this dialog.

  • slide 20 of 48

    Start Disk Cleanup 

  • slide 21 of 48

    Select “Files for all users on this PC" and clear the UAC prompt. Next select the drive you’re working with, which is probably your C: drive.

  • slide 22 of 48

    Disk Cleanup Scanning 

  • slide 23 of 48

    After running the scan, the “Disk Cleanup" dialog will appear. This lists each item you can remove. Selecting an item changes the description at the bottom.

  • slide 24 of 48

    Disk Cleanup Dialog 

  • slide 25 of 48

    I see that the largest things in the list are hibernation at 2.87 GB and temporary files at 4.31 GB.Vista integrates hibernation as a backup for the low-power sleep function, so it's good to have enabled. Note that if you’re using a laptop, you should disable hibernation before electing to delete the hibernation file. (Click the “Power Options" button to access these settings.)

    I elected to delete downloaded program files, temporary Internet files, hibernation files, and Recycle Bin contents.

    Next, under the More Options tab and under “System Restore and Shadow Copies," click the “Clean Up" button. The next dialog will ask you if you want to delete all the restore points except the most recent. If your PC has been running well, I suggest you select Delete here. Then click “OK" and confirm the action to make the cleanup wizard proceed.

    How’d it go? The C: drive now has 236 GB free. That sounds about right.

  • slide 26 of 48

    Disabling System Restore and the Page File

    Now we want to temporarily turn off System Restore. Right-click “Computer" and select “Properties." In the System dialog, click “System protection" and clear the UAC prompt. Under “Automatic restore points," uncheck the C: drive, select “Turn System Restore Off" in the popup dialog, and then click OK.

  • slide 27 of 48

    In the same System dialog (right-click Computer, Properties, then System Properties) under the Advanced tab, click the Settings button under “Performance." Then click the “Advanced" tab and note and record the already allocated memory. Here’s it’s showing 3241 MB for all drives.

  • slide 28 of 48

    System Properties Performance 

  • slide 29 of 48

    Then click the “Change" button under “Virtual Memory." Uncheck “Automatically manage paging file for all drives" and then click “No paging file."

  • slide 30 of 48

    Virtual Memory Paging File 

  • slide 31 of 48

    Then click OK, and the system will advise you that a restart is needed.

    By the way, don’t be surprised if your system responds differently or sluggishly at restart. Unless the PC is maxed out on memory, the absence of the paging file may be felt when you start a few applications.

  • slide 32 of 48

    After cleaning the hard drive, deleting the page file, and turning off the volume snapshot service, it's time time to go back to the Shrink tool area (enter System, then Computer Management, and click Disk Management in the left-hand pane), and see what the Shrink tool is now offering.

    If it's still not enough, it's certainly worth running Auslogic again, but we found that Auslogic can be somewhat indiscriminate about where it places the unfragmented files. That's also why we made it a practice to check the Shrink tool before running Auslogic again.

  • slide 33 of 48

    And this gets us to another branch point. If you now find that you have adequate free space, skip ahead to the Creating and Formatting the Partition section on the next page. If you still need to free up more space, proceed to the Perfect Disk 2008 section, which comes next.

  • slide 34 of 48

    Next: Using PerfectDisk 2008 to Move the MFT and System Files Inboard and Creating and Formatting the New Partition

  • slide 35 of 48
    In this third page of How to Dual Boot Windows 7 and Vista, we found our more powerful defragmenting tool. It was PerfectDisk 2008 by Raxco Software, Inc. PerfectDisk worked perfectly. It was able to move the system files and MFT (file allocation) area away from the end of the partition. PerfectDisk has a boot mode that runs the defragmentation before Windows starts. We found this to work successfully and were able to clear up a large space (236 GB) to make available for our new Windows 7 partition. The C: partition was then shrunk by the Vista Shrink Tool. We also used the Shrink Tool to format the new partition. We found PerfectDisk to be an excellent tool for the job. shrink vista partition, perfectdisk 2008, format partition in Vista, shrink partition in Vista, mft, move mft
  • slide 36 of 48

    Perfect Disk 2008

    Perfect Disk 2008 is a commercial application produced by Raxco Software, Inc. It has the ability to run a defragmentation at reboot, and this can move system files and the file allocation table. A thirty-day trial of Perfect Disk is available by registering your email address and name at their website.

    Here’s what the hard drive looked like after running Perfect Disk once inside Windows and once at reboot.

    PerfectDisk 2008 

  • slide 37 of 48

    The Shrink tool then offered me the full 236 GB as shrink space.

  • slide 38 of 48

    At this point, I was quite pleased with PerfectDisk. I wasn’t as pleased with Vista’s Active Directory Service, however. It is only concerned about where a few system files are placed and leaves the hard drive otherwise disorganized. Putting the MFT in the denser, linear outer area of the drive platters may make sense for reading, but it also makes it impossible for shrinking.

    To save you some time, here’s how I suggest you proceed with PerfectDisk. First, run the application, click your C: drive, and then click the “Analyze" button at the top. After the analysis run is complete, click “SmartPlacement" at top left, and then click “Entire Drive" to start the defragmentation pass. This will take some time, so you may want to plan it for idle time or take a bike ride or do some cross-country skiing (seasonally dependent) while it completes.

    Perfect Disk ran for a hour and thirty minutes on the first defrag of my 500 GB hard drive.

    About using Perfect Disk to get a better shrink of a hard drive, Raxco has some specific advice: (1) Turn off System Restore, (2) run a “SmartPlacement" or “Consolidate Free Space" defragmentation, (3) perform a boot time defrag, (4) shrink drive, (5) repeat steps two to four until the drive won’t shrink anymore.

    Perfect Disk has a nice, complicated explanation in the Help file about using the Vista Group Policy editor and an “Active Directory Group Policy Object" to set up rules for active directory management. It takes a while to understand that none of this is needed for a single-user PC. Instead, start from the Defragmentation panel (main screen) and click “Perfect Disk Settings." Under the “General" heading, select “Let PerfectDisk manage all the layout.ini files (Windows XP/Vista only)." Also, if you’d like to prevent Perfect Disk from running some background services that, in my opinion, are not that useful, you can also select “Close button behavior – Exit PerfectDisk 2008." Then click “OK" to close the dialog.

    Back on the main screen, click the selection box under the “Boot time" column for Drive C:

    And that’s it. When you reboot the PC, PerfectDisk will run at restart and move the system files and MFT sections inboard on the partition.

    I only had to run through this loop once. The result was as in the image above, and I had plenty of space to create my new partition for Windows 7.

  • slide 39 of 48
  • slide 40 of 48

    Creating and Formatting the Partition

    After everything that was involved in getting to this point, actually creating and formatting the partition is sort of anticlimactic. Right-click the new free space and select “New Simple Volume." This will start up the “New Simple Volume Wizard." Name your new volume if you wish, and click OK. The wizard will then close, and you’ll wonder what is going on. Vista formats the new drive in the background, and, based on the size of the new partition, can take some time to complete. Look at the computer management window and you’ll see the word “Formatting" and a percentage of completion while the format is in progress.

    When this finishes, you’ll be ready to reboot the PC and start from the Windows 7 DVD. Note that you may need to go into your computer’s BIOS setup to change the boot order so that the CD/DVD drive comes before the hard drive. Also, there may be an option to set up a key for boot selection. This is a good precaution in case anything goes wrong and prevents you from booting back into Vista.

  • slide 41 of 48

    And here's the new partition - 50 GB creatively named "Win 7."

    New Partition 

  • slide 42 of 48

    Next: Fixing What We Broke in Vista, Installing Windows 7, Dual Booting, Installation Notes, and our Conclusions

  • slide 43 of 48
    In this final page of the article, we look at cleaning up what we disabled in Vista when trying to shrink Vista's drive partitition for Windows 7. This included enabling hibernation, restarting the snapshot services, and enabling the paging, or virtual memory, system. Then we rebooted and started the Windows 7 installer from the DVD drive. We included screen shots of the start of the Windows 7 installation and what the screen looks like at first run. Then we mentioned some notes that we made during the installation, including how to find antivirus trials for Windows 7. We finish up by showing what the dual boot startup screen looks like when it's offering to start Windows Vista or Windows 7. how to install Windows 7, antivirus for Windows 7, windows 7 install notes, dual boot windows 7 and vista
  • slide 44 of 48

    Fixing Up Vista

    Before installing Windows 7, we want to re-enable Vista features that we turned off. Based on what you had to do to get here, some or all of these may apply.

    Enable Hibernation – Vista will remind you at startup that hibernation is not enabled. The easiest way to re-enable hibernation is to start an elevated command prompt (go to Start, All Programs, Accessories, right-click Command Prompt, and select “Run as administrator." Then type in

    powercfg /hibernate on

    Then type “exit."

    Enable Paging – Right-click Computer and select Properties. Click Advanced System Settings and clear the UAC prompt. Under Performance, click Settings. Under the Advanced tab and under Virtual Memory, click the Change button. Select “Automatically manage paging file size for all drives." Then click OK. Click OK again to close the Performance Options dialog.

    Enable Restore Points – Back in System Properties, click the System Protection tab. Click the check mark beside the C: drive and then click Apply.

    Startup and Recovery – While you have the System Properties dialog open, under the Advanced tab and Startup and Recovery, click the Settings button. Check “Time to display list of operating systems" and set it for twenty to thirty seconds.

  • slide 45 of 48

    Installing Windows 7 Beta

    Now we have arrived. It’s time to put the Windows 7 installation DVD in the drive and restart the computer. Be watchful for a message like “Press any key to start from DVD or CD…"

    Here’s what the first install screen looks like.

    Windows 7 Install 

    And here’s Windows 7.

    Windows 7 

  • slide 46 of 48

    Some Installation Notes

    Windows 7 beta does not give you a lot of notification about when to remove the DVD. When you see the message that Windows 7 is preparing to restart, it’s safe to remove the DVD.

    The next restart will go automatically go back to the Windows 7 installation to complete.

    During the setup process, Windows 7 will want to know in which “group" to place the main Internet connection. If you select “Home" and have a wireless radio (Wi-Fi), it will then give you a group password. This automates connections somewhat, but only to other PCs running the Windows 7 beta.

    Windows 7 will soon inform you that your computer is insecure. Click the link in that dialog to open Windows Explorer and go to the Security page at Microsoft. At the bottom of the page you’ll find links to antivirus trials by Symantec, AVG, and Kaspersky. (I selected Kaspersky.)

    After the first restart, your PC should display this boot menu.

  • slide 47 of 48

    Boot Menu 

  • slide 48 of 48


    And there you have it – how to dual boot Windows Vista and Windows 7. Hopefully it won’t be quite so adventuresome for you as it was for me. In case it was, though, I hope you found this article helpful. Thank you for reading it, and thank you for visiting Bright Hub.


More Info

Popular Pages