command line - How to clone or copy running windows 7 to child partition

07
2014-07
  • Questioner

    Is there anyway to clone partition to partition in windows 7 for free using some kind of command line tool so that i can set block size to increase speed

    i google and found some tools like dd for windows and dcfldd but when i use them it gives me error like access denied and permission denied i tried to login as administrator using: net user administrator on but its same problem

    dcfldd bs=4096 if=.\k: of=\.\m:

    while its working to create image file :

    dcfldd bs=4096 if=.\k: of=\.\M:\filename.ext

    some help needed on this will appreciate thanks

  • Answers
  • TMRW

    Use a third party partition clone/backup software.Unfortunately i dont use any such software but im sure a google search will turn up quite a few.If they support commandline or not is a whole other matter.Obviously you can not copy an OS while youre logged in but i assume you already know that.

    Also may i ask why you need commandline tool for this not GUI?


  • Related Question

    C++ program to make linux Ubuntu clone windows partition?
  • Questioner

    I want to write code in Dev C++ so that when i execute in Ubuntu 8 , it clones my windows 7 from D: partition to its child partitions E:,F: ... i have made my partitions of equal sizes and i have tested by manualy using ntfsclone ,so their will be no problem in cloning.

    this is part of kiosk system and i hope you understand what i am upto

    Some reference or help will be appreciated thanks


  • Related Answers
  • Ignacio Vazquez-Abrams

    I don't understand why you'd write your own when there are several freely available, from dd to g4u.

  • Jon Lasser

    A script around dd or g4u can do what you want, and will likely be more efficient than anything you write yourself, as these are highly optimized tools. (With dd, at least, you'll probably want to do some testing around optimal block size for copies in your environment.)

  • Nitrodist

    dd is going to save you a lot of time and headaches if you learn to use it. To me, it seems like you're trying to re-invent the wheel here. dd is the perfect solution for this.