Category: HowTo

short tutorials

How to … Make a bootable clone hard disk in Windows 7

Disclaimer  : it is a short story of the long story from 

Step 1 : Read  and confirm you have administrative rights to run programs.

Step 2 : Download tools

                          a) Disk2VHD from SysInternals,

                          b) VHD Resizer,

                          c) BcdVHD, .

                         d) Original Windows 7 disc with bootsect.exe

Step 3 : Run Disk2VHD and create a vhd file


Step 4 : Attach the VHD  file in the DiskManagement, make online, delete raw volumes and shrink hard disk. Detach VHD.

Step 5: Run VHD Resizer with selected VHD.


Step 6: Run BcdVHD in order to add this VHD to the boot configuration.


Run bootsect on VHD as mentioned in 

Step 7: Restart and confirm you successfully boot. Run %SystemDrive% on vhd. Note the drive

Step 8: Attach the registry of the file as mentioned in 

Step 9 : Restart

Step 10: Congratulations, you have a full VHD system to boot that is running now!

How To … Put a new project on codeplex in 10 steps

Step 1 : Have a project, compile to binary(exe, dll or other)  and found a name for it ( for us is disk2vhd )

Step 2 : Goto , register(or sign in) , then click on “Create project” . There you will put the name of the project (disk2vhd for us) and a description for it. You will be redirected to the page of the project.

Step 3:  For putting the source code , you must download the Codeplex Client from  – click on download. Unzip the file , if necessary.

Step 4: (optional) put the folder cpc.exe in your path

Step 5 : Go to the project folder and run the following commands

                              cpc co <projectname> 

                              cpc add <folder name> /e

                              cpc add <file name>

                              cpc commit /m “<your comment>”

             Now verify that in the source code for your project on codeplex ( for me it is ) you have at least one change set.

Step 6: Ensure that the people that want to try your project can have the binary sources without problems .

Go to downloads , click new release (for me it was ) and put the name and description.

Also put the development status , show to public and recomended release to stable, yes and yes.


Click Save.

Step 7 : Choose a license .

Step 8 : Edit the description of you project

Step 9 : Publish your project (see the link in the first line of the web page)

Step 10 : You’re done! Congratulations!