Takes the offline volume to the online state. This command works on volumes that have failed, are failing, or are in failed redundancy state.
A volume must be selected for the online volume command to succeed. Use the select volume command to select a volume and shift the focus to it.
This command will fails if it's used on a read-only disk.
online volume [noerr]
|noerr||For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without this parameter, an error causes DiskPart to exit with an error code.|
To take the volume with focus online, type: