How to clone Windows from one HD to another (SSD)#

With Tools#

  • Acronius Diskdirector
  • Paragon Partition Manager
  • Clonezilla
  • Partimage
  • GParted (Freeware)
  • UBCD

Without Tools, you can use Windows itself#

If you see commands below, please run them as administrator.
See also CT "Umzugshilfe"

1. Create bootable USB stick #

This bootable stick is used to create an image from your disk and later to store it to the new disk. For Windows 8.1 the recovery tool claimed a stick with ~4 GB.

> Systemsteuerung > Wiederherstellung > Wiederherstellungslaufwerk erstellen
(en?: > Systems Control Panel > Recovery > Create recovery drive)

If the checkbox "Kopieren Sie die Wiederherstellungspartition vom PC auf das Wiederherstellungslaufwerk." is grayed out, then the recover drive does not exists. After "Weiter" you will then get the message "Auf diesem PC kann kein Wiederherstellungslaufwerk erstellt werden" You can check it with this

> C:\windows\system32>REAGENTC /INFO
Konfigurationsinformationen zur Windows-Wiederherstellungsumgebung (WinRE) und
zur Systemwiederherstellung:

    WinRE-Status:                          Disabled
    WinRE-Ort:
    Startkonfigurationsdaten-ID:           96321216-6fb3-11e3-842e-8c5116e2ec12
    Ort des Wiederherstellungsimages:
    Index des Wiederherstellungsimages:    0
    Ort des benutzerdefinierten Images:
    Index des benutzerdefinierten Images:  0

REAGENTC.EXE: Vorgang erfolgreich.
Solution:

1. Create any folder, e.g. C:\Win81-Recovery
2. Copy C:\support\install.wim from the Win 8-DVD to this new folder
3. Execute

> C:\windows\system32>REAGENTC /SetOSImage /Path C:\Win81-Recovery\INSTALL.WIM /Index 1
Verzeichnis festgelegt auf: \\?\GLOBALROOT\device\harddisk0\partition4\Win81-Recovery

REAGENTC.EXE: Vorgang erfolgreich.
4. Execute
C:\windows\system32>REAGENTC /ENABLE
REAGENTC.EXE: Vorgang erfolgreich.

Now you should be able to continue with creating a recovery drive on a stick. Do so and then disable it for the copy process.

> REAGENTC /DISABLE

You should check also, if anything is secured with

C:\windows\system32>CIPHER /U /N
Das System kann die angegebene Datei nicht finden.
If the system cannot find the file, it is OK!

2. Create image (copy HD)#

Boot from the USB stick and choose
Problembehandlung > Erweiterte Optionen > Eingabeaufforderung
(en?: Solve problem > Extended options > Command line)

Use "diskpart" to get an overview of you drives and volumes

> diskpart
DISKPART> list vol

  Volume ###  Bst  Bezeichnung  DS     Typ         Größe    Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     H                       DVD-ROM         0 B  Kein Medi
  Volume 1     I                       DVD-ROM         0 B  Kein Medi
  Volume 2     C   Windows      NTFS   Partition    237 GB  Fehlerfre  Startpar
  Volume 3         Recovery     NTFS   Partition    350 MB  Fehlerfre  Versteck
  Volume 4         SYSTEM       FAT32  Partition    100 MB  Fehlerfre  System
  Volume 5     F   Media        NTFS   Partition    937 GB  Fehlerfre
  Volume 6     G   Docs         NTFS   Partition    925 GB  Fehlerfre
  Volume 7     E   Store        NTFS   Partition   1863 GB  Fehlerfre
  Volume 8     D   Video        NTFS   Partition   2794 GB  Fehlerfre
  Volume 9     J                FAT32  Wechselmed    29 GB  Fehlerfre
  Volume 10    X   Extern       NTFS   Partition    232 GB  Fehlerfre
  
DISKPART> list disk

  Datenträger ###  Status         Größe    Frei     Dyn  GPT
  ---------------  -------------  -------  -------  ---  ---
  Datenträger 0    Online          238 GB      0 B        *
  Datenträger 1    Online         1863 GB  1024 KB        *
  Datenträger 2    Online         1863 GB      0 B
  Datenträger 3    Online         2794 GB      0 B        *
  Datenträger 4    Online           29 GB      0 B
  Datenträger 5    Online          232 GB      0 B
  
DISKPART> exit

I used this process to copy a smaller SSD to a new bigger one. In the example above you can see from the size and names that my disk of choice was "disk 0" and "volume C:". From the star in column "GPT" you see that I use a GPT (GUID Partition Table) partition table. Those partition tables have two additional hidden partitions (Volume 2+3 above). The other option is a MBR/BIOS partition table. Then you would have only one additional hidden partition. GPT seems to be common today (up-to-date).

Create image (make sure, you exit diskpart before!)

> dism /capture-image /imagefile:x:\image.wim /capturedir:C: /scratchdir:x: /name:"MyImage"
X: would be the destination. In my case it was an external drive, but you can use any other additional drive/folder.
Note: In the article above it is explained how to create a skip-list, if you do not want to copy everything.

You can check, if the image contains a file with this

> dism /list-image /imagefile:x:\image.wim /index:1 | find /i "notepad.exe"
With the image (wim file) you need to specify the index always, because it may contain multiple. On disk the files took ~60GB which resulted in a ~24GB image file.

3. Store image on new disk#

Change drive physically and boot again from stick. Go to the command line again and prepare the new drive.
Note: Make sure you select the right disk in the first diskpart command!

GPT:

> diskpart
sel disk 0
clean
convert gpt
create partition primary size=350
format quick fs=ntfs label="Recovery"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
create partition efi size=100
format quick fs=fat32 label="System"
assign
create partition msr size=128
create partition primary 
format quick fs=ntfs label="Windows"
assign

MBR:

> diskpart
sel disk 0
clean
convert mbr
create partition primary size=350 id=27
active
format quick fs=ntfs label="Boot"
assign
create partition primary
format quick fs=ntfs label="Windows"
assign

You can capture the commands above into any file and run it in batch mode with

diskpart /s <file>

Now copy the image back to disk:

> dism /apply-image /applydir:c: /imagefile:x:\image.wim /scratchdir:x: /index:1

Place boot files

GPT:
> bcdboot c:\windows /s z: /f all /l de-de
MBR:
> bcdboot c:\windows /s z: /f bios /l de-de
z: is a placeholder for the "System" (or "Boot") partition. This partition is assigned temporarily with the diskpart preparations commands above. Please check with "list vol" which one to choose.

Done. You should now be able to boot from the new disk and you should not see any difference.

Optionally: Enable recovery again

> REAGENTC /ENABLE