How to suppress windows explorer error "The Volume Does Not Contain a Recognized File System" in C#? RRS feed

  • Question

  • When I plugin a USB drive, windows explorer throws "The Volume Does Not Contain a Recognized File System" error. This happens during the program execution as the program searches for the drive. Is there a way to suppress this warning in C#?
    Thursday, October 10, 2019 9:29 PM


  • Hi Ranjini,

    Thank you for posting here.

    Based on my search, it is an error instead of a warning. Therefore, I suggest that you could try to find the solution to solve the error instead of suppressing it.

    Besides, I think your problem is hard for us to solve it by using c#. Because it seems that there is no corresponding class library or API to do it.

    Finally, I suggest that you could look for direct ways to solve it. 

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • Marked as answer by Ranjini Rengan Friday, November 22, 2019 4:09 PM
    Friday, October 11, 2019 2:03 AM