Duplicating Windows 95 Installation to a New Hard Disk

ID: Q166172


The information in this article applies to:


SUMMARY

This article describes how to swap your current primary boot hard disk (usually drive C) with a different hard disk and retain your current files and system configuration in the process. This primarily involves installing Windows 95 on a new hard disk and ensuring proper identification of the new hardware. This process uses Microsoft Backup to back up and restore files and configuration and registry settings.

Note that the method described in this article cannot be used to copy Windows 95 installations to multiple computers. Microsoft only supports the use of the standard Setup procedure as described in the Windows 95 product documentation for each computer on which Windows 95 is installed.

WARNING: Before proceeding, fully review this article. Because of the many steps involved, use this article only if you feel you have sufficient experience to correctly perform all required steps. If not, the safest approach is to back up your data files, run Windows 95 Setup on your new hard disk, reinstall all of your programs from original program CD-ROMs or disks, and then restore your data from backup.

If after reviewing this article you choose to proceed, carefully execute each set of steps as written.

IMPORTANT: This article applies only to the replacement of the hard disk. Do not use this article if other hardware changes are being made. Improper use of this article can result in the loss of all data on your hard disk. Microsoft is responsible only for the information pertaining to Microsoft software installation detailed in this article. For correct procedures and safeguards when handling hardware, refer to the documentation included with your hardware, or contact your hardware vendor. Improper handling of hardware can be dangerous and can cause permanent damage to your computer. If you are unsure how to handle hardware, we recommend that you have a factory-qualified hardware technician perform the upgrade.

Notes


MORE INFORMATION

Disks and Information Required

Choosing a Backup Method

The procedures outlined in this article require Microsoft Backup, which is supplied with Windows 95. If Backup is not currently installed, see the instructions in the "Installing Windows 95 on Your New Hard Disk" section below.

Each of the following methods uses different hardware. Choose one of the following two methods:

Method 1: Using Backup with a Tape Drive

This method requires compatible tape drive hardware. For more information, start Microsoft Backup from the System Tools menu, click Help, and refer to the "Tape drives that are compatible with Backup" topic.

WARNING: When you are using Backup as described below, manually selecting drive C instead of using the Full System Backup set does not back up vital parts of your system (such as registry files). If you do not see the following message after Step 5 in the following procedure, you have not performed these steps correctly and you will need to restart the process:

   Microsoft Backup is now making a copy of the settings in your system
   registry. This will take a few minutes. 
Before starting Backup, perform the following steps:
  1. In My Computer, click Options on the View menu.


  2. On the View tab, make sure the Show All Files option is enabled.


  3. Rename the following files:
    
          File           New name
          ---------------------------
          System.1st     System.1sx
          Suhdlog.dat    Suhdlog.dax
          Setuplog.txt   Setuplog.txx
          Detlog.txt     Detlog.txx
          Bootlog.txt    Bootlog.txx 
    NOTE: These files must be renamed, not copied.





After you follow steps 1-3 above, use the following steps to back up your hard disk:
  1. Click the Start button, point to Programs, point to Accessories, point to System Tools, and then click Backup.


  2. Click OK to close preliminary informational dialog boxes.


  3. Click the Backup tab.


  4. On the File menu, click Open File Set.


  5. Click Full System Backup, and then click Open.


  6. Click Next Step, select the destination tape drive, and then click Start Backup.

    NOTE: If Backup does not automatically detect your tape drive, see the following article in the Microsoft Knowledge Base:
    Q130946 Troubleshooting Windows 95 Backup


  7. Type a name for the backup set, and then click OK. Record the name for later use.


When Backup is finished backing up your files, click OK to close the program, then perform the following steps:
  1. Shut down Windows 95 and turn off your computer.


  2. Detach the original hard disk from your computer, then attach the new hard disk in its place.

    For hardware setup and configuration information, see the documentation included with your hardware or contact your hardware vendor.


  3. When the new hard disk is set up correctly, go to the "Preparing Your New Hard Disk" section below.


Method 2: Using Backup with Your New Hard Disk

WARNING: Do not use method 2 if your computer requires disk overlay software to access your hard disks.

Before starting Backup, calculate the estimated minimum disk space required on your new hard disk as follows:

   (total space in use on current hard disk) + ((total space in use on
   current hard disk) * 0.66) 
For example, if your current hard disk has 400 MB total used space, the estimated minimum disk space required on the new disk would be:

   400 MB + (400 MB * 0.66) = 664 MB 
The result equals the approximate size of a full system backup. The ratio (in this case 3:2) is only an estimate and varies from drive to drive depending on the file types being backed up.

The new hard disk must have at least the estimated minimum disk space available.

If your current hard disk is compressed, substitute 1.0 for 0.66 in your calculation. In the example above, the required space would become 800 MB.

If you have inadequate storage space on your new hard disk and you cannot remove any files or data, use method 1 instead. Note that the Temporary Internet Files folder may contain files that can be safely removed.

Install the New Hard Disk as a Secondary Drive:

Before running Backup, you need to install and configure your new hard disk. For information about how to install and configure your hardware, refer to the documentation that came with your hard disk or contact your hardware vendor.

After your new hard disk is configured, follow these steps:
  1. Follow the instructions in the "Preparing Your New Hard Disk Using FDISK and FORMAT" section below.


  2. When formatting is finished, follow the Backup instructions in the "Method 1" section above. Modify the instructions in step 6 to back up your files to the new hard disk (usually drive D).


  3. When Backup is finished, shut down Windows 95, turn off your computer, and remove the original hard disk from the computer, leaving the new disk in place.


  4. Boot with the Windows 95 Startup disk.


  5. Run FDISK to set the primary partition on the new disk as the active partition. For information about using FDISK, see the following section.


  6. Restart your computer to a command prompt.


  7. Proceed to the "Installing Windows 95 on Your New Hard Disk" section below.


