Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM ⚠️ RUN ALL COMMANDS BELOW AS ADMINISTRATOR ⚠️
- REM Detach the disk from Windows
- REM Run an elevated command prompt (as Administrator), then run “diskpart”. Once in diskpart, issue these commands.
- list disk
- select disk #
- offline disk
- attribute disk clear readonly
- rescan
- REM Create Disk Image from whole drive. Goto D:\Program Files\Oracle\VirtualBox (as Administrator). Select the Disk Number as appears in the DISKPART command or as seen in Computer Management (msc) > Disk Management
- VBoxManage internalcommands createrawvmdk -filename "T:\Disk2.vmdk" -rawdisk "\\.\PhysicalDrive2"
- REM Now attach the disk to VirtualBox and scan with SpinRite
- ▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️
- REM List partitions (to get the partition number)
- VBoxManage internalcommands listpartitions -rawdisk "\\.\PhysicalDrive0"
- REM Create Disk Image from a partition
- VBoxManage internalcommands createrawvmdk -filename "G:\Disk0_S.vmdk" -rawdisk "\\.\PhysicalDrive0" -partitions 3
- https://romaimperator.com/?p=29
- https://blog.nerdimmunity.com/2012/06/25/spinrite-vmware-and-windows-7/
Advertisement
Add Comment
Please, Sign In to add comment