DISKPART utility


DiskPart is a command-line disk partitioning utility available in Microsoft operating systems. You can use it to view, create, delete, and modify the computer's disk partitions.

Step-by-step guide

Usage:

  1. diskpart> san
  2. SAN policy : Offline shared (may caused the drive to be erased on reboot)
  3. diskpart> san policy=OnlineALL (keeps disks from being accidentally erased by the system