I have a Windows 7 computer that won't boot in regular mode, so I'm booting in Safe Mode to make a backup.
wbadmin start backup
does not work in Safe Mode (I have been unable to find out why, as of yet - enabling and running the VSS service didn't fix it).
The replacement harddrive is smaller than the failing one, so my next option is to shrink the volume before cloning it to the new drive. Guess what: shrinking also doesn't work.
The shrink commands I used were:
diskpart select volume 1 (my C: drive) shrink desired=102400 (the number of MBs you're trying to REMOVE from your partition)
I get the error:
DiskPart has encountered an error: This service cannot be started in Safe Mode See the System Event Log for more information.
See my answer for the solution.