Hello,
I blocked the acccess to usb by device control policy.
After blocking USB Device through the policy group, the application will not be able to read or write USB hardware.
Formatting the file system is a write operation. If the group policy prohibits reading and writing, formatting is not possible. In other words, the group policy that prohibits USB and formatting are mutually exclusive, and only one of them can be run.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.