Tag Archives: Optical

Auto Copy CD’s, DVD’s, & Optical Media To Disk

Some time ago I decided to backup (to disk) and eliminate my massive optical media collection, but there just wasn’t any good software out there that would copy discs quickly and in a somewhat automated fashion with a single optical drive setup. I wrote the PowerShell script at the end of this post to copy discs with RoboCopy quickly and efficiently. You will need to adjust some of the settings in the USER VARIABLES section such as which drive to monitor, time to run, etc. After the “User Vars” match your config, run the script. It will wait for a disc to be inserted, immediately begin copying to your specified location, then once the disc has been copied, the drive will eject the disc (if it can.) Pull that disc out, insert a new one, and the process will repeat for as long as you have specified!

Prerequisites:

  1. Run on a Windows machine with PowerShell installed, patched, and updated correctly
  2. Have robocopy in your path. Download and install this if you haven’t already. A recommended version is currently available on my site here.
    1. PowerShell’s ExecutionPolicy is set correctly
    2. Run: “Get-ExecutionPolicy” to get the current policy. Likely will be set to Restricted
    3. Run: “Set-ExecutionPolicy RemoteSigned”
    4. Select Yes with the Pop-up prompt
    5. If that doesn’t work…
      1. Run: “Set-ExecutionPolicy -ExecutionPolicy Unrestricted”
        Please research and understand the implications and potential security risks by running in this mode.
  3. I also recommend having PowerGUI Script Editor installed and running (note Dell owns PowerGUI now…)
    1. http://en.community.dell.com/techcenter/powergui/m/bits/20439049
  4. You can Download the Script Here.

Happy copying!
–Mike