Disk Partitions and Volumes without opening Explorer (Diskpart or PowerShell)

~OSD~ 2,201 Reputation points
2020-12-17T09:45:39.143+00:00

Hi,

I am creating disk layout using diskpart (and checked PowerShell as well) but as soon as I am creating a partition and pop-up appears to offer the disk format (like this).

49075-image.png

Can we avoid this popup /disable etc.? Newly created volume should be formated via diskpart or PS.

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | Storage high availability | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2020-12-17T16:09:39.15+00:00

    This isn't a PowerShell problem. Does this help? diskpart-scripts-and-examples

    0 comments No comments

  2. Anonymous
    2020-12-18T03:43:32.567+00:00

    Hi,

    You see this error because the boot sector of the partition is invalid. As this is newly created you can run format quick in diskpart to format this partition.

    Best Regards,
    Ian Xue

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.