O&O DiskImage 16 Product manual

O&O DiskImage 16 
Command prompt

US$ 49.95
Buy now

O&O DiskImage also has a command line version available. You can use it from the Windows command prompt (cmd). The O&O DiskImage command line makes it possible to manage disks, partitions/volumes, and images by use of commands.

Please start the command prompt (Tools -> Command prompt). The graphical user interface of O&O DiskImage will not be shown during a start from the command line. First, navigate in the command line (cmd) to the installation folder of O&O DiskImage. You will then be able to use the parameters listed in the chart.\

Example:
C:\Program Files\OO Software\DiskImage>oodicmdc.exe (/create image /source S: /destination E:\Sample.org)
Note
Please note that when entering the parameter in the command line, no manual line break may be included in the command sequence. Otherwise, the command will not be executed as intended. The line breaks in the examples are caused by the document’s formatting.

Structure of a command
"Command" |Subcommand| "Parameter"
Example: /Help /?

Example:
Creating an image of Drive "S".
oodicmdc.exe /create image /source S: /destination E:\Sample.omg

Validating the image "E:Sample.omg".
oodicmdc.exe /validate /source E:Sample.omg

Restoring the image of drive “S“ onto drive "T". All data on drive "T" can be overwritten/deleted.
oodicmdc.exe /restore image /image E:\Sample.omg /source S: /destination T: /OverwriteTargetData

The command line interpreter from O&O DiskImage can process the following commands and parameters:

Note
Values can be additionally defined by the use of " and '.

Example:
/format "O&O DiskImage"

The command line interpreter from O&O DiskImage can process the following commands and parameters:

Command Explanation
/create image

    /source "Parameter"
    /destination "Parameter" (optional)
    /password "Parameter" (force dismount) (optional)
    /comment "Parameter" (optional)
    /exclude "Parameter" (optional)
    /type "Parameter" (optional)
    /max "Parameter" (optional)
    /format (optional)
    /VirtualDiskType (optional)
Creation of a sector-based image.

Drive letter x:
Imaging path/image name
Automatic encryption
Comment
File name including path and/or wildcards
used sector or forensic, default used sector
Maximum size of the target file in Mbytes
Format of the image file: "O&O DiskImage", "VHD Format" or "VHDX Format", default "O&O DiskImage". Example: /format "O&O DiskImage"
Type of the according formats: "dynamic hard disk" or "fixed hard disk", default "dynamic hard disk" Example: /VirtualDiskType "dynamic hard disk"

/create image increment Creation of an incremental sector-based image
/restore image

    /image "Parameter"
    /source "Parameter"
    /destination "Parameter" (optional)
    /DecryptPassword "Parameter" (optional)
    /FillEmptyBlocksNull (optional)
    /WriteHarddiskDrive (optional)
    /CreateVolumeLikeSource (optional)
    /IgnoreReadErrors (optional)
    /SetBootPartitionBootable (optional)
    /ClearTargetDrive (optional)
    /OverwriteTargetData (optional)
    /IgnoreDataModification (optional)
Restoration of a sector-based image

Imaging path/image name
Drive letter x: or DiskNo #
imaging path/image name
For an encrypted image
Fill empty sectors with '0' bytes
Open device over the disk and not over the volume
Create the target volume without inquiry just like the source volume
Ignore read error without inquiry
Mark a bootable partition as bootable without inquiry
Delete the layout on the target without inquiry
Overwrite data on the target without inquiry
Report data modifications but do not stop

/convert image

    /image "Parameter"
    /source "Parameter"
    /DecryptPassword "Parameter"
    /destination "Parameter"
    /destinationPassword "Parameter"
    /comment "Parameter" (optinal)
    /max "Parameter" (optinal)
    /format (optional)
    /VirtualDiskType (optional)
Conversion of a sector-based image

Imaging path/image name
Drive letter x: or DiskNo #
For an encrypted image
imaging path/image name
Automatic encryption
Comment
Maximum size of the target file in Mbytes
Format of the image file: "O&O DiskImage", "VHD Format" or "VHDX Format", default "O&O DiskImage". Example: /format "O&O DiskImage"
Type of the according formats: "dynamic hard disk" or "fixed hard disk", default "dynamic hard disk" Example: /VirtualDiskType "dynamic hard disk"

/create backup

    /source "Parameter"
    /destination "Parameter"
    /password "Parameter" (optinal)
    /dismount (force dismount) (optinal)
    /comment "Parameter" (optinal)
    /exclude "Parameter" (optinal)
    /max "Parameter" (optinal)
    /IgnoreReadErrors (optinal)

Creation of a file-based image

File name including path and/or wildcards
Imaging path/image name
Automatic encryption
Log off for protection from data modification, default vss or snapshot
Comment
File name including path and/or wildcards
Maximum size of the target file in Mbytes
Ignore read errors without inquiry

/restore backup

    /source "Parameter"
    /destination "Parameter"
    /DecryptPassword "Parameter"
    /IgnoreReadErrors (optional)
    /OverwriteTargetData (optional)
    /IgnoreDataModification (optional)
Restoration of a file-based image

Imaging path/image name
Complete path
For an encrypted image
Ignore read errors without inquiry
Overwrite data on the target without inquiry
Report data modifications but don’t stop

/validate

    /source "Parameter"
    /DecryptPassword "Parameter"
    /AllSplits (optional)
Validation of a sector-based or file-based image

Imaging path/image name
For an encrypted image
Take all splits into consideration for split image files

/mount image

    /source "Parameter"
    /image "Parameter"
    /DecryptPassword "Parameter"
    /driveletter "Parameter"
Mounting a sector-based image as a virtual disk

Drive letter x: or DiskNo #
Imaging path/image name
For an encrypted image
Drive letter x:

/unmount image

    /source "Parameter"
Unmounting a sector-based image

Drive letter x: or DiskNo #

/duplicate

    /source "Parameter"
    /dismount (force dismount) (optional)
    /exclude "Parameter" (optional)
    /type "Parameter" (optional)
    /destination "Parameter"
    /FillEmptyBlocksNull (optional)
    /WriteHarddiskDrive (optional)
    /CreateVolumeLikeSource (optional)
    /IgnoreReadErrors (optional)
    /SetBootPartitionBootable (optional)
    /ClearTargetDrive (optional)
    /OverwriteTargetData (optional)
Duplicating a drive or a disk

Drive letter x: or DiskNo #
Log off for protections from data modification, default vss or snapshot
File name including path and/or wildcards
used sector or forensic, default used sector
Drive letter x: or DiskNo #
Fill empty sectors with '0' bytes
Open the device over the disk and not over the volume
Create the target volume just like the source without inquiry
Ignore read error without inquiry
Mark a bootable partition as bootable without inquiry
Delete layout on the target without inquiry
Overwrite data on the target without inquiry

/add license

    /name "Parameter"
    /company "Parameter"
    /serial "Parameter"
Product registration

Your name
Your company
The serial number

/stop End all running actions
/creating bootable medium

    /recovery environment (optional)
    /ADK (optional)
    /AIK (optional)
    /installation media (optional)
    /boot device (optional)
    /ISO path (optional)
Creating a bootable medium

Windows® Restoration environment
Windows® Assessment and Deployment Kit (ADK)
Windows® Automated Installation Kit (AIK)
Windows® Installation media
CD/DVD burner or USB stick
Memory path of the ISO file