How to install and manage virtual CD/DVDs

There are number of existing programs that can emulate CD/DVDs and mount CD/DVD images, but since I wanted to install and configure them remotely I conducted a few more searches and stopped when I found MagicDisc.

    Requires Free Membership to View

I chose MagicDisc primarily for these three reasons:

  1. It is freeware (note not all options work in the free-of-charge version, but what is necessary to me, works).

  3. You can run setup in silent mode.


  4. It is possible to operate all necessary functions from a command line.

To install MagicDisc on my remote system I created a one line INSTALL-V-CD.bat:

setup_magicdisc.exe /S

To run this script on a remote system use psexec.exe. After MagicDisc has been installed, you'll need to copy the Mount ISO.exe to your remote computer. That way, you can manage the program from a command line. The miso.exe should be located in a directory that's registered in PATH.

If you want to create a virtual CD and assign to it system letter, use the following MOUNT-ISO.bat script:

@ECHO off
miso NULL -sdrv 0
miso NULL -sdrv 1

For /F "tokens=4 delims=(,) " %%a in ('miso NULL -vlist^|find "[1]"') do Set VCD=%%a

@ECHO select volume %VCD% > %TEMP%ChangeCDDrive.txt @ECHO assign letter=S >> %TEMP%ChangeCDDrive.txt @ECHO exit >> %TEMP%ChangeCDDrive.txt

Diskpart /S %TEMP%ChangeCDDrive.txt

Del %TEMP%ChangeCDDrive.txt /Q

And finally, to mount an ISO file, you'll need to execute the following command:

miso NULL -mnt S: "ISO-IMG.ISO"

Rating this tip below will let us know how useful it was to you. And if you have a Windows tip, timesaver or workaround to share, submit it to our tip contest. You could win a $150 gift certificate.

This was first published in July 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.