title: Initialize and partition disk - how to prevent "you need to format disk" message from appearing?
body: <p>I'm trying to initialize, partition and format a disk from application. OS is Windows Server 2008 R2. It doesn't really matter which method do I use for these tasks, but let's assume I'm using DeviceIoControl API.</p>
  
  <p>As soon as application initializes and creates a partition Windows would pop a message box saying "You need to format disk...</p>
  
  <p><img src="https://i.stack.imgur.com/RXaAn.png" alt="enter image description here">"</p>
  
  <p>So, even though my application immediately formats this disk, message box would still be there, and user would be confused, and can actually format it again. </p>
  
  <p>Is there way to prevent Windows from popping that message box? </p>