media is write protected when using diskshadow.exe, start-bitstransfer powershell cmdlet

Posted by Aaron - Solution Evangelist on Server Fault See other posts from Server Fault or by Aaron - Solution Evangelist
Published on 2011-10-09T18:22:54Z Indexed on 2013/10/24 9:59 UTC
Read the original article Hit count: 259

Filed under:
|
|

i am trying to use the powershell start-bitstransfer cmdlets to transfer a file i have exposed using a vss snapshot (via diskshadow), but unfortunately i am receiving the following error:

Start-BitsTransfer : The media is write protected. At line:1 char:49 + Import-CSV c:\hda1\bits.txt | start-bitstransfer <<<< -transfertype upload -Authentication "Basic" -Credential $cred + CategoryInfo : InvalidOperation: (:) [Start-BitsTransfer], Exception + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits TransferCommand

we really want to utilize the bits endpoint we are attempting to transfer the files to. is there any other way we can go about this (aside from copying the files elsewhere first, unless we can copy one slice at a time and transfer that)?

© Server Fault or respective owner

Related posts about powershell

Related posts about vss