This discussion covers creating a system image to back up your entire computer by using the command line.
Normally, creating a system image can be done by accessing Control Panel->Back-up and Restore Centre (Windows 7)->Create a system image. However, creating a system image can be done by using Command Prompt. To do this:
1. Press WINDOWS LOGO + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
2. Type the following command and press ENTER:
wbadmin start backup -backuptarget:x: -include:c: -allcritical -quiet
Make sure that you replace x: with the drive-letter that your hard drive uses. For example, you could type
wbadmin start backup -backuptarget:e: -include:c: -allcritical -quiet
and press ENTER if your external hard drive uses E: as a drive-letter. For another example, if your computer has two hard drives and your external hard drive is using F: as a drive-letter, you could type
wbadmin start backup -backuptarget:f: -include:c:,d: -allcritical -quiet
and press ENTER.