Preparing Your New Hard Disk Using FDISK and FORMAT

WARNING: If your computer requires disk overlay software to access your hard disks, apply FDISK and FORMAT as described below only if advised to do so in the documentation provided by your overlay software manufacturer. The installation of the overlay software may provide functionality equal to that described in this section.

Most new hard disks have not been partitioned or formatted. If your new hard disk requires this basic configuration, use the following tools to prepare it for file installation.

Partition Your New Hard Disk with FDISK:

WARNING: Before proceeding, verify that the disk you are about to partition is the new hard disk and contains no important data. If you are unsure, stop immediately.

For information about using FDISK to partition your hard disk, see the "Repartitioning Your Hard Disk" section in following article in the Microsoft Knowledge Base:
Q106423 Repartitioning Your Hard Disk to Upgrade to 6.0 or 6.2
NOTE: You can use the Windows 95 Startup DISK in place of the MS-DOS 6.x disks mentioned in the article.

Using FORMAT to Prepare the File System:

After the new drive is partitioned, run the FORMAT tool as follow:
  1. Insert the Windows 95 Startup disk in drive A and then restart your computer.


  2. At the command prompt, type the following line.

    WARNING: Verify that the hard disk you are formatting is the new empty hard disk.
    format c: /s


  3. Press Y, and then press ENTER.


  4. When formatting is finished, type a volume label or leave it blank, and then press ENTER.


  5. Remove the disk from drive A and restart your computer to a command prompt.


Next, install Windows 95 on the new hard disk.

Installing Windows 95 on Your New Hard Disk

For Windows Setup information, refer to the "Setting Up Windows 95" section of the booklet included with your Windows 95 CD-ROM or disks. If Windows 95 came preinstalled on your computer, refer to your manufacturer-supplied documentation.

When you are setting up Windows 95, verify that the folder in which you are installing Windows 95 has the same name as the original folder (typically C:\Windows).

NOTE: The Setup procedure requires access to your original Windows 95 disks or CD-ROM or to the server-based-Setup shared installation of Windows 95. To install from a CD-ROM, the real-mode CD-ROM drivers must be loaded in the Autoexec.bat and Config.sys files. Refer to the documentation included with your CD-ROM drive for driver installation instructions.

When you are prompted during Setup, choose a typical installation.

After Windows 95 Setup is finished, install the Microsoft Backup program as follows:
  1. In Control Panel, double-click Add/Remove Programs.


  2. On the Windows Setup tab, click Disk Tools, and then click Details.


  3. Click the Backup check box to select it, and then click OK.


Next, restore the files from your backup file set.

Restoring Files and Folders from Backup

Before you restore your files and folders, verify that the following options are enabled in Backup: To access these options, start Backup, click Options on the Settings menu, and then click the Restore tab.

To restore your files and folders, follow these steps:
  1. Start Backup.


  2. Click OK in the initial informational dialog boxes.


  3. Click the Restore tab.


  4. For method 1, click your tape drive. For method 2, click drive C in the Restore From pane.


  5. Click the correct backup set, and then click Next Step.


  6. In the Select Files From Backup Set pane, use the appropriate method:
    
        - For method 1, double-click the tape drive icon, then click the
          check box in front of the icon.
    
        - For method 2, double-click the backup set name, then click the
          check box in front of the backup set name. Clear the check box for
          the secondary hard disk (usually drive D) in the Contents pane. 


  7. Click the Start Restore button.


WARNING: If you are restoring files that were compressed on the original drive to an uncompressed drive, the new hard disk must have at least two times the storage capacity of the original hard disk. The exact ratio may vary depending on the file types being restored.

Backup restores the registry entries when the program is finishing. The following text appears in a dialog box near the end of the process:

   Microsoft Backup is now restoring the settings in your system
   registry. This may take a few minutes. Do not shut down your computer
   until the registry is fully restored, or your computer will not work
   properly. 

Restarting Windows 95 on Your New Hard Disk

When Backup has finished restoring your files, you will be notified that you must restart the computer. Close all dialog boxes, quit Backup, and restart your computer.

NOTE: If after rebooting you receive the message "Invalid System Disk. Replace the disk, and then press any key," follow these steps:
  1. Insert your Windows 95 Startup disk in drive A and press any key.


  2. At the command prompt, type:
    a:\sys c:


  3. Remove the disk from drive A and restart your computer.





Your computer is now ready to use with the same files and programs that were on your previous hard disk.

Deleting the Backup File on the Hard Disk (Method 2 Only)

When you have verified that all files and programs have been properly restored to their previous functionality, you can delete the file created by Backup in the root folder. The file name is the name given in step 7 of the backup instructions in method 1 and is displayed with a .qic extension if Windows Explorer is set to show file extensions.

Additional Information

Using the procedures in this article to back up and restore files to your new hard disk protects your current configuration and long file names. If you chose to back up your previous operating system during your initial upgrade to Windows 95, you retain the ability to uninstall Windows 95.

The procedures listed in this article for swapping a hard disk containing Windows 95 on drive C with a new hard disk are the only procedures supported by Microsoft. Other methods may cause system instability or data loss.

Additional query words: move moving duplicate


Keywords          : kbenv diskmem win95 
Version           : WINDOWS:95
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: May 13, 1999