Saturday, October 24, 2015

windows - diskpart cannot delete D: partition

When trying to delete D: partition (C: containing system, select volume 1 + delete volume override) I get error from diskpart:


Delete is not allowed on the current boot, system, pagefile,crashdump or hibernation volume.

While the partition is represented as Healthy (no system, active, page file, etc. indicators in disk management console) I don't care too much for the reason. Is there any way to delete this partition from command line while windows is running (using diskpart or any other tool)? I don't care for the change to be visible immediately as next command in my script is shutdown. The only thing I am trying to accomplish here is to prevent the need to boot in Linux to do a simple operation of removing a partition.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...