Cloning machines
Cloning a drive to a .qcow2 or .raw so you can boot it as a VM
A completely cloned disk can be executed via qemu and associated with a virt-manager image.
- https://virtuallyfun.com/wordpress/2018/01/15/converting-a-physical-disk-to-a-virtual-disk-with-qemus-qemu-img-on-windows/
- copy from physical device to a qcow2 or raw file (qemu-img is orders of magnitude slower than just performing a dd (which is not sparce of course))
qemu-img convert -p -O raw /dev/sda /srv/vm/mywindowsinstall/disk.raw qemu-img resize /srv/vm/mywindowsinstall/disk.raw +50G
- running the clone (for a 64 bit Intel, 8G RAM, 8 vcpus):
qemu-system-x86_64 -drive file=disk.raw,format=raw,index=0,media=disk -soundhw es1370 -vga cirrus -m 8G -smp 8
- this is what I used for a Windows 7 image
qemu-system-x86_64 -drive file=w7.raw,format=raw,index=0,media=disk -soundhw es1370 -vga cirrus -m 16G -smp cpus=8,cores=8
See also
- https://cloudbase.it/qemu-img-windows/
- https://cloud.google.com/compute/docs/import/import-existing-image
- https://superuser.com/questions/1389103/windows-10-uefi-physical-to-kvm-libvirt-virtual
- https://superuser.com/questions/342719/how-to-boot-a-physical-windows-partition-with-qemu
- https://virtualchimp.wordpress.com/2016/03/09/creating-and-installing-windows-10-image-using-qemu/
- https://serverfault.com/questions/827485/clone-windows-10-to-new-disk
- https://serverfault.com/questions/4906/using-dd-for-disk-cloning
- https://raywoodcockslatest.wordpress.com/2018/08/08/disk2vhd2kvm/
- https://www.makeuseof.com/tag/create-a-virtual-machine-image-of-your-existing-hard-drive-windows/
- http://www.drivesnapshot.de/en/index.htm
- https://www.avg.com/en/signal/how-to-clone-a-hard-drive
- https://jianmin.dev/2020/jul/19/boot-your-windows-partition-from-linux-using-kvm/
P2V
- See also P2V - Physical to Virtual
Windows system cloning
application and data cloning
freedl?_ga=2.255008392.1435962519.1609737024-228812321.1609737024
- laplink
- pcmover free laplink https://store.laplink.com/59/purl-20200317-page-PCmExfree-
- pcmover pro https://pcmover-10.laplink.com/index.html#pro
- documentation https://download.laplink.com/documentation/pdf/pcmover/pcmexppu/10/PCmover_10_Express_PU_UG_ENG.pdf
- https://ppc.laplink.com/specialpages/aus-nz-unbranded-pcmover/?utm_source=google&utm_medium=ppc
- https://www.microsoft.com/en-us%2Fwindows%2Ftransfer-your-data
- https://www.easeus.com/pc-transfer/copy-installed-software.html
- free (for 2 applications and 500GB of data) https://www.easeus.com/free-pc-transfer-software/
- zinstall http://www.zinstall.com/products/zinstall-winwin
WET
This program only transfers data and program settings; programs must be reinstalled on the new system.
- Windows Easy Transfer (Windows 7 and Windows 8) https://www.sony.com/electronics/support/articles/00022385
From a answers.microsoft.com forum https://answers.microsoft.com/en-us/windows/forum/windows_10-files-winpc/windows-easy-transfer-from-7-to-10/af892c88-ea3a-42c6-a8c6-b6b617648a7d:
I have used Windows Easy Transfer to back up my old Windows 7 PC's data to an external hdd. (I also did a drag and drop copy). Will I be able to restore the Easy Transfer data to my new Windows 10 pc?
If your old computer is 64 bit you can easily use Windows Easy Transfer to move your Windows data to your new Windows 10 computer with an external hard drive. Copy the C:Windows\System32\Migwiz folder from the old Windows 7 computer on to the drive. Connect the external drive to your new Windows 10 computer. Run "Migwiz.Exe" from the "Migwiz" folder you copied from the Windows 7 computer and continue with the Easy Transfer Wizard. Enjoy Windows 10. I have tested this procedure on a 64-Bit Windows 10 PC copying data from an old Vista 64-Bit PC and a Windows 7 PC 32 and 64-Bit to a Windows 8 PC 64-Bit with success. The new Windows Edge browser will ask you if you want to import your Favorites from Internet Explorer. Notes: A Windows Easy Transfer's "Migwiz" folder taken from a 32-Bit PC will not run on a 64-Bit PC and vice-versa. However, the 64-Bit version will accept the Easy Transfer file created from a 32-Bit version. If you are running 32-Bit on your old PC, run the Easy Transfer anyways and try downloading, installing and running Windows Easy Transfer on the new PC from Microsoft here: http://www.microsoft.com/en-us/download/details.aspx?id=20483 Hope this helps, Sean
Clone App
CloneApp is a free portable and simple backup tool which could save you a lot of time when migrating your software or reinstalling Windows.
There's nothing like a fresh install of Windows to clear your mind, but it comes at a cost: you have to set everything up again, just the way you like it.
You don't have to regularly reinstall Windows just to keep things clean, but that doesn't mean you'll never have to do it again. Maybe you just bought or built a new computer, or maybe you didn't take care of your computer as well as you thought and you have to do a clean install.
Maybe you just want to wipe the slate clean for that new, fresh feeling.
A clean slate is nice, but it also means you're going to spend the rest of the weekend setting up all your old programs, settings, and system tweaks, half of which you've probably forgotten because you set them up so long ago.
If you don’t want to do a full backup and restore, CloneApp backs up settings for the most popular Windows programs so you can restore them later.
Run the program as an administrator, and a list of supported applications appear on the left. There are plenty of big names: 7-Zip, Adobe Photoshop, Adobe Reader, BlueStacks, Classic Shell, Gimp, Google Chrome, Google Earth, IrfanView, JDownloader, Microsoft Office 2010/2013/2016, Vivaldi Browser, VLC Media Player, and a pile of Windows settings (Favorites, Contacts, Firewall and Network folder settings, Start Menu and more).
The idea is that you select the applications you'd like to back up (or click "Select Installed" to run a full backup), then click "Backup" and watch as the files, folders and Registry keys are backed up.
By default the data is saved to a CloneApp folder. If you're saving the data as a backup then you may want to change that - click "Settings" for the relevant setting.
You'll quickly figure out how to restore your settings (select the target applications and click "Restore").
If you like the idea, CloneApp can be extended with Plug-ins, plain text files which define exactly which files, folders and Registry keys the program should preserve.
CloneApp supports about 250 different Windows programs. The complete list can be viewed here.
It requires Windows 10, 8.1, 8, 7 or Vista, including both 32-bit and 64-bit versions.
Choose one of the download links below
- manual.pdf
- CloneApp (from this site)
- CloneApp (from GitHub)
CloneApp-UA
CloneApp UA is a free program for Microsoft's Windows 10 operating system that users and administrators may use to back up or restore settings of UWP applications on Windows 10 devices.
The program supports the same functionality as the classic CloneApp for Desktop but for Microsoft Store applications, aka Universal Windows Platform (UWP) apps.
First thing you need to do is click on the scan link to scan the current system for UWP applications. All UWP apps found are listed in the middle column after the scan. Each application is listed with its name and a checkbox to select it.
You may select one, some or all apps individually, or select all/none with a click on the select item in the left column.
Apps are backed up to the Backup folder in the main program folder; ideal for portable use. A click on restore restores any application that is backed up, an option to restore the settings of individual applications does not seem to exist currently.
CloneApp UA supports also repair functionality next to that. Select one or multiple apps, and then the repair option to display available options.
Repair supports four operations currently:
- Normal Reset
- Hard Reset
- Clear App Cache
- Clear App Store Cache
A normal reset clears the settings file, a hard reset settings files, app data, preferences, and sign-in details. System apps and installed Microsoft Store apps can be reset. CloneApp UA requires Windows 10, 8.1, 8, including both 32-bit and 64-bit versions.
Downloads:
File Transfer
Livecd
Windows Hive registry
- https://www.howtogeek.com/370022/windows-registry-demystified-what-you-can-do-with-it/
- https://superuser.com/questions/111311/where-are-registry-files-stored-in-windows
- https://en.wikipedia.org/wiki/Windows_Registry
- description https://docs.microsoft.com/en-us/troubleshoot/windows-server/performance/windows-registry-advanced-users
- https://docs.microsoft.com/en-us/windows/win32/sysinfo/registry-hives
- https://4sysops.com/archives/convert-reg-to-xml-to-import-registry-key-into-group-policy-preferences/
- https://pypi.org/project/regipy/
references
- See also
- https://www.techradar.com/au/best/best-disk-cloning-software
- of course good old dd, dc3dd and qemu-img are the best to use on Linux - see Backups#image_backups
- https://www.goodfirms.co/blog/useful-free-open-source-disk-imaging-software
- https://www.cyberciti.biz/open-source/linux-based-disk-cloning-imaging-software/
- https://www.cyberciti.biz/datacenter/5-awesome-open-source-cloning-software/
- https://www.osforensics.com/tools/create-disk-images.html
- https://github.com/builtbybel/CloneApp
- http://www.mirinsoft.com/ca
- https://au.pcmag.com/how-to/58411/how-to-clone-a-hard-drive
- live imaging https://www.r-tt.com/drive-image/?GGLAW300
- driveimage-xml http://www.runtime.org/driveimage-xml.htm

